Skip to content

Instantly share code, notes, and snippets.

@yvs2014
yvs2014 / pp3d_2025-05-11.md
Created May 11, 2025 16:19
pingpath / ping3d

pingpath

Network diagnostic tool based on parsing iputils ping output with functionality of traceroute.
No need set‐root‐uid or raw‐socket‐perms itself to run due to being a wrapper for ping.
Inspired by ncurses look of mtr and written in GTK4.

What it displays:

  • Hop hostnames taken by DNS back resolving
  • Whois lookup data received by querying RIPE whois
  • Statistics calculated on data from iputils-ping output
@yvs2014
yvs2014 / https_to_ssh
Last active June 19, 2023 21:37 — forked from FigBug/https_to_ssh
Convert git repo from https to ssh
#/bin/bash
#-- Script to automate https://help.github.com/articles/why-is-git-always-asking-for-my-password
REPO_URL=`git remote -v | grep -m1 '^origin' | sed -Ene's#.*(https://[^[:space:]]*).*#\1#p'`
if [ -z "$REPO_URL" ]; then
echo "-- ERROR: Could not identify Repo url."
echo " It is possible this repo is already using SSH instead of HTTPS."
exit
fi