This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
λ blink master grep -nr "::-webkit-" . | sed -En 's/.*(::-webkit-[a-z]+(-[a-z]+)?).*/\1/p' | sort -u | |
::-webkit-calendar-picker | |
::-webkit-clear-button | |
::-webkit-color-swatch | |
::-webkit-date-and | |
::-webkit-datetime-edit | |
::-webkit-details-marker | |
::-webkit-distributed | |
::-webkit-file-upload |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# a tiny sublime plugin to create files and folders quickly: | |
# | |
# copy and paste this to you're sublime packages/user folder | |
# and add a shortcut with the command `touch` to you're sublime keybindings. | |
# | |
# Example: | |
# | |
# ../baz/foo.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Server = require('http').Server | |
, server = new Server(); | |
server.on('connection', function(socket){ | |
socket.on('readable', function(){ | |
console.log('this will never be invoked!'); | |
console.log('since `socket` has `ondata` method'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NET: 41690 listen2 0.0.0.0 5000 4 false | |
NET: 41690 _listen2: create a handle | |
NET: 41690 bind to 0.0.0.0 | |
NET: 41690 onconnection | |
NET: 41690 _read | |
NET: 41690 Socket._read readStart | |
undefined | |
NET: 41690 onconnection | |
NET: 41690 _read | |
NET: 41690 Socket._read readStart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require('http') | |
, net = require('net'); | |
var server = new http.Server(); | |
server.on('connection', function(socket){ | |
console.log(socket.bytesRead); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$shout->get('foo :bar', function ($params) { | |
print_r($params); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('Application->utilize()') | |
->setup(function () { | |
return new Application; | |
}) | |
->it('should default the mount point to `/`', function () { | |
$layer = ['mount' => '/', 'execute' = function () {}, 'len' => 0]; | |
$this->utilize($layer['execute'])->stack->should->eql([$layer]); | |
}) | |
->it('should be return the `app`', function () { | |
$this->utilize(function () {})->should->eql($this->__obj__); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function describe ($title) { | |
$bee = bee\Bee::singleton(); | |
return $bee->describe($title); | |
}; | |
function setup (callable $setup) { | |
$this->setup = $setup; | |
return $this; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('util::wrap()') | |
->setup(function () { | |
print_r($this); | |
exit; | |
}); |