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
Bi-directional Text USABILITY_ACCESSIBILITY RtlHardcoded Looks for hardcoded left/right constants which could be start/end for bidirectional text | |
Correctness INSTRUCTION_RELIABILITY InOrMmUsage Looks for use of the mm or in dimensions | |
Correctness INSTRUCTION_RELIABILITY InconsistentLayout Checks that layout variations are consistent | |
Correctness INSTRUCTION_RELIABILITY InvalidPackage Finds API accesses to APIs that are not supported in Android | |
Correctness INSTRUCTION_RELIABILITY LibraryCustomView Flags custom attributes in libraries, which must use the res-auto-namespace instead | |
Correctness INSTRUCTION_RELIABILITY LocalSuppress Looks for @SuppressLint annotations in locations where it doesn't work for class based checks | |
Correctness INSTRUCTION_RELIABILITY MissingSuperCall Looks for overriding methods that sh |
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 | |
function alert_user { | |
echo "${1}" | |
which -s growlnotify && growlnotify `basename $0` -m "${1}" | |
} | |
function exit_ko { | |
alert_user "${1}"; exit 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
//FightCode can only understand your robot | |
//if its class is called Robot | |
var Robot = function(robot) { | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; | |
//robot.ahead(100); |
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
//FightCode can only understand your robot | |
//if its class is called Robot | |
var Robot = function(robot) { | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; | |
//robot.ahead(100); |
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
---------- Forwarded message ---------- | |
From: Mark S. Miller <erights@google.com> | |
Date: Tue, Nov 16, 2010 at 3:44 PM | |
Subject: "Future of Javascript" doc from our internal "JavaScript Summit" | |
last week | |
To: javascript-standard@google.com | |
On November 10th and 11th, a number of Google teams representing a variety | |
of viewpoints on client-side languages met to agree on a common vision for | |
the future of Javascript. |
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 parser = document.createElement('a'); | |
parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
parser.protocol; // => "http:" | |
parser.hostname; // => "example.com" | |
parser.port; // => "3000" | |
parser.pathname; // => "/pathname/" | |
parser.search; // => "?search=test" | |
parser.hash; // => "#hash" | |
parser.host; // => "example.com:3000" |
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
print "\n".join(["".join((lambda x,d:(map(lambda t:{0:t[1]}.get(x%t[0],""),d.items()))+[d.get(int(c),"") for c in str(x)])(n,{3:"foo",5:"bar",7:"qix"})) or str(n) for n in xrange(1,100)]) |