Skip to content

Instantly share code, notes, and snippets.

View tolsadus's full-sized avatar
🌴
On vacation

tolsadus tolsadus

🌴
On vacation
View GitHub Profile
@Au1st3in
Au1st3in / dayz_autorun.ahk
Last active September 1, 2023 17:03
DayZ AutoRun AutoHotKey Script with NumLock Toggle
#NoEnv
SendMode Input
#IfWinActive, DayZ
SetNumlockState, off
~NumLock::
if (GetKeyState("NumLock", "T")) {
Send, {lshift Down}
Send, {w Down}
@spikegrobstein
spikegrobstein / nginx.conf
Last active September 22, 2023 04:19
nginx config for proxying requests for plex over a hostname-based virtualhost.
upstream plex-upstream {
# change plex-server.example.com:32400 to the hostname:port of your plex server.
# this can be "localhost:32400", for instance, if Plex is running on the same server as nginx.
server plex-server.example.com:32400;
}
server {
listen 80;
# server names for this server.
@chrishulbert
chrishulbert / launchdexample.xml
Created February 21, 2012 10:13
launchd example plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.mycompanyname.mydepartment.mytaskname</string>
<key>ProgramArguments</key>
<array>
<string>/Users/myuser/Dashboard/mytask.sh</string>
</array>