Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍💻
Always be sprinting.

Philihp Busby philihp

👨‍💻
Always be sprinting.
View GitHub Profile
@stsdmchv
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
BF8Y8-GN2QH-T84XB-QVY3B-RC4DF
Visual Studio 2019 Professional
NYWVH-HT4XC-R2WYW-9Y3CM-X4V3Y
[Please Star this gist]
View iterm2-keycodes.md

Window Controls

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

Pane Controls

  • ⌘ ⌥ ↑ 0x02 0x1B 0x5B 0x41
@agoldst
agoldst / contacts_query.sh
Last active Jun 12, 2020
Query macOS contacts for mutt
View contacts_query.sh
#!/bin/bash
#
# contacts_query.sh
# 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
# (http://gnufoo.org/contacts) but this stopped working under Sierra. There is
# an official API for querying Contacts as a unified datastore, but it is only
@yossorion
yossorion / what-i-wish-id-known-about-equity-before-joining-a-unicorn.md
Last active Aug 11, 2020
What I Wish I'd Known About Equity Before Joining A Unicorn
View what-i-wish-id-known-about-equity-before-joining-a-unicorn.md

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
nrollr / Node_AWS_Linux.md
Last active May 24, 2020
Install Node.js on Amazon Linux (EC2)
View Node_AWS_Linux.md

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
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
kennwhite / amazon_linux_letsencrypt_installer.sh
Last active May 25, 2017
Amazon Linux 2015.09 for LetsEncrypt beta installer
View amazon_linux_letsencrypt_installer.sh
#!/bin/bash
#
# Amazon Linux (2015.09.1 x86_64 minimal HVM EBS: ami-fbb9c991)
#
# See: https://gist.github.com/kennwhite/aa74c164bcdf092a7a10 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
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
GitsMcGee / circle.yml
Created Dec 14, 2014
CircleCI config for Play 2.3 and Elastic Beanstalk
View circle.yml
machine:
environment:
JAVA_TOOL_OPTIONS: '-Dfile.encoding=UTF8 -Duser.timezone=UTC'
_JAVA_OPTIONS: '-Xms512m -Xmx1024m -Xss2m'
java:
version: oraclejdk8
python:
version: 2.7.6
services:
- docker
@lucasdavila
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.