notes to myself
1. See commits git log 2. setup vimdiff as default diff tool for git git config –global diff.tool vimdiff 3. disable question prompt for vimdiff git config –global diff.tool.prompt false 4. See diff between commits git difftool <commit-sha> — <file-path>
Generate passphrase: wpa_passphrase <myssid> <mypassword> > /etc/wpa_supplicant.conf Edit /etc/network/interfaces: auto <wireless-interface> iface <wireless-interface> inet static address 10.1.1.10 netmask 255.255.255.0 wireless-essid <myssid> gateway 10.1.1.1 post-up wpa_supplicant wpa_supplicant -B -Dnl80211 -i<wireless-interface> -c/etc/wpa_supplicant.conf post-down killall -q wpa_supplicant dns-nameservers 22.214.171.124 Here you need to find out your wifi adapter’s driver using wpa_supplicant –help. In my case it is nl80211… Read more
If you want to make an SSH connection to a host which is reachable only with multiple ssh connections you may use below command to connect it easly. (Note that older versions of ssh do not have this option but you can use some workarounds to do the same (proxy command and etc.)) Assume that… Read more
auto eth0 iface eth0 inet static address 192.168.0.101 gateway 192.168.0.1 netmask 255.255.255.0 dns–nameservers 126.96.36.199 188.8.131.52
Follow My Blog
Get new content delivered directly to your inbox.