Skip to content

Instantly share code, notes, and snippets.

View benpixel's full-sized avatar

Benjamin Alijagić benpixel

View GitHub Profile

Twitter Followers in Google Docs Spreadsheet

Example 1. Followers

=IMPORTXML("", "(//dd[@class='count']//a)[1]")

Example 2. Following

=IMPORTXML("", "(//dd[@class='count']//a)[2]")

Keybase proof

I hereby claim:

  • I am benjam1n on github.
  • I am benjam1n ( on keybase.
  • I have a public key ASAVlGJc6xjxz5w38vLEGbplIrXDmhBNzRI44HMu8YmWIAo

To claim this, I am signing this object:

# ENVs
# Gemfile
# gem 'heroku-api'
# config/initializers/heroku.rb
unless (app_name = ENV["HEROKU_APP_NAME"]).nil?
require 'heroku-api'
set -o errexit
# Author: David Underhill
# Script to permanently delete files/folders from your git repository. To use
# it, cd to your repository's root and then run the script with a list of paths
# you want to delete, e.g., git-delete-history path1 path2
# or e.g. $ bash config/initializers/secret_token.rb
if [ $# -eq 0 ]; then