<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
upstream upstream-apache2 { | |
server 127.0.0.1:8080; | |
} | |
upstream upstream-nodejs { | |
server 127.0.0.1:3000; | |
} | |
server { | |
listen 80; |
var List = (function() { | |
function List(src) { | |
this._list = null | |
this._length = 0 | |
if(src instanceof List) { | |
this._list = src._list | |
this._length = src._length | |
} | |
} |
# applescript | |
# add login item | |
osascript -e 'tell application "System Events" to make login item at end with properties {name: "Notes",path:"/Applications/Notes.app", hidden:false}' | |
# delete login item | |
osascript -e 'tell application "System Events" to delete login item "itemname"' | |
# list loginitems | |
osascript -e 'tell application "System Events" to get the name of every login item' |
var empty_list = function(selector) { | |
return selector(undefined, undefined, true); | |
}; | |
var prepend = function(el, list) { | |
return function(selector) { | |
return selector(el, list, false); | |
}; | |
}; | |
var head = function(list) { |
var u = (function() { | |
var id = function(x) { return x; } | |
, single = function(x) { return [x]; } | |
, constant = function(x) { return function() { return x; }}; | |
var curried = function(f, n, args) { | |
return (args.length >= n) | |
? f.apply(null, args) | |
: function() { return curried(f, n, args.concat(slice(arguments))); }; }; |