Skip to content

Instantly share code, notes, and snippets.

@jul
jul / get_unbound_adblock.sh
Last active September 3, 2025 09:51
update unbound adblocklist
#!/bin/bash
#
# FUCKING PUBLIC LICENCE
# This code belongs to me [email protected]/@obnoxiousJul and all (insert <#alias>) contributing in making it fun.
# And fucking stop being Pissenlit Würzel Schleckers met bigoudis with open source devs and maintainers
# v 0.6 updated source of doh, and oisd, works on linuxmint, use always_null from unbound for adblocking
# v 0.5.1 cross devuan/debian restarting of unbound
# v 0.5 having fun
[13:07:30] <mitsuhiko> does anyone have any ideas why upstart sometimes i unable to pickup changes?
[13:07:41] <mitsuhiko> how does one go about debugging upstart?
[13:13:39] jodh ([email protected]) left IRC. (Ping timeout: 265 seconds)
[13:17:24] jodh ([email protected]) joined the channel.
[13:29:39] <mitsuhiko> does this ring a bell to anyone? https://gist.github.com/5f9061af79bb8b38d240
[13:29:59] Md (~md@freenode/staff/md) joined the channel.
[13:30:00] <mitsuhiko> service start just hangs
[13:31:14] <mitsuhiko> i can confirm it does not even manage to start the executable
[13:31:19] <mitsuhiko> god knows what it waitpids for
[13:32:43] robotfuel (~robotfuel@ubuntu/member/robotfuel) joined the channel.
@jul
jul / python_makes_me_sexy.py
Created April 28, 2012 21:55
telling a story in python
#!/usr/bin/env python
me = "freaky"
print "before I was %s" % me
from re import compile as cum
twist = lambda x : str(x).encode("rot-13")
D = 8
print "I was always thinking of s%sx" % chr(int( "".join(reduce( lambda x : x+y , cum("(.)(.)").findall("69") ))))
print "coding transformed me the following way"
print "I became %s" % (8==D and twist(cum( "(.)(.).(y)").sub( twist("x") + 'v' + twist(chr(69)) + chr(69), me)))