Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block hezhao

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
View top100AppProjects.csv
Project # of Top 100 Free Apps (US)
facebook-ios-sdk 67
Bolts-iOS 48
AFNetworking 39
Google-Mobile-Ads-SDK 38
Reachability (Apple) 38
Crashlytics 37
Flurry-iOS-SDK 31
CocoaPods 30
GoogleConversionTracking 29
stephenlb /
Last active Feb 6, 2019
DIY How to make your own HD Animated GIF Generator

HD Animated GIF Generator

You can make your own HD animated GIF generator.
Follow along with these commands to get started.

HD Animated GIF Generator

git clone git://
cd ffmpeg
snower / gist:27d8fc414f073141376e
Last active Jan 22, 2016
View gist:27d8fc414f073141376e
# -*- coding: utf-8 -*-
# 15/1/16
# create by: snower
import time
import greenlet
import threading
m = greenlet.getcurrent()
learncodeacademy / gist:ebba574fc3f438c851ae
Created Jul 24, 2014
Nginx Node Frontend / Load Balancer / Static Assets Caching
View gist:ebba574fc3f438c851ae
upstream project {
server {
listen 80;
location / {
Bouke / gist:11261620
Last active Nov 12, 2019
Multiple Python installations on OS X
View gist:11261620

Previous versions used homebrew to install the various versions. As suggested in the comments, it's better to use pyenv instead. If you are looking for the previous version of this document, see the revision history.

$ brew update
$ brew install pyenv
$ pyenv install 3.5.0
$ pyenv install 3.4.3
$ pyenv install 3.3.6
$ pyenv install 3.2.6
$ pyenv install 2.7.10
$ pyenv install 2.6.9
sloria /
Created Oct 16, 2013
A "Best of the Best Practices" (BOBP) guide to developing in Python.

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General


  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens
num3ric / interleave.cpp
Last active Aug 11, 2019
In-place array interleaving
View interleave.cpp
#include <iostream>
#include <vector>
#include <algorithm>
#include <iterator>
#include <assert.h>
typedef std::chrono::high_resolution_clock Clock;
template<typename T>
jobliz /
Created May 4, 2012
A short script exploring Redis pubsub functions in Python
import redis
import threading
class Listener(threading.Thread):
def __init__(self, r, channels):
self.redis = r
self.pubsub = self.redis.pubsub()
You can’t perform that action at this time.