I hereby claim:
- I am mattmacleod on github.
- I am matthewmacleod (https://keybase.io/matthewmacleod) on keybase.
- I have a public key ASAm5rns1bijIvk9HunBdn3KowL-t4JPLt2ZakPG2hB2Wgo
To claim this, I am signing this object:
--- src/compat/compat.h 2021-08-10 19:15:01.000000000 +0100 | |
+++ src/compat/compat.h 2021-08-10 19:15:02.000000000 +0100 | |
@@ -39,10 +39,6 @@ | |
#error "WireGuard requires Linux >= 3.10" | |
#endif | |
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0) | |
-#error "WireGuard has been merged into Linux >= 5.6 and therefore this compatibility module is no longer required." | |
-#endif | |
- |
I hereby claim:
To claim this, I am signing this object:
function set_iterm2_background_color() { | |
/usr/bin/osascript <<EOF | |
tell application "iTerm" | |
tell the current terminal | |
tell the current session | |
set background color to $@ | |
end tell | |
end tell | |
end tell |
function myip() { | |
internalip=`ifconfig | ruby -e "print STDIN.readlines.select { |a| a =~ /inet / }.reject { |a| a =~ /127|172/ }.map { |a| a.split(' ')[1] }.join(', ')"` | |
externalip=`curl -s http://jsonip.com | jq -r .ip | tr -d '\n'` | |
echo "Internal: $internalip" | |
echo "External: $externalip" | |
echo -n $externalip | pbcopy | |
} |