Software required:
After installation and putting the youtube-dl in PATH
youtube-dl \
Software required:
After installation and putting the youtube-dl in PATH
youtube-dl \
| /* Hacker News Search Script | |
| * | |
| * Original Script by Kristopolous: | |
| * https://gist.github.com/kristopolous/19260ae54967c2219da8 | |
| * | |
| * Usage: | |
| * First, copy the script into your browser's console whilst on the Hacker News | |
| * jobs page. Then, you can use the query function to filter the results. | |
| * | |
| * For example, |
This guide assumes that you recently run brew upgrade postgresql and discovered to your dismay that you accidentally bumped from one major version to another: say 9.3.x to 9.4.x. Yes, that is a major version bump in PG land.
First let's check something.
brew info postgresqlThe top of what gets printed as a result is the most important:
| // Promise.all is good for executing many promises at once | |
| Promise.all([ | |
| promise1, | |
| promise2 | |
| ]); | |
| // Promise.resolve is good for wrapping synchronous code | |
| Promise.resolve().then(function () { | |
| if (somethingIsNotRight()) { | |
| throw new Error("I will be rejected asynchronously!"); |
| #add 'node_modules' to .gitignore file | |
| git rm -r --cached node_modules | |
| git commit -m 'Remove the now ignored directory node_modules' | |
| git push origin <branch-name> |
| find . -name .DS_Store -print0 | xargs -0 git rm --ignore-unmatch |
| git ls-files | grep '\.swp$' | xargs git rm |