This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
edit "ICMPv4 echo" | |
set category "Network Services" | |
set protocol ICMP | |
set color 15 | |
set icmptype 8 | |
unset icmpcode | |
next | |
edit "ICMPv4 echo-reply" | |
set category "Network Services" | |
set protocol ICMP |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .bash_profile | |
# Get the aliases and functions | |
if [ -f ~/.bashrc ]; then | |
. ~/.bashrc | |
fi | |
# User specific environment and startup programs | |
PATH=$PATH:$HOME/bin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias showdisks='diskutil list' | |
alias showdiskio="sudo iotop -P -C 5 10" | |
alias showlogs='multitail -i /var/log/system.log -i /var/log/org.openzfsonosx.zed.log' | |
alias newfinder='open ./' | |
alias showip="ifconfig -a | grep -o 'inet6\? \(addr:\)\?\s\?\(\(\([0-9]\+\.\)\{3\}[0-9]\+\)\|[a-fA-F0-9:]\+\)' | awk '{ sub(/inet6? (addr:)? ?/, \"\"); print }'" | |
alias showpubip="dig +short myip.opendns.com @resolver1.opendns.com" | |
alias showcpu="sysctl -n machdep.cpu.brand_string" | |
alias flushspotlight="sudo mdutil -avE" | |
alias flushdns="sudo killall -HUP mDNSResponder" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# clients to /32 host | |
local 10.0.20.239 | |
port 3100 | |
proto udp | |
dev tun | |
ca /etc/openvpn/keys/ca.crt | |
cert /etc/openvpn/keys/server.crt | |
key /etc/openvpn/keys/server.key |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ASA# show ipv6 interface Inside | |
Inside is up, line protocol is up | |
IPv6 is enabled, link-local address is fe80::213:c4ff:fe80:b4ec | |
Global unicast address(es): | |
xxxx:xxx:xx:xxxx::1, subnet is xxxx:xxx:xx:xxxx::::/64 | |
Joined group address(es): | |
ff02::1 | |
ff02::2 | |
ff02::1:ff00:1 | |
ff02::1:ff80:b4ec |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# append to client.opvpn | |
<ca> | |
-----BEGIN CERTIFICATE----- | |
blah blah blah | |
-----END CERTIFICATE----- | |
</ca> | |
<cert> | |
-----BEGIN CERTIFICATE----- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# firsrun: | |
# install xcode-cli-tools | |
# xcode-select --install | |
# install homebrew | |
# ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# install caskroom | |
# brew install caskroom/cask/brew-cask | |
# update/install: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ipv4 addr | |
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3} | |
colours=magenta | |
====== | |
# ipv6 addr | |
regexp=(\b[0-9a-fA-F]{1,4}(\:\:?[0-9a-fA-F]{1,4})+|::1) | |
colours=magenta | |
====== | |
# netmask-hex | |
regexp=\s[0-9a-fA-F]+$ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ipv4 addr | |
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3} | |
colours=italic blue | |
====== | |
# ipv6 addr | |
regexp=(\b[0-9a-fA-F]{1,4}(\:\:?[0-9a-fA-F]{1,4})+|::1) | |
colours=italic blue | |
====== | |
# hwaddr | |
regexp=(\d|[a-f]){2}(\:(\d|[a-f]){2}){5} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# verbs | |
regexp=(<verb>|list|merge|rename|resize|split|info|eject|verify|erase|repair|Filesystems|Volume|Optical|Partitions?|partition|Erase|secure|zero|random|listFilesystems|activity|mountDisk|mount|Disk|reformat|enableJournal|disableJournal|moveJournal|enableOwnership|disableOwnership|coreStorage|appleRAID) | |
colours=green | |
===== | |
# options | |
regexp=(<options>) | |
colours=yellow | |
===== | |
# headers | |
regexp=(TYPE.NAME|SIZE|IDENTIFIER) |