- SockJS-node is running on 192.168.0.21:8081
- Sending a message from the main page works everywere
- Sending a message from the iframe or popup does not works in IE8
This file contains hidden or 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 | |
exec = require('child_process').exec, | |
current = 0, | |
max = 100 | |
; | |
function scan (i) { | |
if (current < max) { | |
current++; | |
exec('curl portquiz.net:' + i, callback.bind(this, i)); |
This file contains hidden or 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
#!/bin/bash | |
# Script for installing python on systems where you don't have root access. | |
# python will be installed in $HOME/local/bin. | |
# It's assumed that wget and a C/C++ compiler are installed. | |
# exit on error | |
set -e | |
PYTHON_VERSION=2.7.6 |
This file contains hidden or 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
Show hidden characters
{ | |
"requireCurlyBraces": [ | |
"if", | |
"else", | |
"for", | |
"while", | |
"do", | |
"try", | |
"catch", | |
"case", |
I hereby claim:
- I am yannickcr on github.
- I am yannickcr (https://keybase.io/yannickcr) on keybase.
- I have a public key whose fingerprint is EB1F 634D A427 2CCB 9FFB 3D90 4051 617A 90BB 18D8
To claim this, I am signing this object:
Install jQuery 1.9.1 and Browserify-shim
npm install [email protected] --save
npm install browserify-shim --save-dev
Add the following entries in your package.json
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
[alias] | |
patch = commit --amend --no-edit --reset-author | |
yolo = commit --amend --no-edit --reset-author --no-verify | |
update = pull --ff-only | |
draft = !sh -c 'git push origin HEAD:refs/drafts/master/${1-bugfix}' - | |
publish = !sh -c 'git push origin HEAD:refs/for/master/${1-bugfix}' - |