Skip to content

Instantly share code, notes, and snippets.

💭
Independent contracting and consulting, starting August, 2019

Rick Bradley rick

💭
Independent contracting and consulting, starting August, 2019
Block or report user

Report or block rick

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
@rick
rick / hue.md
Last active Aug 29, 2015 — forked from jameswhite/hue.md
View 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"'
View sql.rb
# 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.
#
View gist:14ef19cc9848fe45781b
@rick
rick / gist:3667503
Created Sep 7, 2012 — forked from mgencur/gist:3666350
just testing forking of public gists. ignore me :-)
View gist:3667503
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 / deploy.yml
Created Jul 16, 2012
config for rick
View deploy.yml
demo:
domain: "demo@xxx.private.connamara.com"
deploy_to: "/home/demo/customer_DEMO"
repository: "git@github.com: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 / fiddle.css
Created Jul 10, 2012 — forked from scopevale/fiddle.css
jQuery UI 1.8 - calculator demo
View fiddle.css
.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 Jul 10, 2012 — forked from scopevale/fiddle.css
jQuery UI 1.8 - calculator demo
View fiddle.css
.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; }
View .ldaprc
SASL_SECPROPS none
TLS_CACERT /tmp/websages_trustchain.crt
TLS_REQCERT allow
View gist:37399
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>
You can’t perform that action at this time.