Skip to content

Instantly share code, notes, and snippets.

View wolfeidau's full-sized avatar
🐺
Building data science projects

Mark Wolfe wolfeidau

🐺
Building data science projects
View GitHub Profile
"funk.jpg".match(/ (.*).(jpg|bmp|jpeg|gif|png)/)
@wolfeidau
wolfeidau / RVMInstallGuide.txt
Created November 28, 2010 22:51
RVM Installation Guide
* Development Suite for Ubuntu
sudo apt-get install build-essential
* Git version control and curl http client utility
sudo apt-get install git-core
sudo apt-get install curl
* Core Development Libraries
sudo apt-get install zlib1g-dev
sudo apt-get install libssl-dev
@wolfeidau
wolfeidau / sample.js
Created November 30, 2010 08:54
sproutcore query sample
proquery = SC.Query.local(Machines.Utils, "classification.activity = %@ AND startHour = %@", ["Producing",hour]);
proquery = SC.Query.local(Machines.Utils, "deviceId = {myval} AND startHour = {myprop2}", {myval: '4cf46334ac65b35648bbff08', myprop2: '10'});
@wolfeidau
wolfeidau / CentosBabushkaTesting.md
Created January 24, 2011 07:09
CentosBabushkaTesting

== Introduction ==

Going to test out using babushka on Centos 5.5 and gather together any issues observations in one place, hence this document being created.

@wolfeidau
wolfeidau / sass_converter.rb
Created May 7, 2011 02:43
Sass plugin for Jekyll
module Jekyll
# Sass plugin to convert .scss to .css
#
# Note: This is configured to use the new css like syntax available in sass.
require 'sass'
class SassConverter < Converter
safe true
priority :low
def matches(ext)
@wolfeidau
wolfeidau / .screenrc
Created August 24, 2011 12:58
Screen RC file
startup_message off
vbell off
defscrollback 5000
hardstatus alwayslastline
hardstatus string '%{= kG}%-Lw%{= kW}%50> %n*%f %t%{= kG}%+Lw%< %{= kG}%-=%D %m/%d/%y | %C:%s %A | %1`%{-}'
simple 10-Nov-2011 15:11:16 Build RAN26141920-MAIN26141920-JOB1-28 started building on agent Default Agent
simple 10-Nov-2011 15:11:16 Build working directory is /Users/markw/Code/Java/rake-bamboo-plugin/target/bamboo/home/xml-data/build-dir/RAN26141920-MAIN26141920-JOB1
simple 10-Nov-2011 15:11:16 Executing build RAN26141920-MAIN26141920-JOB1-28
simple 10-Nov-2011 15:11:16 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
simple 10-Nov-2011 15:11:16 Updating source code to revision: 5f6cb840f8dc46629d5111ee0f50743b556503eb
simple 10-Nov-2011 15:11:18 Fetching branch 'refs/heads/master' from 'https://github.com/wolfeidau/ipsec-configurator.git'. Will try to do a shallow fetch.
simple 10-Nov-2011 15:11:18 Git:
simple 10-Nov-2011 15:11:18 Checking out revision 5f6cb840f8dc46629d5111ee0f50743b556503eb.
simple 10-Nov-2011 15:11:18 Updated source code to revision: 5f6cb840f8dc46629d5111ee0f50743b556503eb
simple 10-Nov-2011 15:11:18 Finishe
@wolfeidau
wolfeidau / gist:1428596
Created December 4, 2011 00:17
wiki.cloudbees.com perfomance
From my linode and at home was MUCH worse
markw@XXXXX:~$ echoping -n 10 -h /bin/view/RUN/BeesSDK wiki.cloudbees.com
Elapsed time: 4.482677 seconds
Elapsed time: 2.228435 seconds
Elapsed time: 2.436273 seconds
Elapsed time: 2.275032 seconds
Elapsed time: 2.308091 seconds
Elapsed time: 2.435053 seconds
Elapsed time: 2.425897 seconds
@wolfeidau
wolfeidau / gist:1834945
Created February 15, 2012 10:38
Completely clean environment for testing
env -i HOME=$HOME PATH=/bin:/sbin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin SHELLOPTS=xtrace ruby -v
@wolfeidau
wolfeidau / gist:2308319
Created April 5, 2012 05:54
Windows ruby version string
ruby 1.9.3p125 (2012-02-16) [i386-mingw32]
for %i in (cmd.exe) do @echo. %~$PATH:i