Skip to content

Instantly share code, notes, and snippets.

Always be sprinting.

Philihp Busby philihp

Always be sprinting.
View GitHub Profile
stsdmchv / visualstudio2019Key.txt
Created Jun 12, 2020 — forked from ch-kashif/visualstudio2019Key.txt
Visual Studio 2019 Product Key
View visualstudio2019Key.txt
Visual Studio 2019 Product Key
Visual Studio 2019 Enterprise
Visual Studio 2019 Professional
[Please Star this gist]

Window Controls

  • ⌘ ← 0x02 0x70
  • ⌘ → 0x02 0x6E

Pane Controls

  • ⌘ ⌥ ↑ 0x02 0x1B 0x5B 0x41
agoldst /
Last active Jun 12, 2020
Query macOS contacts for mutt
# Andrew Goldstone, July 2017. All yours to use or modify, but no promises.
# The mutt e-mail client has an option to query an external address book for
# e-mail addresses. On a Mac it is nice to be able to query the Address Book
# (now known as Contacts). For a while I used a utility called contacts
# ( but this stopped working under Sierra. There is
# an official API for querying Contacts as a unified datastore, but it is only
yossorion /
Last active Aug 11, 2020
What I Wish I'd Known About Equity Before Joining A Unicorn

What I Wish I'd Known About Equity Before Joining A Unicorn

Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.

This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would

nrollr /
Last active May 24, 2020
Install Node.js on Amazon Linux (EC2)

Installing Node.js on Amazon Linux AMI

The following will guide you through the process of installing Node.js on an AWS EC2 instance running Amazon Linux AMI 2016.09 - Release Notes

For this process I'll be using a t2.micro EC2 instance running Amazon Linux AMI (ami-d41d58a7). Once the EC2 instance is up-and-running, connect to your server via ssh

Avaq / combinators.js
Last active Aug 12, 2020
Common combinators in JavaScript
View combinators.js
const I = x => x
const K = x => y => x
const A = f => x => f (x)
const T = x => f => f (x)
const W = f => x => f (x) (x)
const C = f => y => x => f (x) (y)
const B = f => g => x => f (g (x))
const S = f => g => x => f (x) (g (x))
const S_ = f => g => x => f (g (x)) (x)
const S2 = f => g => h => x => f (g (x)) (h (x))
kennwhite /
Last active May 25, 2017
Amazon Linux 2015.09 for LetsEncrypt beta installer
# Amazon Linux (2015.09.1 x86_64 minimal HVM EBS: ami-fbb9c991)
# See: for more background & notes
# The use case is a standalone build on stock distro, then ssh push cert/keys to
# public-facing web server (nginx, etc). IMHO, there are too many dev packages
# required for Internet-exposed production boxes, but your use case may vary.
neftaly / curry.js
Last active Aug 11, 2019
ES6 Auto-curry
View curry.js
const curry = (fn, ...oldArgs) => (...newArgs) => {
const args = [...oldArgs, ...newArgs];
return (args.length < fn.length) ? curry(fn, ...args) : fn(...args);
GitsMcGee / circle.yml
Created Dec 14, 2014
CircleCI config for Play 2.3 and Elastic Beanstalk
View circle.yml
JAVA_TOOL_OPTIONS: '-Dfile.encoding=UTF8 -Duser.timezone=UTC'
_JAVA_OPTIONS: '-Xms512m -Xmx1024m -Xss2m'
version: oraclejdk8
version: 2.7.6
- docker
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
You can’t perform that action at this time.