Skip to content

Instantly share code, notes, and snippets.

extends Node2D
export(String, DIR) var levelsPath
func _ready():
print("-----------------------------------------------------------")
print("Start Directory walk: "+ levelsPath)
print("-----------------------------------------------------------")
print("-----------------------------------------------------------")
print("Start Recursive Depth First Walk")
@saghul
saghul / gist:d21fa3788af9f3681caf
Created July 31, 2014 11:10
Error building mingw-w64-lame
$ makepkg-mingw -L --nocheck
=> WARNING: You don't have installed mingw-w64 toolchain for architecture x86_64.
=> WARNING: To install it run: 'pacman -S mingw-w64-x86_64-toolchain'
==> Making package: mingw-w64-i686-lame 3.99.5-2 (Thu, Jul 31, 2014 1:06:24 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading lame-3.99.5.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
@willurd
willurd / web-servers.md
Last active October 13, 2025 11:18
Big list of http static server one-liners

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.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000