I hereby claim:
- I am Taiiwo on github.
- I am taiiwo (https://keybase.io/taiiwo) on keybase.
- I have a public key whose fingerprint is 829A FAFF 61F4 0039 61E9 8C22 3D96 3D35 C4DB DF56
To claim this, I am signing this object:
| <link href="../core-icon-button/core-icon-button.html" rel="import"> | |
| <link href="../core-toolbar/core-toolbar.html" rel="import"> | |
| <link href="../core-icons/core-icons.html" rel="import"> | |
| <link href="../paper-icon-button/paper-icon-button.html" rel="import"> | |
| <link href="../paper-tabs/paper-tabs.html" rel="import"> | |
| <link href="../paper-tabs/paper-tab.html" rel="import"> | |
| <link href="../core-pages/core-pages.html" rel="import"> | |
| <polymer-element name="my-element"> |
| def compress(data): | |
| # format data | |
| data = data.replace(" ", "") | |
| data = data.replace("\n", "") | |
| # find an unused pattern | |
| i = 0; | |
| while i < len(data): | |
| pattern = bin(i)[2:] | |
| if pattern not in data and pattern[0] != '0': | |
| break |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
You'll need to download a copy of the script.
You can download the script here: https://gist.github.com/Taiiwo/1cdf439c0cf46fe8add6/archive/044e6ac059ce37afbc132ef05eb3f6549ebe8381.zip
You're going to need a CSV file of just the first and last names, so just make a copy of the file, delete all of the other columns (Leaving First and last name as the first two collumns), and save the file as a .csv (Under "Download as" in Google Sheets).
| import socket | |
| import thread | |
| import re | |
| class IRCd: | |
| debug = True | |
| servername = socket.getfqdn("")[:140] | |
| events = [] | |
| handlers = {} | |
| def __init__(self, host="127.0.0.1", port=6667): |
| import sys, thread, time | |
| # define some settings | |
| threads = 4 | |
| logname = "log.log" | |
| def getprimes(rangemin, rangemax, log): # This function returns all primes between | |
| # rangemin and rangemax, and puts them into log | |
| if rangemin % 2 == 0: # if number is divisible by 2 | |
| rangemin += 1 #make odd | |
| while rangemin < rangemax: #make sure we don't search over the specified number |
| <script> | |
| var num = []; | |
| var total = 0; | |
| for (var i = 0; i < 10; i++) {// for i as each number between 0 and 9: | |
| num.push(parseInt(prompt()));// ask for a number | |
| } | |
| for (i=0; i < num.length; i++){// for i as each number in num.length: | |
| total += num[i];// total equals itself plus the current number in num | |
| } | |
| </script> |
| prime_count = 1 | |
| start_number = 2 | |
| number_to_check = 2 | |
| while prime_count <= 100: | |
| result = number_to_check % start_number | |
| if result > 0: | |
| start_number +=1 | |
| elif result == 0: |
| """Inspired by /g/sicp's bot's threadsearching module | |
| https://github.com/gentoomen/bhottu/blob/master/modules/threadsearch.py | |
| irc.rizon.net #/g/sicp | |
| Search intensity added by Taiiwo - github.com/Taiiwo | |
| Usage: python 4chansearch.py "1" 2 3/4 | |
| 1: String to search for | |
| 2: Board letter | |
| 3: all: Search every reply to every thread on the board |