Skip to content

Instantly share code, notes, and snippets.

Ken Collins metaskills

Block or report user

Report or block metaskills

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View base.scss
$my-color-names: ( 'inchworm', 'sunglow', 'scarlet');
$my-colors: ( #a5de37, #ffd426, #ff4351 );
@each $name in $my-color-names {
$index: index($my-color-names, $name);
$color: nth($my-colors, $index);
%my-#{$name}-background-color { background-color: $color; }
%my-#{$name}-border-color { border-color: $color; }
}
@metaskills
metaskills / sprockets.rb
Created Feb 16, 2014
Do Not Cache Rails/Sprockets Assets In Development
View sprockets.rb
# In config/initializers/sprockets.rb
require 'sprockets'
require 'sprockets/server'
Sprockets::Server.class_eval do
private
def headers_with_rails_env_check(*args)
View editor.sh
#!/bin/zsh
# export EDITOR="atom -n"
# export GIT_EDITOR="atom -w"
# function e() {
# atom -n $*
# }
export EDITOR="subl -n"
export GIT_EDITOR="subl -w"
View keybase.md

Keybase proof

I hereby claim:

  • I am metaskills on github.
  • I am metaskills (https://keybase.io/metaskills) on keybase.
  • I have a public key whose fingerprint is DFA0 1D4E E9DF FB79 1A09 E068 7373 5FA2 8923 044A

To claim this, I am signing this object:

View space-pen.js
// Generated by CoffeeScript 1.7.1
(function() {
var $, Builder, View, callAttachHook, elements, events, idCounter, methodName, originalCleanData, voidElements, _fn, _fn1, _i, _j, _len, _len1, _ref, _ref1,
__hasProp = {}.hasOwnProperty,
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
__slice = [].slice,
__indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };
$ = this.jQuery;
View source.coffee
class Box
constructor: (@id) ->
@top = 0
@left = 0
@color = 0
@content = 0
@count = 0
tick: ->
View space_pen_latest.js
// Generated by CoffeeScript 1.7.1
(function() {
var $, Builder, Events, SelfClosingTags, Tags, View, callAttachHook, docEl, exports, idCounter, jQuery, matches, matchesSelector, methodName, originalCleanData, _fn, _fn1, _i, _j, _len, _len1, _ref, _ref1,
__hasProp = {}.hasOwnProperty,
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
__slice = [].slice;
$ = jQuery = window.jQuery;
Tags = 'a abbr address article aside audio b bdi bdo blockquote body button canvas caption cite code colgroup datalist dd del details dfn div dl dt em fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 head header hgroup html i iframe ins kbd label legend li map mark menu meter nav noscript object ol optgroup option output p pre progress q rp rt ruby s samp script section
@metaskills
metaskills / lunch-n-learn.md
Last active Aug 29, 2015
Lunch & Learn Notes
View lunch-n-learn.md
@metaskills
metaskills / SassMeister-input.scss
Created Mar 30, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.3.4)
// Compass (v1.0.0.alpha.18)
// ----
$font-stack: Helvitica, sans-serif;
$primary-color: #333;
body {
font: 100% $font-stack;
@metaskills
metaskills / SassMeister-input.scss
Created Mar 30, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.3.4)
// Compass (v1.0.0.alpha.18)
// ----
.base {
slide: 'max';
}
You can’t perform that action at this time.