How to configure your Mac to use DNS over TLS in five easy steps:
- 
Install Stubby with Homebrew (https://dnsprivacy.org/wiki/display/DP/DNS+Privacy+Daemon+-+Stubby):
brew install stubby - 
Edit the configuration file:
 
How to configure your Mac to use DNS over TLS in five easy steps:
Install Stubby with Homebrew (https://dnsprivacy.org/wiki/display/DP/DNS+Privacy+Daemon+-+Stubby):
 brew install stubby
Edit the configuration file:
| All actions are performed in Terminal.app. | |
| 1. Install Homebrew http://brew.sh/ | |
| 2. Install Jack (route audio tool) http://jackaudio.org/. Current stable version from official website doesn't work with | |
| MacOS Sierra (I use 10.12.3) so you need to download beta version from there https://yadi.sk/d/JwT10b7v3Dm5yy. | |
| After installing reboot your computer. | |
| 3. Install Darkice (audio streamer) via brew. | 
| <?php | |
| class Magento1ValetDriver extends ValetDriver | |
| { | |
| /** | |
| * Determine if the driver serves the request. | |
| * | |
| * @param string $sitePath | |
| * @param string $siteName | |
| * @param string $uri | 
| <?php | |
| /** | |
| * Edit a Word 2007 and newer .docx file. | |
| * Utilizes the zip extension http://php.net/manual/en/book.zip.php | |
| * to access the document.xml file that holds the markup language for | |
| * contents and formatting of a Word document. | |
| * | |
| * In this example we're replacing some token strings. Using | |
| * the Office Open XML standard ( https://en.wikipedia.org/wiki/Office_Open_XML ) | |
| * you can add, modify, or remove content or structure of the document. | 
| sources: | |
| /tmp: https://github.com/kr/beanstalkd/archive/v1.10.tar.gz | |
| commands: | |
| 01_make_beanstalkd: | |
| cwd: /tmp/beanstalkd-1.10 | |
| command: make | |
| 02_install_beanstalkd: | |
| cwd: /tmp/beanstalkd-1.10 | 
| // cow-clicker is a minecraft mini-game written in javascript. | |
| // depends on the ScriptCraft Bukkit plugin http://github.com/walterhiggins/ScriptCraft | |
| // see http://www.bogost.com/games/cow_clicker.shtml | |
| var Bukkit = org.bukkit.Bukkit; | |
| var players = {}; | |
| var playerCount = 0; | |
| var sb = function(cmd){ | |
| Bukkit.dispatchCommand(server.consoleSender, 'scoreboard ' + cmd) | 
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| #!/bin/sh | |
| ### | |
| # SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
| # For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
| ### | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |