...or as the Germans say "Spinatecken" (5 min preparation + 15 min baking time)
- 450g cream spinach
- 150g flour
- 120g shredded cheese
- 4 tablespoonful of milk
- 2 teaspoons of baking powder
// https://github.com/nodejitsu/node-http-proxy/issues/104 | |
var http = require("http"), | |
https = require("https"); | |
module.exports = exports = require("http-proxy"); | |
var maxSockets = exports.getMaxSockets(); | |
exports.HttpProxy.prototype.proxyRequest = function (req, res, buffer) { |
// Module dependencies | |
var sanitize = require("./sanitize.js"); | |
// function createConnection(String host, Number port, Object credentials, Array data) | |
function createConnection(host, port, credentials, data) { | |
sanitize(arguments, [String, Number, Object, Array]); | |
console.log(host, port, credentials, data); | |
} |
var sanitize = require("./index.js") | |
, typeOf = sanitize.typeOf | |
, nameOf = sanitize.nameOf | |
, argsOf = sanitize.argsOf; | |
function stopwatch() { | |
var start = new Date(); | |
return function stop() { | |
var end = new Date(); | |
return end.getTime() - start.getTime(); |
// create a new Timer | |
var reloader = new Timer(30000); | |
// reload the page | |
reloader.register(window.location.reload.bind(window.location, true)); | |
// reschedule on mouse movement | |
document.addEventListener("mousemove", reloader.restart.bind(reloader)); | |
// reschedule on keyboard acitivity |
var http = require("http") | |
, net = require("net") | |
, fs = require("fs"); | |
try { fs.mkdirSync("/tmp/http", 0777); } catch(e) {} | |
fs.chmodSync("/tmp/http", 0777); | |
http.createServer(function(req, res) { | |
var options = { | |
method: req.method |
function deg2rad(deg) { | |
return deg * Math.PI / 180; | |
} | |
function annularSector(centerX, centerY, startAngle, endAngle, innerRadius, outerRadius) { | |
startAngle = deg2rad(startAngle + 180); | |
endAngle = deg2rad(endAngle + 180); | |
var p = [ | |
[centerX + innerRadius * Math.cos(startAngle), centerY + innerRadius * Math.sin(startAngle)] |
Set objShell = CreateObject("Shell.Application") | |
intOffset = 0 | |
' get action | |
strAction = "open" | |
If (WScript.Arguments.Named.Exists("action")) Then | |
intOffset = intOffset + 1 | |
Select Case WScript.Arguments.Named.Item("action") | |
Case "elevate" strAction = "runas" |
# Mod Rewrite | |
RewriteEngine on | |
RewriteBase / | |
# Top Level Domains | |
RewriteCond %{HTTP_HOST} ^(?:.*?)([^.]+\.[^.]+)(?::80)?$ [NC] | |
RewriteCond %{REQUEST_URI} !^/domains | |
RewriteCond %{DOCUMENT_ROOT}/domains/%1 -d | |
RewriteRule ^(.*) /domains/%1/$1 [L] |