Skip to content

Instantly share code, notes, and snippets.

View wadehammes's full-sized avatar
🎯
Not focusing

Wade Hammes wadehammes

🎯
Not focusing
View GitHub Profile
@wadehammes
wadehammes / Font
Last active December 17, 2015 01:39
@font-face {
font-family: 'PatronBold';
src: url('fonts/patron_bold_v1001-webfont.eot');
src: url('fonts/patron_bold_v1001-webfont.eot?#iefix') format('embedded-opentype'),
url('fonts/patron_bold_v1001-webfont.woff') format('woff'),
url('fonts/patron_bold_v1001-webfont.ttf') format('truetype'),
url('fonts/patron_bold_v1001-webfont.svg#PatronBold') format('svg');
}
@mixin patronBold() {
@wadehammes
wadehammes / gist:9883185
Last active August 29, 2015 13:57
Assemberly
; Uses S-C Assembler variant.
main jibberish $400
.notarealthing #$89
.qwe fake $00
.1 .wat str,x
lie .2
nah $fded ; ROM routine, COOTIES, why is preserved
oye
nope .1
@wadehammes
wadehammes / gist:3f5c6175a0a4f7f3215e
Last active August 29, 2015 14:04
GA FEWD6 Press Release Recap
<!-- Every document must start with a doctype telling the browser what it's reading -->
<!DOCTYPE html>
<html>
<body>
<!-- HTML documents are very similar to a Word Document outline, with headers, lists, paragraphs - all neatly ordered on the page -->
<h1>For Immediate Release</h1>
<p>General Assembly, which started in New York as a startup incubator, now offers classes and workshops in technology, design, and entrepreneurship, with campuses around the world in:</p>
<!-- Some HTML elements depend on other elements nested within them - for instance, a <ul> needs list items, or <li>'s, in order to create the unordered list! -->

Keybase proof

I hereby claim:

  • I am wadehammes on github.
  • I am wade (https://keybase.io/wade) on keybase.
  • I have a public key whose fingerprint is 73C0 617B ACE4 B35A CBD3 D4AB 0430 2189 DD5F BE23

To claim this, I am signing this object:

@wadehammes
wadehammes / SassMeister-input-HTML.html
Created October 7, 2014 11:21
Generated by SassMeister.com.
<header>
<a class="link" href="#"><i class="icon">~</i>Link 1</a>
<a class="link" href="#"><i class="icon">~</i>Link 1</a>
<a class="link" href="#"><i class="icon">~</i>Link 1</a>
<a class="link" href="#"><i class="icon">~</i>Link 1</a>
</header>
<div class="box">
</div>
@wadehammes
wadehammes / SassMeister-input-HTML.html
Created October 9, 2014 21:14
Generated by SassMeister.com.
<header>
<a class="link" href="#"><i class="icon">~</i>Link 1</a>
<a class="link" href="#"><i class="icon">~</i>Link 1</a>
<a class="link" href="#"><i class="icon">~</i>Link 1</a>
<a class="link" href="#"><i class="icon">~</i>Link 1</a>
</header>
<div class="box">
</div>
@wadehammes
wadehammes / SassMeister-input.scss
Last active August 29, 2015 14:07
SCSS Mixin to Generate Value-based Classes
// ----
// Sass (v3.4.9)
// Compass (v1.0.1)
// ----
$baseFontSize: 16px;
@function strip-units($number) {
@return $number / ($number * 0 + 1);
}
@wadehammes
wadehammes / SassMeister-input.scss
Last active August 29, 2015 14:11
Generated by SassMeister.com.
// ----
// Sass (v3.4.9)
// Compass (v1.0.1)
// ----
/*
This is a mixin that allows you to dynamically create selectors on anything.
This is useful for split text animations, like below.
JS to split text into individual parts:
@wadehammes
wadehammes / SassMeister-input.scss
Created December 16, 2014 17:03
Generated by SassMeister.com.
// ----
// Sass (v3.4.9)
// Compass (v1.0.1)
// ----
/*
Example use:
JS to split text into individual parts:
// Split text for animations.
@wadehammes
wadehammes / fabfile.py
Last active February 2, 2016 02:54
My fabfile for deploying my Wordpress instances.
from fabric.api import *
import datetime, time
env.colorize_errors = 'true'
### Remote Path ###
env.work_dir = '/var/www/html'
### Environment Utilities ###
@task