This file contains 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/bash | |
BASE_URL='https://aristo4stu3.bgu.ac.il/reports/rwservlet' | |
OUTPUT="$HOME/desktop/BGU-Schedule.pdf" | |
POST_DATA='cmdkey=PROD&server=rep_aristo4stu3_FRHome1&report=acrr008w&desformat=pdf&DESTYPE=cache&P_PATH=1&P_SPEC=1&P_YEAR_DEGREE=2&P_SORT=1&P_YEAR=2014&P_SEMESTER=1&P_INSTITUTION=0&P_DEGREE_LEVEL=1&P_DEPARTMENT=373&P_GLOBAL_COURSES=2&P_WEB=1&P_SPECIAL_PATH=0' | |
REFERER='http://bgu4u.bgu.ac.il/pls/scwp/!sc.personalCourseListRepHD' | |
curl --insecure --sslv3 --data $POST_DATA --output $OUTPUT --referer $REFERER $BASE_URL |
This file contains 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
# Many thanks to this guy for the code: | |
# http://stackoverflow.com/questions/11906925/python-simulate-keydown | |
import ctypes | |
LONG = ctypes.c_long | |
DWORD = ctypes.c_ulong | |
ULONG_PTR = ctypes.POINTER(DWORD) | |
WORD = ctypes.c_ushort |
This file contains 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
# This script is used to extract stock photos from a directory with a lot of | |
# individual zip files, where each zip normally contains one image with a | |
# cryptic filename. | |
import zipfile | |
from glob import glob | |
from os import rename | |
def extract_file(member, zfile, filename): |
This file contains 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/python | |
import os | |
import uuid | |
# Data gathered from a single host will be stored here (on that same host) | |
DATA_PATH = "/home/icedragon/probe-result" | |
#--- INTERFACE PROBING --------------------------------------------------------- |
This file contains 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
namespace Ship_Components | |
{ | |
public class Battery : IPowerSupply, ITickUpdatable | |
{ | |
const string DefaultBreakReason = "Unknown"; | |
public Battery() | |
{ | |
this.isBroken = false; | |
this.port = new PowerPort(this); |
This file contains 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
/* .-=[ rch2extract ]======================================================-. *\ | |
* | RCH 2.0 File Extractor 0.1 (c) 2007 by IceDragon of QuickFox.org | * | |
* |---------------------------------------------[ [email protected] ]-| * | |
* | This little program finds and extracts the RCH2 package from DEP's | * | |
* | Furcadia installer executable (furcsetup*.exe) and stores it on disk | * | |
* | for further manipulation. | * | |
* | | * | |
* | This program is fully compatible with compatible with furcsetup023.exe | * | |
* | and furcsetup024.exe installers. Others were not tested, but should | * | |
* | work regardless. | * |
This file contains 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
/* .-=[ temp.c ]===========================================================-. *\ | |
* | Command-Line Temperature Utility (c) 2008 by IceDragon of QuickFox.org | * | |
* |------------------------------------------------------------------------| * | |
* | This small utility will display temperature in celsius, fahrenheit and | * | |
* | kelvin, judging by which element did the user specify. Its mainly | * | |
* | purpose in life is to be a quick temperature convertor for when needed | * | |
\* '-======================================================================-' */ | |
#include <stdio.h> | |
#include <stdlib.h> |
This file contains 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
# .-= sjdownload.py ========================================================-. # | |
# | Suburban Jungle Download Script (c) 2008 by IceDragon of QuickFox.org | # | |
# |--------------------------------------------------------------------------| # | |
# | This script attempts to automatically download and sort the entire | # | |
# | archive of the Suburban Jungle comic strip, grabbing the archive page, | # | |
# | determining section/subsection names and downloading all the image files | # | |
# | to disk. | # | |
# | | # | |
# | Please do not abuse the capabilities of this script - it was built with | # | |
# | good intensions. | # |
This file contains 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
# .-= caddownload.py =======================================================-. # | |
# | Ctrl-Alt-Del Download Script (c) 2008 by IceDragon of QuickFox.org | # | |
# |--------------------------------------------------------------------------| # | |
# | This script will automatically download the entire C.A.D archives. | # | |
# | | # | |
# | Please do not abuse the capabilities of this script - it was built with | # | |
# | good intensions. | # | |
# '-========================================================================-' # | |
###--# Imports #--### |
This file contains 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
# .-=[ fdfc.py ]============================================================-. # | |
# | Furcadia Data Flow Corrector 1.0 (c) by IceDragon of QuickFox.org | # | |
# |==========================================================================| # | |
# | This script aims to try and improve connectivity between Furcadia client | # | |
# | and the Furcadia file server along with providing debugging ground for | # | |
# | unusual fileserver behavior. This script was made for Farren Dustfur as | # | |
# | an attempt to deal with his download stalls on dialup... Hope it works. | # | |
# '-========================================================================-' # | |