Skip to content

Instantly share code, notes, and snippets.

View mrdaemon's full-sized avatar

Alexandre Gauthier mrdaemon

View GitHub Profile
Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> def ass():
try:
return True
except:
return False
###
# Copyright (c) 2011, Rebecca Bettencourt
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions, and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright notice,
###
# Copyright (c) 2010, mr_daemon
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions, and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright notice,
# vim: ft=nginx:
server {
listen 80;
server_name files.glasnost.us;
rewrite ^ https://files.glasnost.us/$uri permanent;
}
server {
listen 443 ssl;
#!/bin/bash
while [[ -n $1 ]] ; do
(sleep "$1" ; echo -n "$1 " ) &
shift
done
wait
echo ""
for ass in (SELECT table_name FROM user_tables) loop
begin
execute immediate ( 'DROP TABLE '||ass.table_name );
end;
end loop;
begin
for ass in (SELECT 'DROP TABLE '||table_name||' CASCADE CONSTRAINTS' turd FROM user_tables)
loop
execute immediate ass.turd;
end loop;
end;
---- Minecraft Crash Report ----
// Daisy, daisy...
Time: 12/06/14 10:31 PM
Description: Exception in server tick loop
java.lang.NullPointerException
at codechicken.lib.world.WorldExtensionManager.preTick(WorldExtensionManager.java:239)
at codechicken.lib.world.WorldExtensionManager.access$400(WorldExtensionManager.java:25)
at codechicken.lib.world.WorldExtensionManager$WorldExtensionServerTickHandler.tickStart(WorldExtensionManager.java:160)
---- Minecraft Crash Report ----
// Everything's going to plan. No, really, that was supposed to happen.
Time: 13/06/14 8:56 PM
Description: Exception in server tick loop
java.lang.NullPointerException
at codechicken.lib.world.WorldExtensionManager.preTick(WorldExtensionManager.java:239)
at codechicken.lib.world.WorldExtensionManager.access$400(WorldExtensionManager.java:25)
at codechicken.lib.world.WorldExtensionManager$WorldExtensionServerTickHandler.tickStart(WorldExtensionManager.java:160)
#!/usr/bin/env bash
# HI CHANGE ME PLZ
SMOKEPING=/opt/smokeping/smokeping.fcgi
USER=www-data
PIDFILE=/var/run/smokeping-fcgid.pid
SOCKETF=/var/run/smokeping-fcgid.sock
# I'm sorry this is super barebones