Skip to content

Instantly share code, notes, and snippets.

hashtag = (function () {
// Twitter's official hashtag verifier.
// Ported from https://github.com/twitter/twitter-text-rb/blob/master/lib/twitter-text/regex.rb
// Creates a Unicode Regular Expression range
function regexRange (from, to) {
to = to || 0;
from = from.toString(16);
fromLen = (from.length > 4) ? from.length : 4;
@Warin
Warin / .jshintrc
Created March 11, 2013 10:49 — forked from haschek/.jshintrc
{
// --------------------------------------------------------------------
// 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
#!/bin/bash
## v1.0.6
## this script will gernerate css stats
### example output
# CSS STATS
# ----------
# Floats: 132