Skip to content

Instantly share code, notes, and snippets.

var browserify = require('browserify');
var browserSync = require('browser-sync');
var del = require('del');
var gulp = require('gulp');
var less = require('gulp-less');
var minifycss = require('gulp-minify-css');
var notify = require('gulp-notify');
var plumber = require('gulp-plumber');
var reactify = require('reactify');
var runSequence = require('run-sequence');

Keybase proof

I hereby claim:

  • I am al3x on github.
  • I am al3x (https://keybase.io/al3x) on keybase.
  • I have a public key whose fingerprint is 4BBB 8323 A8EE 6B08 8434 AFE7 554B C317 53AC C28D

To claim this, I am signing this object:

##############################################
# Sample client-side OpenVPN 2.0 config file #
# for connecting to multi-client server. #
# #
# This configuration can be used by multiple #
# clients, however each client should have #
# its own cert and key files. #
# #
# On Windows, you might want to rename this #
# file so it has a .ovpn extension #
1 whole chicken – no more than 4lbs. (about 3.5lbs is a perfect size)
· Cast iron skillet
· Paper towels/saran wrap
· Dish that fits chicken (can be any sort – Tupperware, baking dish, etc.)
· Salt and pepper
@al3x
al3x / gist:967060
Created May 11, 2011 18:49 — forked from 3n/gist:967051
A "blog" "post" about asynchronous script loading and MooTools.

A lot of talk at JSConf was on the use of modules: AMD, CommmonJS, or otherwise. Since the server-side JavaScript world has this mostly covered, a more heavily discussed topic was bringing the joys of modularity to the client-side. This, of course, is a tricky thing to do since loading scripts requires some sort of relatively slow and possibly asynchronous network request. How does one balance the issues of perceived latency, JS execution (UI blocking), page weight, and code tidiness? I spent some time looking into this and here's my first stab at a solution (no I'm not releasing some open source project shut up).

Real quick: if you don't agree that splitting files to do asynchronous loading is a good idea you should read more.

I code most of my projects in MooTools (including my current project, BankSimple, so modularity is a given for me. MooTools is

- configurable keyboard shortcuts for switching between tabs and initiating uploads and video chats
- menubar items for available commands on Mac OS X (ex: there should probably be a “Room” menubar item)
- use color to differentiate the right sidebar, ideally inheriting the default sidebar/source list color from the OS
- cache files and links so they don’t have to awkwardly reload when you bring up the “Files & Links” tab
- make font size configurable
- allow searching in the AIR app
- possibly out of your control, but the AIR client uses a non-trivial amount of CPU when idle (spiking up to 3 – 5%); that’s probably more than it should use, even for polling

/* NOTE this file is autogenerated by Scalate : see http://scalate.fusesource.org/ */
package Application
import _root_.scala.collection.JavaConversions._
import controllers._;import models._;import play.utils._
object $_scalate_$index_ssp{
def $_scalate_$render($_scalate_$_context:_root_.org.fusesource.scalate.RenderContext): Unit = {
val context:org.fusesource.scalate.DefaultRenderContext = ($_scalate_$_context.attributes.get("context") match {
case Some(value) => value.asInstanceOf[org.fusesource.scalate.DefaultRenderContext]
Flying Lotus - Lit Up (Instrumental)
Phaseone - Cadence + Athena
Gary Numan - Films
Hovatron - Gypsy Trader
The Field - The More That I Do (Foals remix)
Surfs - Tu Seras Mi Baby
The Very Best - Cape Cod Kwassa Kwassa
Orchestre N'guewel - Mi Guajeo
Harvard Bass - 81 (Renaissanceman remix)
Znobia - Tchilo (Diplo remix)
example { foo =>
bar // this first line indents correctly
baz // but what happened here?
} // this isn't correct either
@al3x
al3x / update_git_submodules.sh
Created December 7, 2009 22:43
Brute force updates and directories beneath the current directory that might be git submodules (or just cloned repos).
for i in $(find . -d 1 -type d); do cd $i; echo $i; git pull; cd ..; echo ""; done