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
#!/bin/sh | |
gcc zelda_beep.c -o zelda_beep | |
# set the setuid bit to allow anyone to run this as root | |
sudo chown root:root zelda_beep | |
sudo chmod 4755 zelda_beep | |
./zelda_beep |
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
#!/bin/python | |
import os | |
PREFIX_LINE = '+--- ' | |
PREFIX_END = '\--- ' | |
SPACE = ' ' | |
def main(): |
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 python | |
from gimpfu import * | |
import math | |
def python_gif_rotate(image, base_layer, rotation=360, amount=60, time=1000, clockwise=True, | |
center_auto=True, center_x=0, center_y=0, auto_resize=True): | |
step_rot = rotation / amount | |
if not clockwise: |