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
# Imports | |
from wordpress_xmlrpc import Client, WordPressPost | |
from wordpress_xmlrpc.methods.posts import GetPosts, NewPost | |
from wordpress_xmlrpc.methods.users import GetUserInfo | |
import markdown | |
import sys | |
import webbrowser | |
# Converts a markdown file to a post and asks for titles, tags and categories | |
def post(f): |
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
test |
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
Furious Gulf (Gregory Benford) | |
- Highlight on Page 160 | Loc. 2445 | Added on Tuesday, August 16, 2011, 07:54 PM | |
They plunged toward the boundary sheet of the ergosphere. | |
========== | |
Furious Gulf (Gregory Benford) | |
- Highlight on Page 173 | Loc. 2640 | Added on Tuesday, August 16, 2011, 09:26 PM | |
“peribarythron.” | |
========== |
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 serial | |
import pusher | |
# Serial Port | |
print 'Setting up serialport' | |
s = serial.Serial('/dev/tty.Bluetooth_Bee_V2-DevB') | |
# Websocket | |
#print 'Creating Websocket' | |
#from websocket import create_connection |
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
# Imports | |
from ZeoRawData.BaseLink import BaseLink | |
from ZeoRawData.Parser import Parser | |
from ZeoRawData.Utility import filter60hz | |
d = open('data.txt', 'w') | |
d.write('timestamp,delta,theta,alpha,beta,gamma\n') | |
def eventCallback(self, timestamp, version, event): | |
print event |
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
# Imports | |
from ZeoRawData.BaseLink import BaseLink | |
from ZeoRawData.Parser import Parser | |
from websocket import create_connection | |
def eventCallback(self, timestamp, version, event): | |
print event |
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('==========') |
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
# Imports | |
from ZeoRawData.BaseLink import BaseLink | |
from ZeoRawData.Parser import Parser | |
import OSC | |
def eventCallback(self, timestamp, version, event): | |
# For debugging | |
print event | |
def sliceCallback(slice): |
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
<html> | |
<head> | |
<title>Tilemap</title> | |
</head> | |
<body> | |
<div style="position: absolute; top: 50px; left: 50px;"> | |
<canvas id="canvas" width="512" height="512"> | |
Your browser does not support the HTML 5 Canvas. |
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
<html> | |
<head> | |
<title>Tilemap</title> | |
</head> | |
<body> | |
<div style="position: absolute; top: 50px; left: 50px;"> | |
<canvas id="canvas" width="512" height="512"> | |
Your browser does not support the HTML 5 Canvas. |