Skip to content

Instantly share code, notes, and snippets.


Stanley Zheng stanzheng

View GitHub Profile
stanzheng / emoji.js
Last active May 17, 2017 — forked from beaugunderson/emoji.js
Scrape all emojis with descriptions from website
View emoji.js
/*TODO Remove Tag when Done */
var request = require('request');
var cheerio = require('cheerio');
var fs = require('fs');
console.log('retrieving unicode table...');
request.get('', function (err, response, body) {
console.log('loading data...');
stanzheng /
Last active Sep 21, 2017 — forked from zenorocha/.hyper.js
setup your macbook very fast using homebrew, tools of the internet and scripts. all is borrowed
# install homebrew
/usr/bin/ruby -e "$(curl -fsSL"
# homebrew-cask
brew tap phinze/homebrew-cask
brew install brew-cask
# development
sursh /
Last active Sep 27, 2017
Introducing RC Connections

RC Connections is a way of connecting with others in the Recurse Center community.

Rooted in the belief that everyone has experience and skills that are valuable to someone else, we have no separate list for mentors and mentees. We are all mentors. We are all mentees. For example, Sasha and Andrew had a phone chat recently where she helped him structure a talk he was working on and he told her about the master’s program he recently finished, as she’s considering doing one herself.

If you know a specific person in RC that you'd like to talk with, then you should probably reach out to them directly! RC Connections is meant to facilitate discussion when it's not obvious that a potential connection should happen.

This service is organized by alumni (currently, Sasha and Andrew). Furthermore, RC Connections is an experiment. We welcome and encourage feedback. Please use the #connections Zulip stream to discuss.

How it works:

  • We’ll start on a ~monthly rhythm
chriskjaer / gulpfile.js
Last active Nov 1, 2017
Gulp recipe: Jade, Sass, Livereload and static server
View gulpfile.js
var gulp = require('gulp'),
gutil = require('gulp-util'),
sass = require('gulp-sass'),
csso = require('gulp-csso'),
uglify = require('gulp-uglify'),
jade = require('gulp-jade'),
concat = require('gulp-concat'),
livereload = require('gulp-livereload'), // Livereload plugin needed:
tinylr = require('tiny-lr'),
express = require('express'),
View magic.js
class Magic {
constructor(fn, a) {
this.__chain = [[fn, a]];
get(t, a) {
if (a == "✨✨MAGIC✨✨") return true;
if (a == "resolve") {
return () => Magic.chain(this.__chain);
return (...b) => {
View a-increment.js
var dom = Bloop.dom;
var Box = Bloop.createClass({
getInitialState: function() {
return { number: 0 };
updateNumber: function() {
lucasdavila / fixup.txt
Last active Apr 4, 2020
Fixing mac os yosemite issue "bash: fork: Resource temporarily unavailable"
View fixup.txt
# see the current limits
$ sysctl -a | grep maxproc
# increase it
$ sudo sysctl -w kern.maxproc=xxxx
$ sudo sysctl -w kern.maxprocperuid=xxx
# run at startup
$ sudo vim /etc/sysctl.conf
stanzheng / cloudSettings
Last active May 25, 2020
Visual Studio Code Settings Sync Gist
View cloudSettings
sjp38 / gist:6202539
Last active May 27, 2020
Sample code for monkeyrunner's MOVE usage
View gist:6202539
#!/usr/bin/env monkeyrunner
import time
from import MonkeyRunner, MonkeyDevice
device = MonkeyRunner.waitForConnection()
# Touch down screen
device.touch(100, 500, MonkeyDevice.DOWN)
zenorocha / .hyper.js
Last active May 29, 2020 — forked from millermedeiros/
Setup macOS Sierra (10.12)
View .hyper.js
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See for all currently supported options.
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 14,
// font family with optional fallbacks