Skip to content

Instantly share code, notes, and snippets.

View 1gitGrey's full-sized avatar

Grey 1gitGrey

  • San Francisco, CA
View GitHub Profile
@1gitGrey
1gitGrey / RequestAnimationFrame.js
Created January 25, 2017 17:51 — forked from mrdoob/RequestAnimationFrame.js
Provides requestAnimationFrame in a cross browser way.
/**
* Provides requestAnimationFrame in a cross browser way.
* @author paulirish / http://paulirish.com/
*/
if ( !window.requestAnimationFrame ) {
window.requestAnimationFrame = ( function() {
return window.webkitRequestAnimationFrame ||
@1gitGrey
1gitGrey / kbd.css
Created January 11, 2017 11:27
Keyboard CSS rules
/* CSS code for keyboard key text from
* http://techsperia.blogspot.com/2013/11/keyboard-key-effect-css-blogger.html
*/
kbd {
border:0px solid gray;
padding:1px 5px;
margin:0 5px;
font-size:1.5em;
text-transform:uppercase;
-webkit-box-shadow:1px 0 1px 0 #fff, 0 2px 0 2px lightGray, 0 2px 0 3px #333;
@1gitGrey
1gitGrey / brew-update-notifier.sh
Created January 11, 2017 08:33 — forked from SimonSimCity/brew-update-notifier.sh
Extended the script, written by @streeter to exclude the pinned formulae in the list of formulas to update.
#!/bin/bash
#
# Notify of Homebrew updates via Notification Center on Mac OS X
#
# Author: Chris Streeter http://www.chrisstreeter.com
# Requires: terminal-notifier. Install with:
# brew install terminal-notifier
TERM_APP='/Applications/Terminal.app'
BREW_EXEC='/usr/local/bin/brew'

SCSS Style Guide

###File Structure

This is an example of a component named quote.

app/assets/stylesheets/
├── application.scss
@1gitGrey
1gitGrey / GistList!.md
Created November 6, 2015 10:03
Try GistList for iOS! http://gistlist.io/

##alt text GistList: TODO for coders alt text

@1gitGrey
1gitGrey / test_gist
Created September 9, 2015 07:31
tjst
<div class="form-group">
<label for="input" class="col-sm-2 control-label">:</label>
<div class="col-sm-10">
<select name="" id="input" class="form-control">
<option value="">-- Select One --</option>
</select>
</div>
</div>
<div class="form-group">
<label for="input" class="col-sm-2 control-label">:</label>
<div class="col-sm-10">
<select name="" id="input" class="form-control">
<option value="">-- Select One --</option>
</select>
</div>
</div>
@1gitGrey
1gitGrey / test gist
Created September 9, 2015 07:31
Test
{
// Your GitHub API token
// see: https://github.com/condemil/Gist#generating-access-token
"token": "debff1d64b5af9c076fd4385902ef70c2be80864",
// Show GitHub organizations
// Example: "company1", "company2"
"include_orgs": [],
// Show GitHub users
@1gitGrey
1gitGrey / Bootstrap Grid System.markdown
Last active August 29, 2015 14:27
Bootstrap Grid System
@1gitGrey
1gitGrey / apparix.sh
Last active August 29, 2015 14:21 — forked from a7madgamal/apparix.sh
function to () {
if test "$2"; then
cd "$(apparix "$1" "$2" || echo .)";
else
cd "$(apparix "$1" || echo .)";
fi
pwd
}
function bm () {
if test "$2"; then