I hereby claim:
- I am darrellpratt on github.
- I am darrellpratt (https://keybase.io/darrellpratt) on keybase.
- I have a public key ASAc-szW2z7ClpfNGpofb2r5K4Jl_lSXGRIluJ-_4g5_Dwo
To claim this, I am signing this object:
#!/usr/bin/env sh | |
open "tel://$*" |
#!/usr/bin/env sh | |
version="0.1.0" | |
# locate airport(1) | |
airport="/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport" | |
if [ ! -f $airport ]; then | |
echo "ERROR: Can't find \`airport\` CLI program at \"$airport\"." | |
exit 1 | |
fi |
I hereby claim:
To claim this, I am signing this object:
<step id="processAlertStep" next="ftpFinalFileStep"> | |
<partition step="processAlertPartionStep" partitioner="multiFilePartitioner"> | |
<handler task-executor="alertsTaskExecutor" /> | |
</partition> | |
</step> | |
<bean id="multiFilePartitioner" class="org.springframework.batch.core.partition.support.MultiResourcePartitioner" scope="step"> | |
<property name="resources" value="#{batchProperties['alerts.input.file.name']}" /> | |
</bean> |
<step id="processAlertStep" next="ftpFinalFileStep"> | |
<partition step="processAlertPartionStep" partitioner="multiFilePartitioner"> | |
<handler task-executor="alertsTaskExecutor" /> | |
</partition> | |
</step> | |
<bean id="multiFilePartitioner" class="org.springframework.batch.core.partition.support.MultiResourcePartitioner" scope="step"> | |
<property name="resources" value="#{batchProperties['alerts.input.file.name']}" /> | |
</bean> | |
<step id="processAlertPartionStep" xmlns="http://www.springframework.org/schema/batch"> |
{ | |
"name": "client", | |
"version": "0.0.0", | |
"dependencies": { | |
"angular": "1.2.6", | |
"json3": "~3.2.6", | |
"es5-shim": "~2.1.0", | |
"jquery": "~1.10.2", | |
"sass-bootstrap": "~3.0.2", | |
"angular-resource": "1.2.6", |
module.exports = function(grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
concat: { | |
options: { | |
separator: ';' | |
}, | |
dist: { | |
src: ['src/**/*.js'], |
// Load plugins | |
var gulp = require('gulp'), | |
sass = require('gulp-ruby-sass'), | |
autoprefixer = require('gulp-autoprefixer'), | |
minifycss = require('gulp-minify-css'), | |
jshint = require('gulp-jshint'), | |
uglify = require('gulp-uglify'), | |
imagemin = require('gulp-imagemin'), | |
rename = require('gulp-rename'), | |
clean = require('gulp-clean'), |
// Code uses jQuery to illustrate the Pyramid of Doom | |
(function($) { | |
$(function(){ | |
$("button").click(function(e) { | |
$.get("/test.json", function(data, textStatus, jqXHR) { | |
$(".list").each(function() { | |
$(this).click(function(e) { | |
setTimeout(function() { | |
alert("Hello World!"); | |
}, 1000); |
step1(function (value1) { | |
step2(value1, function(value2) { | |
step3(value2, function(value3) { | |
step4(value3, function(value4) { | |
// Do something with value4 | |
}); | |
}); | |
}); | |
}); |