Skip to content

Instantly share code, notes, and snippets.

View SYZYGY-DEV333's full-sized avatar

SYZYGY-DEV333 SYZYGY-DEV333

View GitHub Profile
@SYZYGY-DEV333
SYZYGY-DEV333 / rootfinder.py
Last active February 7, 2016 13:40
Polynomial root finder in Python. Quick and dirty, but it works. Have fun! :-)
#!/usr/bin/env python
# Polynomial Root Finder
# SYZYGY-DEV333
# Apache 2.0
print "Python Polynomial Root Finder"
print "Use '**' to mean '^'"
while 1 == 1:
@SYZYGY-DEV333
SYZYGY-DEV333 / autorun.inf
Last active February 12, 2016 18:51
Virus example in Batch. DO NOT USE FOR MALICIOUS PURPOSES.
[autorun]
open=drive-info.bat
action=Mount USB Drive
#!/usr/bin/env python
# Name of Program, version
# Author of program
# Discription
# Lisence
import os
print "Hello World!"
@SYZYGY-DEV333
SYZYGY-DEV333 / restart-program-20.sh
Last active January 9, 2016 00:46
A shell script to restart a program every 20 minutes.
#!/bin/bash
while :
do
sleep 1200
killall -I -q process-name
sleep 1
start-command
done