$ brew install dnsmasq
$ echo 'address=/.test/127.0.0.1' >> /opt/homebrew/etc/dnsmasq.conf
To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.
| /* | |
| Copy this into the console of any web page that is interactive and doesn't | |
| do hard reloads. You will hear your DOM changes as different pitches of | |
| audio. | |
| I have found this interesting for debugging, but also fun to hear web pages | |
| render like UIs do in movies. | |
| */ | |
| const audioCtx = new (window.AudioContext || window.webkitAudioContext)() |
First let's make sure HB is updated. Open up terminal for the following steps.
$ brew update
| #Create, update and blog post into a Confluence Wiki with Python. You'll have to | |
| #provide the server and user credentials | |
| import sys | |
| from xmlrpclib import Server | |
| user = "username" | |
| passwd = "passwd" | |
| serverurl = "https://server.example.com/rpc/xmlrpc" | |
| spacekey = "demospace" |
| <?php | |
| namespace App\Providers; | |
| use Illuminate\Support\ServiceProvider; | |
| class GoogleDriveServiceProvider extends ServiceProvider | |
| { | |
| /** | |
| * Bootstrap the application services. |
| # The bare minimum to get a decent terminal setup for work | |
| echo "Opening apps to download..." | |
| echo "" | |
| echo "iTerm 2" | |
| open https://iterm2.com/downloads/stable/latest | |
| echo "Chrome" | |
| open https://www.google.com.au/chrome/browser/desktop/ | |
| echo "Firefox" | |
| open https://www.mozilla.org/firefox/new/?scene=2 | |
| echo "MAMP" |
brew install memcached/Applications/MAMP/bin/php/[php version folder]/include/php./Applications/MAMP/bin/php/[php version folder]/include/php/configure/Applications/MAMP/bin/php/[php version folder]/bin/pecl i memcache.extension=memcache.so to your php.ini
/Applications/MAMP\ Pro/MAMP\ PRO.app/Contents/Resources/php[your php version].ini