.--.
`. \
\ \
. \
: .
| .
| :
| |
..._ ___ | |
`."".`''''""--..___ | |
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
''' | |
tor url | |
16 chars | |
[a-z2-7]{16} | |
how to generate every possible tor url? | |
https://stackoverflow.com/questions/579687/how-do-i-copy-a-string-to-the-clipboard-on-windows-using-python | |
''' | |
from tkinter import Tk |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <math.h> | |
/* | |
* Define decent number | |
* digits are either 3 or 5 | |
* quantity of 3 is divisible by 5 | |
* quantity of 5 is divisible by 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
#!/usr/bin/env python3 | |
#written after relaxing | |
import os, random | |
board = [str(i) for i in range(9)] | |
def checkIfWin(board): | |
#diagnols | |
diag1,diag2 = set(),set() | |
for i in range(3): | |
pos = i*3 + i |
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
https://apollo.stjohns.edu/sjusis/bwckschd.p_disp_listcrse?term_in=201570&subj_in=ACC&crse_in=1007&crn_in=74814 | |
https://apollo.stjohns.edu/sjusis/bwckschd.p_disp_listcrse?term_in=201570&subj_in=ACC&crse_in=1007&crn_in=74815 | |
https://apollo.stjohns.edu/sjusis/bwckschd.p_disp_listcrse?term_in=201570&subj_in=ACC&crse_in=1007&crn_in=74816 | |
https://apollo.stjohns.edu/sjusis/bwckschd.p_disp_listcrse?term_in=201570&subj_in=ACC&crse_in=1007&crn_in=74817 | |
https://apollo.stjohns.edu/sjusis/bwckschd.p_disp_listcrse?term_in=201570&subj_in=ACC&crse_in=1007&crn_in=74818 | |
https://apollo.stjohns.edu/sjusis/bwckschd.p_disp_listcrse?term_in=201570&subj_in=ACC&crse_in=1007&crn_in=74819 | |
https://apollo.stjohns.edu/sjusis/bwckschd.p_disp_listcrse?term_in=201570&subj_in=ACC&crse_in=1007&crn_in=74916 | |
https://apollo.stjohns.edu/sjusis/bwckschd.p_disp_listcrse?term_in=201570&subj_in=ACC&crse_in=1007&crn_in=75637 | |
https://apollo.stjohns.edu/sjusis/bwckschd.p_disp_listcrse?term_in=201570&subj_in=ACC&crse_in=1007&crn_in=76857 | |
https://apollo.s |
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
/** | |
* Here's a turing machine that fits into a tweet with an example program. | |
* Tweet: https://twitter.com/mrrrgn/status/630419814666780673 | |
* Gif: http://i.imgur.com/4t31zA2.gif | |
* Turing machines: https://www.youtube.com/watch?v=dNRDvLACg5Q | |
* | |
* This this is neat? Consider following me for more computer silliness: | |
* twitter.com/mrrrgn or visit my blog linuxpoetry.com | |
**/ |
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
#p1 | |
def p1(nums): | |
fsum = 0 | |
wsome = 0 | |
for num in nums: | |
fsum += num | |
c = 0 | |
while c < len(nums): | |
wsome += nums[c] |
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/python2.7 | |
import json, urllib2, time, pickle | |
FOURCHAN_BASE_URL = 'http://a.4cdn.org/pol/threads.json' | |
FOURCHAN_THREAD_URL = 'http://a.4cdn.org/pol/res/' | |
PICKLE_FILE = '' | |
''' | |
Thread class | |
represents a thread containing |