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
<?php | |
define('AUDIO', 0x08); | |
define('VIDEO', 0x09); | |
define('SCRIPT_DATA', 0x12); | |
define('FRAME_TYPE_INFO', 0x05); | |
define('CODEC_ID_AVC', 0x07); | |
define('CODEC_ID_AAC', 0x0A); | |
define('AVC_SEQUENCE_HEADER', 0x00); | |
define('AAC_SEQUENCE_HEADER', 0x00); | |
define('AVC_NALU', 0x01); |
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
// ==UserScript== | |
// @name StreamDownloader Avustin | |
// @namespace StreamDownloader | |
// @description StreamDownloader avustin | |
// @include http://areena.yle.fi/tv/* | |
// @include http://*ruutu.fi/* | |
// @include http://www.katsomo.fi/?progId=* | |
// @version 2 | |
// @grant none | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js |
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
$path = "C:\SnapRaid\" | |
$exepath = $path + "snapraid.exe" | |
$config = $path +"snapraid.conf" | |
$config_shadow = $path + "snapraid_shadow2.conf" | |
$data = Get-Content $config | |
$file = New-Object System.IO.StreamWriter $config_shadow | |
$now = Get-Date | |
$logfile = $path + "SnapRAID-$(get-date -format yyMMdd-HHmmss).log" | |
$log = New-Object System.IO.StreamWriter $logfile |
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
import urllib, urllib.request | |
import http, http.cookiejar | |
import re | |
import argparse | |
parser = argparse.ArgumentParser() | |
parser.add_argument("id") | |
args = parser.parse_args() | |
m3 = re.search('(\d+)$', args.id) |
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
// ==UserScript== | |
// @name SteamGifts.com - Endless Scroll | |
// @namespace madjoki | |
// @include http://www.steamgifts.com/* | |
// @version 26 | |
// @grant none | |
// @run-at document-end | |
// ==/UserScript== | |
(function () { |