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
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() { |
RewriteLog C:\Inetpub\ATuttle\meta_files\fusiongrokker.com\iirfLog.out | |
RewriteLogLevel 0 | |
RewriteFilterPriority HIGH | |
###### force removal of www. prefix on all requests | |
RewriteCond %{HTTP_HOST} www.fusiongrokker.com(.*) [I] | |
RewriteRule ^/(.*) http://fusiongrokker.com/$1 [I,R=301,U,L] | |
###### fix old links |
app.factory('API', function($http, $q){ | |
var basePath = 'http://domain.com/api/path'; | |
// => http://domain.com/api/path/foo/bar | |
function makeRequest(verb, uri, data){ | |
var defer = $q.defer(); | |
verb = verb.toLowerCase(); | |
//start with the uri |
by Adam Tuttle
Slides: http://fusiongrokker.com/p/integrate
Links:
<cfscript> | |
try { | |
throw(type="com.myService.BarException"); | |
} catch(com.myService.FooException e){ | |
writeOutput("caught it @ com.myService.FooException"); |
[ | |
{ "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": { |
https://bugbase.adobe.com/index.cfm?event=bug&id=3525456
Here's a simple repro case. Since this test involves ORM, you'll have to create a DSN. I'm testing against MySQL but it should be DB agnostic (that's part of the draw of ORM, right?)...
Just create a database and a new DSN named "repro" (or update the code accordingly), put foo.cfc into a folder named "orm", and everything else should work as expected.
{ | |
"dependencies": { | |
"redis": "^0.10.1" | |
} | |
} |
<cfscript> | |
//to initialize to a random number instead of 50, set last to "" | |
last = 50; | |
for(var i = 1; i <= 100; i++){ | |
last = trendingRandom( 0, 100, 12, last ); | |
writeOutput( "#last#<br/>" ); | |
} | |
</cfscript> |