Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am jeffstagg on github.
  • I am speakincode (https://keybase.io/speakincode) on keybase.
  • I have a public key whose fingerprint is 4547 23E6 E88A 2F40 0EBD 8D52 692F 5B14 79E6 6396

To claim this, I am signing this object:

@jeffstagg
jeffstagg / gulp.config.js
Created April 16, 2015 02:34
Less Server-Side with Gulp
module.exports = function() {
var config = {
//CSS
cssOutput: './Common/Styles/min',
less: './Common/Styles/less/**/*.less',
};
return config;
};
@jeffstagg
jeffstagg / index.html
Created April 16, 2015 02:16
Less Client-Side
<!DOCTYPE html>
<html>
<head>
<title>Compiling LESS Client-Side</title>
<!-- remember to keep rel="stylesheet/less" to reference less file -->
<link rel="stylesheet/less" type="text/css" href="styles.less" />
</head>
<body>
<p>Here's some content to go on the page. Style away!</p>
@jeffstagg
jeffstagg / index.html
Created April 15, 2015 20:40
LESS Mixins
<!DOCTYPE html>
<html>
<head><title>Mixins</title></head>
<body>
<h1 role="heading">Borders</h1>
<section>
<div class="rounded blue">
@jeffstagg
jeffstagg / Gemfile
Created March 11, 2014 01:07
Ruby env with failing spec
source 'https://rubygems.org'
#system
gem 'rails', '4.0.1'
gem 'mongoid', github: 'mongoid/mongoid'
#admin
gem 'devise', github: 'plataformatec/devise'
@jeffstagg
jeffstagg / i3_install
Created March 5, 2014 19:51
i3_install
# Add i3 to system
$ sudo apt-get install i3
$ sudo update-alternatives --config x-window-manager
# choose i3 (or openbox) and logout / in.
@jeffstagg
jeffstagg / crunchbang_dev_env_setup
Last active April 3, 2019 18:12
Setup Crunchbang Web Development Box
# Grab initial files, set up shell
$ sudo apt-get install git tmux vim zsh
$ curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | bash
# Change default shell to ZSH
$ chsh -s /usr/bin/zsh
# Setup NodeJS, PhantomJS, Karma
$ sudo apt-get install python g++ make
$ mkdir nodejs
@jeffstagg
jeffstagg / index.html
Created August 2, 2012 04:23
Javascript Accordian - created at CodePen.io.
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Accordian &middot; CodePen</title>
<!--
Copyright (c) 2012 Jeff Stagg, http://codepen.io/jeffstagg
Permission is hereby granted, free of charge, to any person obtaining