Skip to content

Instantly share code, notes, and snippets.

View colhountech's full-sized avatar
💭
Building stuff. Follow on twitter for updates

Micheal Colhoun colhountech

💭
Building stuff. Follow on twitter for updates
View GitHub Profile
sudo touch /etc/cloud/cloud-init.disabled
sudo apt-get purge cloud-init
1. Create a file: /etc/wsl.conf.
2. Put the following lines in the file in order to ensure the your DNS changes do not get blown away
[network]
generateResolvConf = false
3. In a cmd window, run wsl --shutdown
4. Restart WSL2
5. Create a file: /etc/resolv.conf. If it exists, replace existing one with this new file.
6. Put the following line in the file
https://gist.github.com/spikegrobstein/4384954
@colhountech
colhountech / get-meta-gists.curl
Created December 12, 2015 16:29
get meta-info for all my gists
curl https://api.github.com/users/colhountech/gists -H "Accept: application/vnd.github.v3+json" -k
@colhountech
colhountech / github-api-quickstart.url
Last active December 12, 2015 16:26
simple request to github endpoint using curl
curl https://api.github.com/users/colhountech -H "Accept: application/vnd.github.v3+json" -k