racerxdl / measure.py
0 likes
0 forks
2 files
Last active 1 month ago
Linux Network Traffic Measure/Calculator Python Script
| 1 | #!/usr/bin/env python |
| 2 | |
| 3 | ''' |
| 4 | _______ ______ |
| 5 | |_ _\ \ / / ___| |
| 6 | | | \ \ / /\___ \ |
| 7 | | | \ V / ___) | |
| 8 | |_| \_/ |____/ |
| 9 | Teske Virtual System |
racerxdl / shutter.py
0 likes
0 forks
1 files
Last active 1 month ago
Remote GoPro SHutter and File downloader for GoPro Cameras
| 1 | #!/usr/bin/env python |
| 2 | import urllib |
| 3 | from urllib import urlencode |
| 4 | import urllib2 |
| 5 | from time import sleep |
| 6 | import os |
| 7 | from subprocess import Popen, PIPE |
| 8 | import Image |
| 9 | from cStringIO import StringIO |
| 10 | import signal |
racerxdl / download.sh
0 likes
0 forks
1 files
Last active 1 month ago
Photosynth Image Downloader - Just save as download.sh, give +x permission and execute: ./download.sh (NUM_PHOTOS-1) ID For http://photosynth.net/preview/view/bbea2bf0-baf1-4bc8-abdb-a45787116724 for example you would do ./download.sh 74 bbea2bf0-baf1-4bc8-abdb-a45787116724
| 1 | #!/bin/bash |
| 2 | |
| 3 | |
| 4 | for i in $(seq 0 $1) |
| 5 | do |
| 6 | wget http://cdn.photosynth.net/ps2/$2/packet/l1/img`printf %04d ${i%.*}`.jpg |
| 7 | done |
racerxdl / tvs_tools.py
0 likes
0 forks
1 files
Last active 1 month ago
TVS Tools from my Smart Monitor
| 1 | #!/usr/bin/python |
| 2 | #encoding:UTF-8 |
| 3 | |
| 4 | import os, smtplib, shutil, syslog, subprocess, cgi, commands, re, MySQLdb |
| 5 | from datetime import date, timedelta |
| 6 | from email.mime.multipart import MIMEMultipart |
| 7 | from email.mime.text import MIMEText |
| 8 | from htmlentitydefs import codepoint2name |
| 9 |
racerxdl / movemail.sh
0 likes
0 forks
1 files
Last active 1 month ago
Shell script to move emails from wrong folders
| 1 | #!/bin/bash |
| 2 | |
| 3 | for i in folder/* |
| 4 | do |
| 5 | if grep -q "Delivered-To: email@nobody" "$i" |
| 6 | then |
| 7 | mv "$i" destfolder/ |
| 8 | else |
| 9 | echo "NOK" # Doesnt have Delivery To |
| 10 | fi |
racerxdl / sscparser.js
0 likes
0 forks
1 files
Last active 1 month ago
Javascript Stepmania SSC File Parser
| 1 | var fs = require('fs'); |
| 2 | |
| 3 | function StripComments(data) { |
| 4 | return data.replace(/(?:\/\*(?:[\s\S]*?)\*\/)|(?:([\s])+\/\/(?:.*)$)/gm, '$1'); |
| 5 | } |
| 6 | |
| 7 | function CleanLines(data) { |
| 8 | if(data instanceof Array) { |
| 9 | for(var n in data) |
| 10 | data[n] = data[n].trim(); |
racerxdl / f2rawextract.cpp
0 likes
0 forks
1 files
Last active 1 month ago
Fiesta 2 AMF Raw Extract
| 1 | /* |
| 2 | _____ _ _ _____ ____ |
| 3 | | ___(_) ___ ___| |_ __ _| ___/ ___| |
| 4 | | |_ | |/ _ \/ __| __/ _` | |_ \___ \ |
| 5 | | _| | | __/\__ \ || (_| | _| ___) | |
| 6 | |_| |_|\___||___/\__\__,_|_| |____/ |
| 7 | |
| 8 | Fiesta 2 Raw Extract |
| 9 | |
| 10 | */ |