vcent vcent

View backup_script.py
1 2 3 4 5 6 7 8 9
#!/usr/bin/python
 
import gzip
import subprocess
import os
import datetime
 
# Directories to Backup
dir_to_backup = '/var/www/'
View number_hack.py
1 2 3 4 5 6 7
import sys
import ctypes
pyint_p = ctypes.POINTER(ctypes.c_byte*sys.getsizeof(5))
five = ctypes.cast(id(5), pyint_p)
print(2 + 2 == 5) # False
five.contents[five.contents[:].index(5)] = 4
print(2 + 2 == 5) # True (must be sufficiently large values of 2 there...)
View LICENSE.txt
1 2 3 4 5 6 7 8 9 10
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
 
Copyright (C) 2011 Attila Incze <http://atimb.me>
 
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
 
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Something went wrong with that request. Please try again.