Skip to content

Instantly share code, notes, and snippets.

View anacrolix's full-sized avatar
🏹
Pew pew

Matt Joiner anacrolix

🏹
Pew pew
View GitHub Profile
@anacrolix
anacrolix / tibiavia.md
Last active April 16, 2024 05:00
medivia vs tibia

things tibia got right:

  • the music and sounds are actually really good
  • auto loot.
  • getting rid of bags in monsters
  • fixing the bag spam in public places
  • updating some of the older areas, especially the towns like edron.
  • stacked runes. omfg

things tibia got wrong:

  • training weapons
local kwargs = {}
for i, k in ipairs(KEYS) do
kwargs[k] = table.remove(ARGV, 1)
end
local pop_kwargs = function (name, required)
local value = kwargs[name]
if value == nil then
if required then
error(string.format("missing key %q", name))
Netherlands 93.158.213.92 udp://tracker.opentrackr.org:1337/announce
Netherlands 93.158.213.92 http://tracker.opentrackr.org:1337/announce
France Roubaix 151.80.120.115 udp://9.rarbg.com:2810/announce
France Roubaix 151.80.120.112 udp://9.rarbg.com:2810/announce
France Roubaix 151.80.120.114 udp://9.rarbg.com:2810/announce
France Roubaix 151.80.120.113 udp://9.rarbg.com:2810/announce
United Kingdom 45.154.253.5 udp://tracker.openbittorrent.com:6969/announce
United Kingdom 45.154.253.6 udp://tracker.openbittorrent.com:6969/announce
United Kingdom 45.154.253.4 udp://tracker.openbittorrent.com:6969/announce
United Kingdom 45.154.253.7 udp://tracker.openbittorrent.com:6969/announce
@anacrolix
anacrolix / fuck.sh
Last active March 22, 2022 07:58
Removing stolon keeper from Fly.io postgres-ha
fly ssh console -a <postgres app>
export $(cat /data/.env | xargs)
stolonctl removekeeper <keeper id>
anacrolix@anacrolix-mbp-2018:~/src/replica-haskell$ cabal v2-repl
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: replica-haskell-0.1.0.0 (user goal)
[__1] next goal: base (dependency of replica-haskell)
[__1] rejecting: base-4.14.1.0/installed-4.14.1.0, base-4.15.0.0,
base-4.14.1.0, base-4.14.0.0 (constraint from project config TODO requires
==4.13.0.0)
[__1] rejecting: base-4.13.0.0 (constraint from non-upgradeable package
requires installed instance)
async def sendto(self, bytes, addr):
try:
await self.socket.sendto(
bytes, addr,
)
finally:
exc_value = sys.exc_info()[1]
if exc_value is not None:
exc_value = str(exc_value)
with self.db_conn:
use "net"
use "logger"
use "time"
actor Main
new create(env: Env) =>
let auth =
try
use "net"
actor Main
new create(env: Env) =>
let auth =
try
env.root as AmbientAuth
else
env.err.print("couldn't get auth")
use "net"
actor Main
new create(env: Env) =>
let auth =
try
env.root as AmbientAuth
else
env.err.print("couldn't get auth")
use "net"
use "logger"
use "time"
actor Main
new create(env: Env) =>
let auth =
try