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
#!/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
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
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
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
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
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
import os, sys | |
import ImageGrab | |
import Image | |
import urllib2 | |
import win32clipboard | |
#Slurp Client settings | |
slurpUsername = "username" | |
slurpPassword = "password" |
NewerOlder