Skip to content

Instantly share code, notes, and snippets.

View rbange's full-sized avatar
👋

Roman Bange rbange

👋
View GitHub Profile
@MikeInnes
MikeInnes / startup.jl
Last active February 5, 2023 12:54
Some useful macros for Julia
# Repeat an operation n times, e.g.
# @dotimes 100 println("hi")
macro dotimes(n, body)
quote
for i = 1:$(esc(n))
$(esc(body))
end
end
end
@SysADMINsLife
SysADMINsLife / gist:7319773
Created November 5, 2013 14:24
Teamspeak 3 Server Debian Startup Script
#!/bin/sh
### BEGIN INIT INFO
# Provides: teamspeak3
# Required-Start: $local_fs $network
# Required-Stop: $local_fs $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Description: Teamspeak 3 Server
### END INIT INFO