Skip to content

Instantly share code, notes, and snippets.

Tom Naessens Silox

  • Zeus WPI
  • Belgium
Block or report user

Report or block Silox

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:d736a8eb84ceded69e87d262c4899190
Computer Information:
Manufacturer: Apple
Model: MacBookAir6,2
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz
CPU Family: 0x6
View gist:d34f2d160332245ae5ad
0 errors found
Django version 1.4.5, using settings 'testapp.settings'
Development server is running at
Quit the server with CONTROL-C.
[08/Jul/2014 16:02:05] code 400, message Bad HTTP/0.9 request type ('\x16\x03\x01\x00\xab\x01\x00\x00\xa7\x03\x03S\xbb\xf9\xddb\xc5\x9b\x91P\xb2\xa4m\x8e\x97\xa9\xaf\xae\xb2-\xca\xb1\xf6\xdd\x02')
[08/Jul/2014 16:02:05] "??S???bś?P??m??????-ʱ?? ?i??XMJ??$?#?" 400 -
[08/Jul/2014 16:02:05] code 400, message Bad request syntax ("\x16\x03\x01\x00\xab\x01\x00\x00\xa7\x03\x03S\xbb\xf9\xdd\xa8\x1f\x9ea\xeecb\xb0n'\xb7^h\x8d\xef\xfc\x89\xbb\xe7\x98\x8f\xd7\\\xd1\xc9C\x07u\x00\x00J\x00\xff\xc0$\xc0#\xc0")
[08/Jul/2014 16:02:05] "??S??ݨ?a?cb?n'?^h?????瘏?\??CuJ??$?#?" 400 -
[08/Jul/2014 16:02:05] code 400, message Bad request syntax ('\x16\x03\x01\x00\x9b\x01\x00\x00\x97\x03\x01S\xbb\xf9\xdd\x8c\x16\xb7\x13d\xee01\\\xfaL\xb6\xb6\xc1\xd0R8\xe2kuq6<Agn\xa78\x00\x00J\x00\xff\xc0$\xc0#\xc0')
[08/Jul/2014 16:02:05] "??S??݌?d?01\?L????R8?kuq6<Agn?8J??$?#?" 400 -
View gist:89c957307b6ebad7e1a4
import distutils.command.bdist_rpm as orig
class bdist_rpm(orig.bdist_rpm):
Override the default bdist_rpm behavior to do the following:
1. Run egg_info to ensure the name and version are properly calculated.
2. Always run 'install' using --single-version-externally-managed to
disable eggs in RPM distributions.
3. Replace dash with underscore in the version numbers for better RPM
View Silly spambot detection
// Silly spambot detection
if(strpos($name, ' ') != -1 && (
preg_match("#^[a-z]*, http://www.[a-z]*.com [a-z]*$#", $comment) ||
preg_match("#^[a-z]*, \[url=http://www.[a-z]*.com\][a-z]*\[/url\]$#", $comment)
) throw new Exception();
You can’t perform that action at this time.