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 MethodeBridge = function(){ | |
var self = {}, app; | |
try { | |
app = external.EomQueryInterface('Methode.Application'); | |
} catch(e) { | |
} | |
if (!app) return false; | |
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
package com.nik; | |
import org.eclipse.swt.*; | |
import org.eclipse.swt.events.KeyEvent; | |
import org.eclipse.swt.layout.FillLayout; | |
import org.eclipse.swt.layout.GridLayout; | |
import org.eclipse.swt.widgets.*; | |
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
BigNum = -> | |
@convert = (string) -> | |
em = [] | |
temp = string.split("").reverse() | |
em[i] = Number(temp[i]) for i in [0..temp.length-1] | |
return em | |
@shiftUp = (op,index) -> | |
op[index] = 0 unless op[index] | |
op[index]++ if op[index] < 9 |
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 dres = function(rescb,cb) { | |
return function(dberr,res){ | |
var err = {}; | |
if(dberr){console.log(dberr); err["DBC-ERR-00"] = "There was an issue commiting this"; rescb(err,null); return;} | |
cb(res); | |
}; | |
}; | |
this.getUserInfo = function(obj,cb) { | |
var err = {}; |
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
HTML reporting files will be stored in /var/folders/jg/w8vsg1hn4rb_bs1j_x5spnm80000gp/T/d-113519-9170-1xv98xy | |
Proxy server running on port 8080 | |
http://brightsolar.com.au/ | |
http://brightsolar.com.au/js/jquery.min.js | |
http://brightsolar.com.au/js/jquery.stickyscroll.js | |
http://brightsolar.com.au/css/normalize.css | |
http://brightsolar.com.au/css/fonts.css | |
http://brightsolar.com.au/css/skeleton.css | |
http://brightsolar.com.au/css/base.css | |
http://brightsolar.com.au/css/superfish.css |
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
switch opcode & 0xF000 | |
when 0x0000 then | |
switch opcode | |
when 0x00E0 then #CLS | |
when 0x00EE then #RET | |
when 0x1000 then #JP addr | |
pc = opcode & 0xFFF |
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
switch opcode & 0xF000 | |
when 0x0000 then | |
switch opcode | |
when 0x00E0 then #CLS | |
when 0x00EE then #RET | |
when 0x1000 then #JP addr | |
pc = opcode & 0xFFF |
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
#!/bin/bash | |
while getopts :u: opt | |
do | |
# normally you'd process options and arguments here, | |
# but in this case just ignore them | |
done | |
shift $((OPTIND-1)) # throw out processed options and arguments | |
exec "$@" |
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 subprocess, sys | |
for i, arg in enumerate(sys.argv[1:]): | |
if arg[0] != '-': | |
subprocess.Popen(sys.argv[i:]).wait() |