Skip to content

Instantly share code, notes, and snippets.

View rick's full-sized avatar
🎧
Quietly doing

Rick Bradley rick

🎧
Quietly doing
View GitHub Profile
rirb(main):001:0> require 'rational'
=> false
irb(main):002:0> require 'mathn'
=> true
irb(main):003:0> 1 / 3
=> 13
irb(main):004:0>
SASL_SECPROPS none
TLS_CACERT /tmp/websages_trustchain.crt
TLS_REQCERT allow
@rick
rick / fiddle.css
Created July 10, 2012 00:51 — forked from scopevale/fiddle.css
jQuery UI 1.8 - calculator demo
.ui-calculator { width:9.65em; }
.ui-calculator-container { padding:.2em .2em 0; }
.ui-calculator-display { width:12.3em; padding:.3em; margin-bottom:.3em; font-size:0.7em; overflow:auto; }
.ui-calculator-numberpad, .ui-calculator-functionpad { width:7em; float:left; }
.ui-calculator-functionpad { width:2em; }
.ui-calculator li { float:left; margin:0 .2em .2em 0; }
.ui-calculator-button { display:block; width:2em; height:1.2em; padding:.3em 0 .5em; text-align:center; border:0; }
.ui-calculator-button-wide { width:4.3em; }
.ui-calculator-icon { margin:.2em auto; }
@rick
rick / fiddle.css
Created July 10, 2012 00:51 — forked from scopevale/fiddle.css
jQuery UI 1.8 - calculator demo
.ui-calculator { width:9.65em; }
.ui-calculator-container { padding:.2em .2em 0; }
.ui-calculator-display { width:12.3em; padding:.3em; margin-bottom:.3em; font-size:0.7em; overflow:auto; }
.ui-calculator-numberpad, .ui-calculator-functionpad { width:7em; float:left; }
.ui-calculator-functionpad { width:2em; }
.ui-calculator li { float:left; margin:0 .2em .2em 0; }
.ui-calculator-button { display:block; width:2em; height:1.2em; padding:.3em 0 .5em; text-align:center; border:0; }
.ui-calculator-button-wide { width:4.3em; }
.ui-calculator-icon { margin:.2em auto; }
@rick
rick / deploy.yml
Created July 16, 2012 16:47
config for rick
demo:
domain: "[email protected]"
deploy_to: "/home/demo/customer_DEMO"
repository: "[email protected]:connamara/customer_reporting.git"
post_deploy_script: "script/post_deploy.sh"
post_setup_script: "script/post_setup.sh"
rake_env:
RAILS_ENV: 'production'
@rick
rick / gist:3667503
Created September 7, 2012 16:17 — forked from mgencur/gist:3666350
just testing forking of public gists. ignore me :-)
dependency>
<groupId>org.jboss.weld</groupId>
<artifactId>weld-core</artifactId>
<version>1.1.8.Final</version>
</dependency>
<dependency>
<groupId>org.jboss.weld.servlet</groupId>
<artifactId>weld-servlet-core</artifactId>
<version>1.1.8.Final</version>
<scope>compile</scope>
@rick
rick / sql.rb
Created July 3, 2014 16:16 — forked from zerowidth/sql.md
# GitHub::SQL - a helping hand for SQL in a rails app.
#
# Built for MySQL, adaptations and updates welcome.
#
# Authors/maintainers: @jbarnette, @zerowidth, et. al.
#
# The MIT License (MIT)
#
# Copyright (c) 2014 GitHub, Inc.
#
@rick
rick / hue.md
Last active August 29, 2015 14:28 — forked from jameswhite/hue.md
alias hue_blue='curl -s "http://10.255.2.251/cgi-bin/hue.cgi?user=jameswhite&action=all_on&color=blue"'
alias hue_cyan='curl -s "http://10.255.2.251/cgi-bin/hue.cgi?user=jameswhite&action=all_on&color=cyan"'
alias hue_green='curl -s "http://10.255.2.251/cgi-bin/hue.cgi?user=jameswhite&action=all_on&color=green"'
alias hue_indigo='curl -s "http://10.255.2.251/cgi-bin/hue.cgi?user=jameswhite&action=all_on&color=indigo"'
alias hue_lavender='curl -s "http://10.255.2.251/cgi-bin/hue.cgi?user=jameswhite&action=all_on&color=lavender"'
alias hue_orange='curl -s "http://10.255.2.251/cgi-bin/hue.cgi?user=jameswhite&action=all_on&color=orange"'
alias hue_pink='curl -s "http://10.255.2.251/cgi-bin/hue.cgi?user=jameswhite&action=all_on&color=pink"'
alias hue_red='curl -s "http://10.255.2.251/cgi-bin/hue.cgi?user=jameswhite&action=all_on&color=red"'
alias hue_white='curl -s "http://10.255.2.251/cgi-bin/hue.cgi?user=jameswhite&action=all_on"'