Skip to content

Instantly share code, notes, and snippets.

View bryanjamesmiller's full-sized avatar

Bryan Miller bryanjamesmiller

  • Kirschbaum Development Group, LLC
View GitHub Profile
### Keybase proof
I hereby claim:
* I am bryanjamesmiller on github.
* I am bryanmiller (https://keybase.io/bryanmiller) on keybase.
* I have a public key ASD6hThLF5y0us0nFBCQMrTRdp-3vU8PAKgPBWZkpsA7dQo
To claim this, I am signing this object:
@bryanjamesmiller
bryanjamesmiller / Contract Killer 3.md
Created August 12, 2017 02:57 — forked from tony-caffe/Contract Killer 3.md
The latest version of Bytes Unlimted ‘killer contract’ for web professionals

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Revised by Bytes Unlimited : June 14th 2017

@bryanjamesmiller
bryanjamesmiller / git-recover-branch.md
Created May 20, 2016 16:05 — forked from jbgo/git-recover-branch.md
How to recover a git branch you accidentally deleted

UPDATE: A better way! (August 2015)

As pointed out by @johntyree in the comments, using git reflog is easier and more reliable. Thanks for the suggestion!

 $ git reflog
1ed7510 HEAD@{1}: checkout: moving from develop to 1ed7510
3970d09 HEAD@{2}: checkout: moving from b-fix-build to develop
1ed7510 HEAD@{3}: commit: got everything working the way I want
70b3696 HEAD@{4}: commit: upgrade rails, do some refactoring
$(document).ready(function(){
$('button').click(function() {
var $button = $(this),
test = $button.text() === 'Expand',
test2 = $button.text() === 'Collapse';
if(test)
{
$button.text('Collapse');
}
@bryanjamesmiller
bryanjamesmiller / gist:c14e623152ab9b5f9246
Created February 12, 2015 02:03
What the generated HTML/JS looks like
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!-- Bootstrap content start -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Latest compiled and minified JQuery -->