Skip to content

Instantly share code, notes, and snippets.

var compressor = null;
function sharedCompressor()
{
if (!compressor) { print("here...");
compressor = OS.popen("java -server -Dfile.encoding=UTF-8 -classpath " + RHINO_PATH + ":" + SHRINKSAFE_PATH + " org.dojotoolkit.shrinksafe.Main");print("ok!");
}
return compressor;
}
public static void main(String[] args) {
Scanner scanner = new Scanner(new BufferedInputStream(System.in), "UTF-8");
String string = "";
while (true)
{
Scanner lineScanner = new Scanner(scanner.nextLine());
ArrayList options = new ArrayList();
ABD FOR: (?<=\.)(s(ystemLanguage|cr(ipts|ollbars|een(X|Y|Top|Left))|t(yle(Sheets)?|atus(Text|bar)?)|ibling(Below|Above)|ource|uffixes|e(curity(Policy)?|l(ection|f)))|h(istory|ost(name)?|as(h|Focus))|y|X(MLDocument|SLDocument)|n(ext|ame(space(s|URI)|Prop))|M(IN_VALUE|AX_VALUE)|c(haracterSet|o(n(structor|trollers)|okieEnabled|lorDepth|mp(onents|lete))|urrent|puClass|l(i(p(boardData)?|entInformation)|osed|asses)|alle(e|r)|rypto)|t(o(olbar|p)|ext(Transform|Indent|Decoration|Align)|ags)|SQRT(1_2|2)|i(n(ner(Height|Width)|put)|ds|gnoreCase)|zIndex|o(scpu|n(readystatechange|Line)|uter(Height|Width)|p(sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(i(splay|alog(Height|Top|Width|Left|Arguments)|rectories)|e(scription|fault(Status|Ch(ecked|arset)|View)))|u(ser(Profile|Language|Agent)|n(iqueID|defined)|pdateInterval)|_content|p(ixelDepth|ort|ersonalbar|kcs11|l(ugins|atform)|a(thname|dding(Right|Bottom|Top|Left)|rent(Window|Layer)?|ge(X(Offset)?|Y(Offset)?))|r(o(to(col|type)|duct(Sub)?|mpter)|e(vious|fix)))|e(n(codi
#!/bin/bash
# replaces the Chrome executable with a script which calls the original executable with the -allow-file-access-from-files argument.
# pass the path to the Chrome executable as the first argument.
original_path="$1"
base="$(basename "$original_path")"
new_path="$(dirname "$original_path")/$base-bin"
if [ ! -f "$original_path" ] || [ ! -x "$original_path" ]; then
Objective-J / Objective-C differences:
1. No @interfaces, just combine the @interface with @implementation:
@implementation MyGreatClass : CPObject
{
CPString myString;
}
- (id)init