(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| 1) Install cloudflared using homebrew: | |
| brew install cloudflare/cloudflare/cloudflared | |
| 2) Create /usr/local/etc/cloudflared/config.yaml, with the following content | |
| proxy-dns: true | |
| proxy-dns-upstream: | |
| - https://1.1.1.1/dns-query | |
| - https://1.0.0.1/dns-query |
| const path = require('path'); | |
| module.exports = class EmitAllPlugin { | |
| constructor(opts = {}) { | |
| this.ignorePattern = opts.ignorePattern || /node_modules/; | |
| } | |
| shouldIgnore(path) { | |
| return this.ignorePattern.test(path); | |
| } |
| wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_linux-x64_bin.tar.gz |
| import yaml | |
| from yaml.constructor import ConstructorError | |
| try: | |
| from yaml import CLoader as Loader | |
| except ImportError: | |
| from yaml import Loader | |
| def no_duplicates_constructor(loader, node, deep=False): |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>KeepAlive</key> | |
| <true/> | |
| <key>RunAtLoad</key> | |
| <true/> | |
| <key>Label</key> | |
| <string>homebrew.mxcl.aria2</string> |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| DELETE /applications/:client_id/tokens | |
| DELETE /applications/:client_id/tokens/:access_token | |
| GET /applications/:client_id/tokens/:access_token | |
| POST /applications/:client_id/tokens/:access_token | |
| GET /authorizations | |
| POST /authorizations | |
| PUT /authorizations/clients/:client_id | |
| DELETE /authorizations/:id | |
| GET /authorizations/:id | |
| PATCH /authorizations/:id |
Press minus + shift + s and return to chop/fold long lines!
mkdir -p /usr/local/etc/nginx/sites-{enabled,available}
cd /usr/local/etc/nginx/sites-enabled
ln -s ../sites-available/default.conf
ln -s ../sites-available/default-ssl.conf
File locations:
nginx.conf to /usr/local/etc/nginx/default.conf and default-ssl.conf to /usr/local/etc/nginx/sites-availablehomebrew.mxcl.nginx.plist to /Library/LaunchDaemons/