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 {Application} = require("stick"); | |
var {Server} = require("ringo/httpserver"); | |
var response = require("ringo/jsgi/response"); | |
var app = exports.app = new Application(); | |
app.configure("cors", "route"); | |
app.cors({ | |
allowOrigin: ['http://orf.at', 'http://www.orf.at', 'http://simon.orf.at'], |
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/sh | |
# | |
# Plugin to monitor HTTP response ( httping ) | |
# MIT Licence | |
# Sept 9, 2012 Masahito Zembutsu <[email protected]> | |
#%# family=auto | |
#%# capabilities=autoconf | |
. $MUNIN_LIBDIR/plugins/plugin.sh |
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 | |
# Reads the player position via telnet and writes it to tracks.csv. Can be | |
# sourced or executed. | |
# The tracks.csv file can be display in the map viewer https://github.com/nicolas-f/7DTD-leaflet/ | |
. /usr/local/lib/7dtd/common.sh | |
# @@ this should be a per instance config, not per server | |
SDTD_TRACKS_PATH=/path/to/tracks.csv |
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 gamejs = require('gamejs'); | |
var SCREEN_WIDTH = 400; | |
var SCREEN_HEIGHT = 400; | |
// ball is a colored circle. | |
// ball can circle through color list. | |
// ball constantly pulsates in size. | |
function Ball(center) { | |
this.center = center; |
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
/** | |
* @fileoverview | |
* Draw lines, polygons, circles, etc on the screen. | |
* Render text in a certain font to the screen. | |
*/ | |
var gamejs = require('gamejs'); | |
var draw = require('gamejs/draw'); | |
var font = require('gamejs/font'); | |
function main() { |
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
/** | |
* @fileoverview | |
* Draw lines, polygons, circles, etc on the screen. | |
* Render text in a certain font to the screen. | |
*/ | |
var gamejs = require('gamejs'); | |
var draw = require('gamejs/draw'); | |
var font = require('gamejs/font'); | |
function main() { |
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
[Setup] | |
AppName=RingoJs | |
AppVersion=0.9.1 | |
DefaultDirName={pf}\ringojs-0.9 | |
DefaultGroupName=ORF ON | |
Compression=lzma2 | |
SolidCompression=yes | |
[Files] | |
Source: "ringojs-0.9\*"; DestDir: "{app}"; Flags: createallsubdirs recursesubdirs |
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 key ='ad_uid'; | |
var IdWs = new function () { | |
function g(c, a) { | |
var b; | |
void 0 !== a && document.getElementById(a) ? b = document.getElementById(a) : (b = document.createElement(c), b.id = a); | |
b.style.visibility = "hidden"; | |
b.style.position = "absolute"; | |
document.body.appendChild(b); | |
return b |
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
<script src="http://code.jquery.com/jquery-1.8.3.min.js"></script> | |
<script> | |
var LONG_TEXT = "Die EU-Außenminister haben sich grundsätzlich zur Fortsetzung der Beitrittsverhandlungen mit der Türkei geeinigt. Nach Angaben von Diplomaten gaben sie in Luxemburg grünes Licht zur Eröffnung des Kapitels zur Regionalpolitik. Die offizielle Beitrittsrunde soll aber erst im Herbst nach dem Fortschrittsbericht der EU-Kommission und nach neuerlichen Beratungen der Außenminister stattfinden, wie die irische EU-Ratspräsidentschaft mitteilte.Die EU-Außenminister haben sich grundsätzlich zur Fortsetzung der Beitrittsverhandlungen mit der Türkei geeinigt. Nach Angaben von Diplomaten gaben sie in Luxemburg grünes Licht zur Eröffnung des Kapitels zur Regionalpolitik. Die offizielle Beitrittsrunde soll aber erst im Herbst nach dem Fortschrittsbericht der EU-Kommission und nach neuerlichen Beratungen der Außenminister stattfinden, wie die irische EU-Ratspräsidentschaft mitteilte.Die EU-Außenminister haben sich grundsätzlich zu |
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
2013-06-05 10:47:40 | |
Full thread dump Java HotSpot(TM) 64-Bit Server VM (20.1-b02 mixed mode): | |
"ringo-worker-1" daemon prio=10 tid=0x00007fb698003800 nid=0x77e7 waiting on condition [0x00007fb6cb227000] | |
java.lang.Thread.State: WAITING (parking) | |
at sun.misc.Unsafe.park(Native Method) | |
- parking to wait for <0x00000000ec3cc6a0> (a java.util.concurrent.locks.ReentrantLock$NonfairSync) | |
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158) | |
at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:811) | |
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:842) |