Skip to content

Instantly share code, notes, and snippets.


Sam Faragalla sam2de

  • North Carolina
View GitHub Profile
View gist:468078828b5ef661a98ff09702bac11e
for t in $(drush sqlq "show tables"); do echo $(drush sqlq "SELECT '$t' n, COUNT(*) r FROM $t") ; done
View Macos commands
# Add MS code to path
cat << EOF >> ~/.zshrc
# Add Visual Studio Code (code)
export PATH="/Applications/Visual Studio$PATH"
# Add Sublime text to path
ln -s "/Applications/Sublime" /usr/local/bin/sublime
sam2de / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console