Skip to content

Instantly share code, notes, and snippets.

View icetimux's full-sized avatar

Timothy de Jongh icetimux

View GitHub Profile
@icetimux
icetimux / gist:d5e271f742c5da4d8570f0f11bab3408
Created March 3, 2022 00:10
MacOS homebrew httpd.conf location
/opt/homebrew/etc/httpd/httpd.conf
#!/bin/bash
curl -s https://www.ipchicken.com/ | grep -ioE '^([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})'
@icetimux
icetimux / undo-git-add.md
Created September 2, 2021 12:39
Undo git add
git reset <file>
@icetimux
icetimux / cdparanoia.md
Created September 1, 2021 16:19
cdparanoia rip as .wav

cdparanoia rip tracks 1-11 as .wav

cdparanoia -XBw 1-11
curl -T "file.txt" -u username:password https://example.com/upload
  1. Install the Heroku CLI
  2. Login to Heroku
heroku login
  1. Create a local git repository with the same name as your heroku app
cd myproject/
git init
brew unlink dnsmasq

brew install dnsmasq

brew prune

brew services restart dnsmasq

valet install
ctags -R --exclude=.git --exclude=node_modules --exclude=test --exclude=vendor .