This file contains 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
# | |
# hitzSaveRead.py | |
# | |
# extract data from a PS2 NHL Hitz 20-02 save file (unknown if it works for xbox or GC saves) | |
# | |
import binascii | |
import pprint | |
FILENAME = 'hitzsave' |
This file contains 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 pyglet | |
from pyglet.window import key | |
vidPath="dog.mp4" | |
MediaLoad = pyglet.media.load(vidPath) | |
#window = pyglet.window.Window((MediaLoad.video_format.width,MediaLoad.video_format.height)) | |
window = pyglet.window.Window(resizable=True) | |
player = pyglet.media.Player() |
This file contains 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
videos= glob(join(dirname('.'), '*.mp4')) | |
keys=['a','s','d','f','g','h','j','k','l'] | |
videodict=dict(zip(keys,videos)) | |
class VideoLayout(FloatLayout): | |
def __init__(self, **kwargs): | |
super(VideoLayout, self).__init__(**kwargs) | |
self._keyboard = Window.request_keyboard(self._keyboard_closed, self) |
This file contains 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
["redis-brain.coffee", "shipit.coffee","tasks.coffee", "tell.coffee", "responders.coffee", "achievement_unlocked.coffee", "gif-me.coffee", "urban.coffee"] |
This file contains 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
{ | |
"nodes": | |
[ | |
{"name":"Client 1","group":1}, | |
{"name":"Loadbalancer 1","group":2}, | |
{"name":"Webserver 1","group":3}, | |
{"name":"Webserver 2","group":3}, | |
{"name":"Database 1","group":4}, | |
{"name":"Database 2","group":4} |
This file contains 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 requests, json | |
from subarucreds import username,password,pin # just a "subarucreds.py" that has some variables i didn't want to share | |
import datetime | |
#login | |
s=requests.Session() | |
loginr=s.post('https://www.mysubaru.com/login', data = {'username':username,'password':password}) | |
#should return a response 200 | |
#Where's my subaru? |