This is a sample build script for preparing zip files for PhoneGap Build.
See explanatory blog post here: http://fusiongrokker.com/post/automating-phonegap-build-with-apache-ant
component { | |
public string function publicMethod (String name, member=0) { | |
local.localVar = member + 5; | |
local.localVarOuter = local.localVar; | |
local.localVar2 = "outer: #name#"; | |
return function() { | |
local.localVar = "zxcv"; | |
return function() { |
This is a sample build script for preparing zip files for PhoneGap Build.
See explanatory blog post here: http://fusiongrokker.com/post/automating-phonegap-build-with-apache-ant
<cfscript> | |
original = fileRead(expandPath("./src.html"), "UTF-8"); | |
encoded = encodeForHTML(original); | |
function htmlDecode(HTML){ | |
return replaceList(arguments.HTML, "<,>,&,"", '<,>,&,"'); | |
} | |
decoded = htmlDecode(encoded); |
component { | |
this.contains = function(){ | |
writeOutput("Hi from ScriptBased.contains()<br>"); | |
}; | |
} |
According to this article, only 28.4% of the top-100 grossing films of 2012 included speaking roles for women. (Hat tip to @lindseybieda for the heads up!)
According to Wolfram Alpha (I'm happy to use a better or more complete source if one is available... Also I don't have a ton of time to put into this research at the moment...), the top 10 are:
[user] | |
name = Adam Tuttle | |
email = adam@fusiongrokker.com | |
[color] | |
ui = auto | |
[core] | |
autocrlf = input | |
excludesfile = /Users/adam/.gitignore_global | |
[push] | |
default = tracking |
[11:33 AM] • jrichards|away is now known as jrichards. | |
[12:01 PM] • mikewallace is now known as mikewallace|away. | |
[12:20 PM] • dongshengcn is now known as ds|away. | |
[12:51 PM] • ds|away is now known as dongshengcn. | |
[1:01 PM] • robfraz is now known as robfraz_away. | |
[1:17 PM] • dongshengcn is now known as ds|away. | |
[1:19 PM] • kocolosk is now known as kocolosk|away. | |
[1:24 PM] • ds|away is now known as dongshengcn. | |
[1:38 PM] • dongshengcn is now known as ds|away. | |
[1:42 PM] • splsrvc is now known as splsrvc|food. |
[ | |
{ "keys": ["alt+up"], "command": "swap_line_up" } | |
,{ "keys": ["alt+down"], "command": "swap_line_down" } | |
,{ "keys": ["ctrl+alt+down"], "command": "duplicate_line" } | |
,{ "keys": ["alt+d"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} } | |
,{ | |
"keys": ["ctrl+alt+left"] | |
,"command": "set_layout" | |
,"args": { |
<cffunction name="unfuckTwitterDateTime"> | |
<cfargument name="fucked" /> | |
<cfargument name="GMTOffset" default="0" /> | |
<cfset fucked = trim(fucked) /> | |
<cfset var d = right(fucked, 4) & '-' & monthAbrToNum(mid(fucked, 5, 3)) & '-' & mid(fucked, 9, 2) /> | |
<cfset var t = mid(fucked, 12, 8) /> | |
<cfreturn dateAdd("h", GMTOffset, ParseDateTime(d & ' ' & t)) /> | |
</cffunction> | |
<cffunction name="monthAbrToNum"> |
<cfscript> | |
_ = new underscore(); | |
fail = _.range(10); | |
writeDump(var=fail, label="_.range(10)"); | |
customRange = []; |