Couldn't find the text of this for a while...
var portrange = 45032 | |
function getPort (cb) { | |
var port = portrange | |
portrange += 1 | |
var server = net.createServer() | |
server.listen(port, function (err) { | |
server.once('close', function () { | |
cb(port) |
define(['angular', 'services'], function (angular) { | |
'use strict'; | |
return angular.module('myApp.controllers', ['myApp.services']) | |
.controller('IndexCtrl', ['$scope', 'googleService', function ($scope, googleService) { | |
$scope.login = function () { | |
googleService.login().then(function (data) { | |
// do something with returned data | |
console.log(data.email); |
ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats
One of the best ways to reduce complexity (read: stress) in web development is to minimize the differences between your development and production environments. After being frustrated by attempts to unify the approach to SSL on my local machine and in production, I searched for a workflow that would make the protocol invisible to me between all environments.
Most workflows make the following compromises:
-
Use HTTPS in production but HTTP locally. This is annoying because it makes the environments inconsistent, and the protocol choices leak up into the stack. For example, your web application needs to understand the underlying protocol when using the
secure
flag for cookies. If you don't get this right, your HTTP development server won't be able to read the cookies it writes, or worse, your HTTPS production server could pass sensitive cookies over an insecure connection. -
Use production SSL certificates locally. This is annoying
#!/bin/bash | |
if [ -z "$1" ] || [ -z "$2" ] ; then | |
echo "Usage: imsg [address] [message]" | |
else | |
/usr/bin/osascript -e 'tell application "Messages" | |
send "'"$2"'" to buddy "'"$1"'" of service "E:[email protected]" | |
end tell' | |
echo "Sent" | |
fi |
BEGIN BONJOUR ADVERTISING | |
INSPECTING HEADER @ 1390036591413 | |
`--: OPTIONS * RTSP/1.0 | |
`--: CSeq: 0 | |
`--: X-Apple-Device-ID: 0xaccf5c73af4b | |
`--: Apple-Challenge: JWkfiX/5gzeKemPDHyBwww== | |
`--: DACP-ID: 21A3D7C25BB62248 | |
`--: Active-Remote: 1588769825 | |
`--: User-Agent: AirPlay/190.9 | |
END HEADER |
I hereby claim:
- I am stephen on github.
- I am swan (https://keybase.io/swan) on keybase.
- I have a public key whose fingerprint is 5252 D938 83A1 854B 90EF C3A0 6D14 0B75 E045 33C6
To claim this, I am signing this object:
testing 254164 handles | |
zythem | |
zymotoxic | |
zymotize | |
zymotically | |
zymotechnic | |
zymotechny | |
zymotechnical | |
zymosterol | |
zymosimeter |