Skip to content

Instantly share code, notes, and snippets.

Building Asteroids 2D Game for Kids

Micheal Colhoun colhountech

Building Asteroids 2D Game for Kids
View GitHub Profile
View disable ipv6 on ubuntu
# /etc/sysctl.conf:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
# reboot
sudo reboot
# sudo vi /etc/default/grub
# add
View disable cloudinit and purge
sudo touch /etc/cloud/cloud-init.disabled
sudo apt-get purge cloud-init
View fix-wsl2-dns-resolution.txt
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
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
colhountech / get-meta-gists.curl
Created Dec 12, 2015
get meta-info for all my gists
View get-meta-gists.curl
curl -H "Accept: application/vnd.github.v3+json" -k
colhountech / github-api-quickstart.url
Last active Dec 12, 2015
simple request to github endpoint using curl
View github-api-quickstart.url
curl -H "Accept: application/vnd.github.v3+json" -k