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
| import os, sys | |
| import ImageGrab | |
| import Image | |
| import urllib2 | |
| import win32clipboard | |
| #Slurp Client settings | |
| slurpUsername = "username" | |
| slurpPassword = "password" |
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
| Option Explicit | |
| Private Type MusicDB | |
| Title As Variant | |
| Artist As Variant | |
| ReleaseYear As Integer | |
| End Type | |
| Dim viewed As Boolean | |
| Dim searchstring As String | |
| Dim path As String | |
| Dim fileopen As Boolean |
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
| Option Explicit 'I forget what this does but it's good practice to use. | |
| Private Type MusicDB 'Instantiate private type for flat-file database. | |
| Title As Variant | |
| Artist As Variant | |
| ReleaseYear As Integer | |
| End Type | |
| 'Instantiate variables | |
| Dim viewed As Boolean 'Bool variable, determines if file has been viewed or not | |
| Dim searchstring As String 'String variable, defines what the last thing searched for was | |
| Dim path As String 'Path to the file in use |
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
| require 'rubygems' | |
| require 'net/http' | |
| require 'sqlite3' | |
| require 'hpricot' | |
| require 'open-uri' | |
| category_ids = [100, 200, 300, 400, 600] | |
| domain = 'thepiratebay.org' | |
| url = '/browse/%s/%s/3' |
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
| import sys | |
| import urllib # For BasicHTTPAuthentication | |
| import feedparser # For parsing the feed | |
| from textwrap import wrap | |
| _URL = "https://mail.google.com/gmail/feed/atom" | |
| users = [['usernames'],['passwords'],['name for each account']] | |
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
| Current conditions as of 9:50 PM GMT | |
| Fair | |
| Feels Like: | |
| -3 °C | |
| Barometer: | |
| 1,015.92 mb and steady | |
| Humidity: | |
| 91 % | |
| Visibility: |
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/bash | |
| cd /home/maff/downloads/kupfer | |
| tar xvf $1.tar.gz | |
| cd kupfer-$1 | |
| ./waf configure --prefix=/usr | |
| ./waf | |
| gksudo ./waf install | |
| killall /usr/lib/python | |
| cd .. | |
| rm -rf kupfer-$1 |
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
| prim = 1006715300258737517153797977627554475277170337033425229178637260151832787250683123774974903059149148740885836046105876842636196994953312702038908731078687604294151667710493949905267104133001418706162230966564070651880821344281694507024120672032445647737187539448358803929763339505148604908023222920128740659238180776381141651534114837389323369220973374958596158128235419159167760138076444579661180723 | |
| o = 1 | |
| roots = Array.new | |
| z = 0 | |
| r = 2 | |
| until r >= prim do | |
| k = r ** o | |
| k %= prim | |
| while k > 1 do | |
| o += 1 |
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 bash | |
| IFUP="/sbin/ifup" | |
| IFDN="/sbin/ifdown" | |
| PING="/bin/ping" | |
| WLAN="wlan0" | |
| PNGA="-c 1 -I $WLAN -W 1" | |
| PNGT="94.23.194.120" | |
| PNGF="8.8.8.8" | |
| PNGR="192.168.0.1" | |
| ITRA=0 |
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
| IF="eth0.2" | |
| _proto() { grep -Ei "^$1 " /etc/protocols|awk '{print $2}'; } | |
| _prio() { iseq $1 highest&&echo 10;iseq $1 high&&echo 15;iseq $1 bulk&&echo 20;iseq $1 low&&echo 30; } | |
| _tc() { /usr/sbin/tc $@; } | |
| _qdisc() { act=$1;shift;_tc qdisc $act dev $IF $@; } | |
| _add_qdisc() { _qdisc add $@; } | |
| _add_class() { par=$1;cid=$2;shift 2;_tc class add dev $IF parent $par classid $cid $@; } | |
| _add_filter() { dst=$1;shift;_tc filter add dev $IF protocol ip parent 1:0 prio 1 u32 match $@ flowid 1:$dst; } | |
| iseq() { [ "$1" == "$2" ];return $?; } | |
| clean() { _qdisc del root >/dev/null 2>&1;_qdisc del ingress >/dev/null 2>&1; } |
OlderNewer