Keybase proof

I hereby claim:

  • I am emjayess on github.
  • I am mattso ( on keybase.
  • I have a public key ASAbqQc40ZibE2hPbrsmrGPfIiIxd1EfQL2zIHSr80PsEgo

To claim this, I am signing this object:

View 1.Enter-pyspark-shell
macarooni:geekout emjayess$ pyspark
Python 2.7.5 (default, Mar 9 2014, 22:15:05)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Spark assembly has been built with Hive, including Datanucleus jars on classpath
Using Spark's default log4j profile: org/apache/spark/
15/02/03 09:18:31 INFO SecurityManager: Changing view acls to: emjayess
15/02/03 09:18:31 INFO SecurityManager: Changing modify acls to: emjayess
15/02/03 09:18:31 INFO SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users with view permissions: Set(emjayess); users with modify permissions: Set(emjayess)
15/02/03 09:18:32 INFO Slf4jLogger: Slf4jLogger started

The Skills of Leonard da Vinci

via Letters of Note

My Most Illustrious Lord,

Having now sufficiently seen and considered the achievements of all those who count themselves masters and artificers of instruments of war, and having noted that the invention and performance of the said instruments is in no way different from that in common usage, I shall endeavour, while intending no discredit to anyone else, to make myself understood to Your Excellency for the purpose of unfolding to you my secrets, and thereafter offering them at your complete disposal, and when the time is right bringing into effective operation all those things which are in part briefly listed below:

  1. I have plans for very light, strong and easily portable bridges with which to pursue and, on some occasions, flee the enemy, and others, sturdy and indestructible either by fire or in battle, easy and convenient to lift and place in position. Also means of burning and destroy
View gist:95555934ebf1ed6a8162
This file has been truncated, but you can view the full file.
emjayess$ npm search express
npm info it worked if it ends with ok
npm verb cli [ 'node', '/usr/local/bin/npm', 'search', 'express' ]
npm info using npm@2.1.6
npm info using node@v0.10.33
npm verb node symlink /usr/local/bin/node
npm verb mapToRegistry name -/all
npm verb mapToRegistry uri
npm info get /Users/emjayess/.npm/
View drupal-cache-tables
#mysql> show tables from `mydrupaldb` where `tables_in_mydrupaldb` like '%cache%';
mysql> show tables like '%cache%'; # this works, for just a single pattern match
| Tables_in_mydrupaldb |
| cache |
| cache_admin_menu |
| cache_apachesolr |
| cache_block |
| cache_bootstrap |
View gist:1be85587bc9d2a5ebc17
from:(pfizer OR deliciouspfizer OR justpfizer OR specialpfizer OR strongpfizer OR openpfizer OR crazypfizer OR enjoypfizer OR pillbypfizer OR oz OR droz OR docoz OR obama OR "presidential health" OR studentloans OR ellen OR cheap_viagra OR housepayment OR auto-warranty OR term-life)
# clear the lock file
rm /path/to/drupal/site/lock
# grant (back) roles and permissions that are capable of content 'writes'
drush @site perm-revoke --roles="contributor" --permissions="post comments,create answer content,create feed content"
View curl-couchdb-upgrade
$ curl
View step-1-which-versions-grails
# find the versions available in homebrew
# optionally
brew up
## ... homebrew refreshes all package information
brew versions grails
## 2.2.2 git checkout a3fdc1f /usr/local/Library/Formula/grails.rb
## 2.2.1 git checkout aa5c440 /usr/local/Library/Formula/grails.rb
## 2.2.0 git checkout 5c5b964 /usr/local/Library/Formula/grails.rb
mysql --database=mydb --user=myuser -e "show tables" -s |
egrep "^mytableprefix_" |
xargs -I "@@" echo mysql --database=mydb --user=myuser -e "DROP TABLE @@";