This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14:38 <%mr_daemon> I really want to put all my (rather terrible) programming skills in Python right now, even if that means giving up Java momentarily. | |
14:39 <%mr_daemon> Because I fucking love Python, and I don't get to use it nearly enough to develop great skills | |
14:40 <@KniPhone> Python is so kawaii. | |
14:40 <@KniPhone> EVERYTHING SHOULD BE PYTHON | |
14:40 <@KniPhone> EVEN REALITY | |
14:41 <%mr_daemon> Well it's not suitable for some things | |
14:41 <%mr_daemon> but with ardeo I will be trying to blatantly ignore that | |
14:41 <@KniPhone> SUITABLE FOR EVERYTHING | |
14:41 <@KniPhone> :( | |
14:43 <%mr_daemon> It has a GIL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from web.core import Controller | |
class RootController(Controller): | |
def index(self): | |
return 'Hello world!' | |
if __name__ == '__main__': | |
import logging | |
from paste import httpserver | |
from web.core import Application |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Forums are 100% metamoderated | |
There are no privileged users or roles. | |
Votes are kept secret as well as their values, at all times. | |
You create one indentity as you login. | |
Authentication through SSO (openID/Facebook/Twitter...) | |
Login is done entirely through OpenID and requires no user data. | |
Each login must be /unique/. | |
All posts are anonymous but they affect mana | |
You get a new avatar for each unique thread you post in | |
Avatars only exist in the context of a thread. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Toggle CPU performance in a binary fashion. | |
# Alexandre Gauthier 2011-2012 | |
# | |
# Done out of disgust at how the example shell script in one of these | |
# "language-du-jour is better than a shell script" talks. | |
# | |
# Requirements --> | |
# Toggle the sysctl value of hw.setperf between '0' and '100'. | |
# Talk implied little error checking was done in shell scripts, which |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in `find /var/www -name wp-admin -type d` ; do unset host ; unset dir ; host=$(echo $i | cut -d '/' -f4) && echo -n ${host:?NOHOST} && dir=$(echo $i | sed 's/^\/var\/www\/[^/]\+\/htdocs\(\/[^/]*\)\/\?wp-admin/\1/') && echo ${dir:?NODIR} && sudo webapp-config -U -h ${host} -d $([[ ${dir} = "/" ]] && echo "/") ${dir#/} wordpress 3.0.5 ; if [ $? -ne 0 ] ; then logger -s -- "Webapp-Upgrade FAILED: $host -> $dir" ; fi ; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys,os | |
def CheckSDLLib(context): | |
""" | |
On Mac OS X, SDL seems to use the same ugly trick | |
it uses on Windows (redefining main() with SDLmain). | |
This wrecks CheckLibWithHeader() who creates a very simple | |
main(), which unfortunately won't match the prototype in SDL_main.h, | |
thus causing the check to fail. Boo! | |
No idea why it actually worked on Windows, though. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==================================================== | |
uw-devhost-manager 1.0-dev- | |
Copyright (c) Alexandre Gauthier 2010-2011 | |
Bootstrapping client glasnost | |
==================================================== | |
Apr 04 17:14:03: Creating base client directories... | |
Apr 04 17:14:06: Warning: Client Directory already exists! | |
Apr 04 17:14:06: Creating UNIX group glasnost | |
Apr 04 17:14:06: | |
Apr 04 17:14:06: Creating apache hosting space directories... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\buildroot\BaconDemo>scons | |
scons: Reading SConscript files ... | |
Building for Windows. | |
Checking for SDL...(cached) ok | |
scons: done reading SConscript files. | |
scons: Building targets ... | |
cl /Fosinescroller.obj /c sinescroller.c /MD /Ox /DMSVC /nologo "/IC:\Program Files\Microsoft Visual Studio 10.0\VC\INCL | |
UDE" "/IC:\Program Files\Microsoft SDKs\Windows\v7.0A\include" /IC:\SDL\include "/IC:\Program Files\Microsoft SDKs\Windo | |
ws\v7.1\INCLUDE" "/IC:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\gl" | |
sinescroller.c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20:48 %mr_daemon> Linus Torvalds created it and sent an email to a mailing list, which, transposed in IRC today would be | |
20:48 OceanSpray> You can't seriously claim that either of those are toys right now. | |
20:48 => You're now known as KnifaTorvalds | |
20:48 %KnifaTorvalds> guys | |
20:48 %KnifaTorvalds> lets | |
20:48 %KnifaTorvalds> make an operating system | |
20:48 %KnifaTorvalds> for i386 based computers | |
20:48 %KnifaTorvalds> it will never be big | |
20:48 %KnifaTorvalds> like minix | |
20:48 %KnifaTorvalds> but ! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sh ~/Dropbox/Codebits/homelandsecurity.sh | |
Giant ass fuck public homeland security leak | |
Bloody leaking sphincter fluid management control patch | |
Version 1.0a - (c) Anus-Tickler Faggots Fan Club Systems 2011-2012 | |
------------------------------------------------------------------- | |
Apply patch? [Y/N] y | |
MINITRUE: Correcting inaccuracies in history | |
Rewrite c9b974b6f5199f6ce3b20071f56c2a9a51f8ac93 (60/124) |