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
Zhook: Zip + HTML + Book. | |
DRAFT SPECIFICATION | |
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", | |
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this | |
document are to be interpreted as described in RFC 2119. | |
Software that displays a Zhook file is here called a Reading System (RS). |
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
9:00 PM <•SketchCow> #define SDL_XFER_SAMPLES (512) | |
9:01 PM <•Vito`> right | |
9:02 PM <•Vito`> and now set that library_sdl.js line to allow 512 | |
9:03 PM ⇐ BlueMaxim quit ([email protected]) Ping timeout: 265 seconds | |
9:03 PM <•SketchCow> if (SDL.audio.samples < 512 || SDL.audio.samples > 524288 /* arbitrary cap */) { | |
9:03 PM <•SketchCow> So, just as trivia | |
9:04 PM <•SketchCow> I do see some 1024 settings in that file | |
9:04 PM <•SketchCow> So this might break shit | |
9:04 PM <•SketchCow> But I agree, set to 512 | |
9:04 PM <•SketchCow> Make 1024 if needed |
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
4:55 AM <Lindrian> guys | |
4:55 AM <Lindrian> anyone, please? | |
4:55 AM <Lindrian> Ive been asking for help for days >.< | |
5:19 AM <Lindrian> clb: do you have any idea?? | |
5:20 AM <clb> Lindrian: sorry, no | |
5:20 AM <Lindrian> clb: if you happen to catch someone who does, could you ask them for me? | |
5:21 AM <Lindrian> you probably know more people using emscripten than i do | |
5:22 AM <clb> Lindrian: I've seen you asking for help for weeks now, I think you need to have the capability to research the problem field yourself and learn the required knowledge if there is nobody else that is familiar with the issue | |
5:23 AM <Lindrian> i have been searching extensively | |
5:23 AM <Lindrian> i have asked countless people |
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
remake[1]: *** [obj/sdl/mess/mess.o] Error 1 | |
#0 obj/sdl/mess/mess.o at ?? | |
#1 messtiny at /home/milianov/remess/jsmess/mess/makefile:869 | |
#2 emulator at /home/milianov/remess/jsmess/mess/makefile:812 | |
#3 default at /home/milianov/remess/jsmess/mess/makefile:764 | |
***Entering debugger because we encountered a fatal error. | |
***Exiting the debugger will exit make with exit code 1. |
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
# coding=utf-8 | |
__author__ = 'vitorio' | |
import bs4 | |
import argparse | |
import re | |
import requests | |
parser = argparse.ArgumentParser(description='Turn a Distance ePub file into something more web-appropriate') | |
parser.add_argument('epubfile', help='The Distance ePub file to read from') |
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
local sku = '309986300' | |
local zipcode = '10001' | |
local response = http.request { | |
url = 'https://rtgliveservices.cloudapp.net/Location/LocationService.svc/NearestSites?zipcode=' .. zipcode .. '&maxRadius=100' | |
} | |
local data = json.parse(response.content) | |
local sites = {} |
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
# via http://stackoverflow.com/questions/14903664/determine-unique-from-email-addresses-in-maildir-folder | |
import mailbox | |
import email | |
mbox = mailbox.mbox('DADEOL/AOL Mail sorted/Saved.DADEOL Sent.mbox') | |
uniq_emails = set(email.utils.parseaddr(msg['to'])[1].lower() for msg in mbox) | |
for a in uniq_emails: |
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
var page = require('webpage').create(), | |
system = require('system'), | |
t, address; | |
page.onConsoleMessage = function(msg) { | |
console.log(msg); | |
}; | |
if (system.args.length === 1) { | |
console.log('Usage: testmess.js <some URL>'); |
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
#CC0 public domain dedication | |
#Find all the EXIF fields with the letters "date" and output them and their content | |
import flickrapi | |
api_key = u'' | |
api_secret = u'' | |
my_photoset = u'' | |
my_user_id = u'' |
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
# Assumptions: | |
# moz-headless-screenshot in ./bin | |
# wget 1.12 in system path | |
# Ubuntu 10.10 defaults to Python 2.6.6 so we provide 2.7's subprocess module ourselves | |
# I guess we could also install 2.7 | |
import optparse, urlparse, tempfile, subprocess271 as subprocess, os.path | |
parser = optparse.OptionParser() | |
options, args = parser.parse_args() |
OlderNewer