Skip to content

Instantly share code, notes, and snippets.

Nikki Stevens drnikki

Block or report user

Report or block drnikki

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:1f0cd72d69988e785f23
canvas.on('touchend', function(options) {
// only if we're not selecting other objects
if (typeof !== 'object' ) {
drawRect(options.e.clientX, options.e.clientY, 'start');
View gist:416e14f7c631fe5c3ba1
<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>
drnikki / supported browser matrix
Created Feb 24, 2015
Supported Browser Matrix
View supported browser matrix
<!-- initially taken from -->
td { border: 1px solid black; padding: 4px;}
td.pass { background-color: green;} {background-color: red;}
View gist:60a98f8a4686975f74c4
# taken directly from
# -*- 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
Vagrant.configure("2") do |config|
View Install Selenium on the VM
mkdir /var/selenium
cd /var/selenium
# get selenium jar
wget dalone-2.46.0.jar
#install java
sudo apt-get install openjdk-7-jre-headless.
# get headless browser
sudo apt-get install firefox.
drnikki /
Created Aug 10, 2011 — forked from jasonrudolph/
Programming Achievements: How to Level Up as a Developer
drnikki / .gitconfig
Created Nov 30, 2011 — forked from joshuajabbour/.gitconfig
Git Config: Rename this file ".gitconfig" and place inside your home directory.
View .gitconfig
# This file should be renamed ".gitconfig" and placed inside your home directory.
name = YOUR_NAME
email = YOUR_EMAIL
drnikki / svn stuff
Created Nov 30, 2011
SVN enhancements / OSX
View svn stuff
## View svn diff in color
$ brew install colordiff ( or port install colordiff)
$ vim ~/.subversion/config
# diff-cmd = diff_program (diff, gdiff, etc.)
diff-cmd = colordiff
## Customize those hideous colors
# started from
$ vim ~/.colordiffrc
drnikki / git last
Created Nov 30, 2011 — forked from joshuajabbour/git last
Shows all local and remote commits for X user over the last Y days. Add to your .gitconfig -- Usage: `git last Y X` (author name can be partial)
View git last
last = "!fn() { S=1; A=`git config --get`; if [ -n \"$1\" ]; then S=\"$1\"; shift; fi; if [ -n \"$1\" ]; then if [ \"$1\" != \"me\" ]; then A=\"$1\"; fi; shift; fi; git log -i --since=\"$S days ago\" --author=\"$A\" --branches --remotes --format='%C(yellow)%t%Creset %s (%an)' \"$@\"; }; fn"
View gist:2254721
<a href="
$url = current_path();
explode('/', $url);
if(is_numeric($url[1])) {
 $nid = $url[1];
echo "node/add/resume?=jobxyz=" . $nid;
You can’t perform that action at this time.