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 | |
import time | |
document = open("My Clippings.txt","r") | |
data = "".join(document.readlines()) | |
notes = [] | |
try: | |
clippings = data.split('==========') | |
for clip in clippings: |
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/local/bin/python | |
from BeautifulSoup import BeautifulSoup as bs | |
import urllib2 | |
import datetime | |
import sys | |
username = sys.argv[1] | |
def Export(username, pages): | |
for page in range(int(pages)): |
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/local/bin/python | |
from BeautifulSoup import BeautifulSoup as bs | |
import urllib2 | |
import datetime | |
import sys | |
username = sys.argv[1] | |
def Export(username, pages): | |
for page in range(int(pages)): |
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
#stop alle posities in een lijst | |
positions0 = [] | |
data = open("log2.txt","r") | |
for line in data: | |
position = line.replace('\n','').split(',') | |
positions0.append(position) | |
data.close | |
#print de lijst, maximale grootte: 536,870,912 items | |
positions1 = positions0 |
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 subprocess, os, sys | |
from varints import uvarintRead, uvarintsDecode | |
def main(): | |
signalName = sys.argv[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
import subprocess, os, sys | |
from datetime import datetime | |
import time | |
from varints import uvarintRead, uvarintsDecode | |
def main(): | |
signalName = sys.argv[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
import subprocess, os, sys | |
from varints import uvarintRead, uvarintsDecode | |
def main(): | |
signalName = sys.argv[1] | |
signal_repr = { | |
'mouse-pos': mouse_pos, | |
'input-idle': input_idle, |
NewerOlder