Skip to content

Instantly share code, notes, and snippets.


Alexey Novikov velocityzen

Block or report user

Report or block velocityzen

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
staltz /
Last active Apr 5, 2020
The introduction to Reactive Programming you've been missing
hdragomir / sm-annotated.html
Last active Mar 12, 2020
The deferred font loading logic for Smashing Magazine.
View sm-annotated.html
<script type="text/javascript">
(function () {
"use strict";
// once cached, the css file is stored on the client forever unless
// the URL below is changed. Any change will invalidate the cache
var css_href = './index_files/web-fonts.css';
// a simple event handler wrapper
function on(el, ev, callback) {
if (el.addEventListener) {
el.addEventListener(ev, callback, false);
LinusU / uuid-v5.js
Created Apr 30, 2014
UUID V5 Node.js
View uuid-v5.js
function uuid5(data) {
var out = crypto.createHash('sha1').update(data).digest();
out[8] = out[8] & 0x3f | 0xa0; // set variant
out[6] = out[6] & 0x0f | 0x50; // set version
var hex = out.toString('hex', 0, 16);
return [
hex.substring( 0, 8),
vertexclique /
Last active Jan 25, 2020
Cracking guide for Sublime Text 3 Build 3059 / 3065 ( Mac / Win x86_64 / Windows x86 / Linux x64 / Linux x86 )


Build 3059

MD5: 59bab8f71f8c096cd3f72cd73851515d

Rename it to: Sublime Text

Make it executable with: chmod u+x Sublime\ Text

kaishin / NSColor+isLight.h
Last active Jan 19, 2020
Programmatically determine the perceived lightness of a color. More details on: + Online tool:
View NSColor+isLight.h
#import <Cocoa/Cocoa.h>
@interface NSColor (isLight)
- (BOOL)isLight;
dypsilon /
Last active Mar 31, 2020
A badass list of frontend development resources I collected over time.
nossidge / Snowball
Last active Dec 15, 2015
C++ Generate valid snowball poems, using input file of example text and Markov chains to help make it grammatically correct.
View Snowball
~~ Snowball Poem ~~
Snowball (also called a Chaterism): A poem in which each line is a single word,
and each successive word is one letter longer. One of the constrained writing
techniques invented by the Oulipo (Workshop of Potential Literature).
~~ Program Description ~~
This program takes input from the file "input-raw.txt". It examines the file for
b2arn / puller
Created Aug 13, 2012
Script to git pull all repos in directory
View puller
usage="Usage : `basename $0` [-d dir] [-h] args\nWhere args are directories that you don't whant to pull"
while getopts hd: opt; do
case $opt in
if [ ! -d "$OPTARG" ] ; then
streeter /
Last active Jan 21, 2020
Homebrew Package Update Notifications on Mountain Lion
# Notify of Homebrew updates via Notification Center on Mac OS X
# Author: Chris Streeter
# Requires: terminal-notifier. Install with:
# gem install terminal-notifier
You can’t perform that action at this time.