Skip to content

Instantly share code, notes, and snippets.

View lejenome's full-sized avatar

Moez Bouhlel lejenome

View GitHub Profile
@haschek
haschek / .jshintrc
Created May 4, 2012 16:08
JSHint Configuration, Strict Edition
{
// --------------------------------------------------------------------
// JSHint Configuration, Strict Edition
// --------------------------------------------------------------------
//
// This is a options template for [JSHint][1], using [JSHint example][2]
// and [Ory Band's example][3] as basis and setting config values to
// be most strict:
//
// * set all enforcing options to true
<!doctype html>
<!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ -->
<html>
<head>
<title>iOS 8 web app</title>
<!-- CONFIGURATION -->
@sontek
sontek / gist:1522303
Created December 26, 2011 23:53
Watch less files and generate css
#!/usr/bin/env bash
while :; do
find "$PWD" -name '*.less' | while read line; do
REPLACE=`echo $line | sed "s|\.less|\.css|"`
mt1=$(stat -c %Y $line)
mt2=$(stat -c %Y $REPLACE)
if [ "$mt1" -gt "$mt2" ]; then
@sontek
sontek / snowjob.py
Created December 22, 2011 04:24
Make your terminal snow with python
#!/usr/bin/env python
import os
import random
import time
import platform
snowflakes = {}
try:
# Windows Support