The repo contains drupal core, some vagrant configuration for local development, a db starting place, and some scripts. The repo root looks like:
- drupal
-- sites/default/settings.php
- db
- scripts
- vagrant
sqlite3 ~/Library/Application\ Support/Skype/<YOUR SKYPENAME>/main.db "SELECT author,timestamp, body_xml FROM messages WHERE dialog_partner = '<OTHER SKYPENAME>'" > ~/Desktop/skype_chat_history.txt |
#!/usr/bin/env ruby | |
#JSON Parsing example | |
require "rubygems" | |
require "json" | |
# i don't like this at all.... | |
photopath = "#{ARGV[0]}" | |
# running from within the repository | |
thecommand ="./openphoto -p -X POST -h YOUR_OPENPHOTO_HOST -e /photo/upload.json -F 'photo=@" + photopath + "' -F 'tags=REPLACEME,WITHTAGS' " |
# The word you want to add to, and the optional number to add to it. | |
mongo --eval "var theword='solve', thecount=5" write.js |
canvas.on('touchend', function(options) { | |
console.log('touch'); | |
// only if we're not selecting other objects | |
if (typeof options.target !== 'object' ) { | |
drawRect(options.e.clientX, options.e.clientY, 'start'); | |
} | |
}); |
<div class="messages error"> | |
<h2 class="element-invisible">Error message</h2> | |
Whoops. Something went wrong with field collections JP503-AU-C, JP503-AU-VT</div> |
<!-- initially taken from http://courses.ucmo.edu/check/browser_compatibility.html --> | |
<style> | |
td { border: 1px solid black; padding: 4px;} | |
td.pass { background-color: green;} | |
td.fail {background-color: red;} | |
</style> |
# taken directly from http://blogs.isostech.com/git/howto-use-vagrant-git-importing-sandbox/ | |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
$script = <<SCRIPT | |
echo I am provisioning... | |
date > /etc/vagrant_provisioned_at | |
sudo apt-get -q -y install git-core git-svn ruby rubygems subversion | |
sudo gem install svn2git --source http://gemcutter.org | |
SCRIPT | |
Vagrant.configure("2") do |config| |
mkdir /var/selenium | |
cd /var/selenium | |
# get selenium jar | |
wget http://selenium-release.storage.googleapis.com/2.46/selenium-server-stan dalone-2.46.0.jar | |
#install java | |
sudo apt-get install openjdk-7-jre-headless. | |
# get headless browser | |
sudo apt-get install firefox. |
Verifying that +drnikki is my blockchain ID. https://onename.com/drnikki |