View gist:608421
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
<!--[if IE]><![endif]--> | |
<!--[if lte IE 7]> | |
<link | |
rel="stylesheet" media="all" title="Standard" type="text/css" href="DataSprites2.php?IE" /> | |
<![endif]--> | |
<!--[if gt IE 7]><!--> | |
<link | |
rel="stylesheet" media="all" title="Standard" type="text/css" href="DataSprites2.php?Others" /> | |
<!--<![endif]--> |
View webperf-contest apache modules
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
LoadModule actions_module | |
LoadModule alias_module | |
LoadModule auth_basic_module | |
LoadModule auth_digest_module | |
LoadModule authn_dbd_module | |
LoadModule authn_file_module | |
LoadModule authz_default_module | |
LoadModule authz_groupfile_module | |
LoadModule authz_host_module | |
LoadModule authz_user_module |
View async-widgets.html
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
<!doctype html> | |
<html xmlns:fb="http://www.facebook.com/2011/fbml" xmlns:og="http://ogp.me/ns#"> | |
<!-- The xmlns:fb and xmlns:og are required for IE --> | |
<head> | |
<title>Loading widgets, async way</title> | |
</head> | |
<body> | |
<!-- FACEBOOK --> | |
<div id="fb-root"></div> |
View decode_live.free.fr.sh
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
#!/bin/bash | |
# <troll>If you don't have bash, go get a real OS.</troll> | |
curl -s "http://md5.noisette.ch/md5.php?hash=$(curl -s http://live.free.fr | gunzip | tail -n 36 | head -n 32 | grep [a-f0-9] -o | xargs echo -n | sed 's/ //g')" | grep '<string>' | sed 's/^.*\[CDATA\[\(.*\)\]\].*$/\1/' |
View gist:2488897
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
require('webkit-devtools-agent') | |
var | |
http = require('http'), | |
done = 0, todo = 30, doing = todo; | |
console.log('We should do '+ todo +' requests'); | |
http.createServer(function (req, res) { | |
res.writeHead(200, {'Content-Type': 'text/plain'}); |
View gist:2878139
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
javascript:(function(){ISRIL_H='c7de';PKT_D='getpocket.com';ISRIL_SCRIPT=document.createElement('SCRIPT');ISRIL_SCRIPT.type='text/javascript';ISRIL_SCRIPT.src='//'+PKT_D+'/b/r.js';document.getElementsByTagName('head')[0].appendChild(ISRIL_SCRIPT)})(); |
View client.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
// npm install -g shelljs | |
// sudo apt-get install socat | |
require('shelljs/global'); | |
setInterval(function(){ | |
for (var i = 0; i < 10; i++) | |
exec("echo 'process' | socat - UNIX-CONNECT:/tmp/noderepl.sock", {async: true}) | |
}, 10) | |
// shjs client.js |
View gist:3921228
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 zk = require('../lib'); | |
var async = require('async'); | |
if (require.cache[__dirname + '/helper.js']) | |
delete require.cache[__dirname + '/helper.js']; | |
var helper = require('./helper.js'); | |
var ZK; | |
var HOST = process.env.ZK_HOST || 'localhost'; | |
var PORT = parseInt(process.env.ZK_PORT, 10) || 2181; |
View gist:5056389
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
java -jar compiler.jar --compilation_level ADVANCED_OPTIMIZATIONS --output_wrapper "(function(){%output%})();" --js /home/vvo/Dev/lazyload/lazyload.js --js_output_file output.js |
OlderNewer