This file contains 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
netstat -n| awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}' |
This file contains 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
#!/bin/bash | |
find ~/.dotfiles/ -maxdepth 1 -name '.*' ! -iname ".*.sw*" ! -path ~/.dotfiles/ ! -path ~/.dotfiles/.git ! -path ~/.dotfiles/dotfiles_install -printf "%f:%p\n" | while IFS=":" read FNAME FPATH | |
do | |
ln -svf "$FPATH" $HOME/$FNAME | |
done |
This file contains 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
/* Descripton: A basic plugin to fetch all albums and associated photos from a Facebook page | |
* Usage: Simply reference the script and instantiate it | |
* Example instantiaion: | |
$(window).load(function () { | |
albumFetcher({ | |
fbId: "137248356344058", | |
container: ".photos" | |
}); |