Skip to content

Instantly share code, notes, and snippets.

View m0nkey's full-sized avatar

Jesse Heady m0nkey

View GitHub Profile
@m0nkey
m0nkey / gist:2292192
Created April 3, 2012 13:54
CSS3 spread box example
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>untitled</title>
<meta name="generator" content="TextMate http://macromates.com/">
<meta name="author" content="jheady">
<!-- Date: 2012-01-30 -->
Carl Smith @carlsmith
nGen
- Monkey say monkey do.
- "5 years until the kids know we're poor." Lesson is do what you love, don't be a dick.
- Two column worksheet: winning and losing. Manage showed up in losing column a lot.
- Stopped reading business books, more about nature, science, history.
- Start with a new business process. Step aside, create circles, empower people to do better than you.
- Jellyfish example. Group is called a smack. Smack attack. Reach out to the "army of awesome".
- UX asked if they could branch out and do some more business stuff: encourage people with passion to jump in and do it.
- Months later person X didn't say that, they said this. Confusion and angst. Don't do that. Allow organic growth.
@m0nkey
m0nkey / augment.css
Created May 21, 2012 16:49 — forked from rjrodger/augment.css
Phonegap 3D compass
#main {
margin: 0px;
width: 480px;
height: 300px;
}
@m0nkey
m0nkey / smacss-notes.txt
Created May 22, 2012 15:16
SMACSS notes May 18
SMACSS May 18
Part 1
- Don't use .button.large ... no subclassing for size or color definitions, try to use .button-large and sibling classes instead
- Naming convention clarifies intent (you should be able to read semantic HTML or CSS and know what it does)
- Create an internal style guide that the team refers to (!) - relates to docs efforts ongoing
State: active and default states; .tab and .is-tab-active (indication that JS will be used) - isolate JS classes so that you only have to make changes to the CSS
- is- prefix indicates likelihood of JS dependency
@m0nkey
m0nkey / velocity-2012-notes.txt
Created July 5, 2012 21:13
Velocity 2012 notes
Velocity Conference 2012
DAY 1, Monday
@m0nkey
m0nkey / mobiletools.sh
Created October 29, 2012 21:24 — forked from RichardBronosky/mobiletools.sh
rbronosky's mobile tools
# available at http://j.mp/rbromotools
# quick use:
## curl -sLO http://j.mp/rbromotools; source rbromotools
## mcurl http://www.palmbeachpost.com
# header only curls
hcurl() { echo "cURLing ${@: -1}"; curl -sL -o /dev/null -D /dev/stdout -b /tmp/cookies.txt -c /tmp/cookies.txt "${@}" | grep -Ei '^(.?$|(HTTP|Server|Set-Cookie|Location)[:/])'; echo; }
# mobile (Android) header only curls
mcurl() { hcurl -A "Mozilla/5.0 (Linux; Android 2.3) AppleWebKit/533.1 (like Gecko) Version/4.0 Mobile Safari/533.1" "${@}"; }
@m0nkey
m0nkey / gist:5146397
Last active December 14, 2015 20:49 — forked from anonymous/gist:5146379
4 media/web/common/javascript/jquery-1.7.1.min.js
38 media/web/common/javascript/cmg-utility.js
11 media/web/common/javascript/jquery.cookie.min.js
830 media/web/common/javascript/writeCapture.js
139 media/web/common/javascript/jquery.writeCapture.js
396 media/web/common/javascript/mustache.js
478 media/web/common/javascript/marimo.js
691 media/web/common/javascript/widgets.js
70 media/web/common/javascript/features/lib/features.js
439 media/web/common/javascript/janrain/lib/janrain.js
# This is a template .gitignore file for git-managed WordPress projects.
#
# Fact: you don't want WordPress core files, or your server-specific
# configuration files etc., in your project's repository. You just don't.
#
# Solution: stick this file up your repository root (which it assumes is
# also the WordPress root directory) and add exceptions for any plugins,
# themes, and other directories that should be under version control.
#
# See the comments below for more info on how to add exceptions for your
@m0nkey
m0nkey / gist:6704791
Created September 25, 2013 19:29
LESS file watch and compile
module.exports = function (grunt) {
grunt.initConfig({
less: {
development: {
options: {
paths: ["media/web/common/premium/less"],
yuicompress: false
},
files: {
"media/web/common/premium/css/master.css": "media/web/common/premium/less/master.less",