- stund
- Content: server daemon and test client for STUN, RFC-3489 only
- URL does not load, the project seems abandoned
- The code is also available on SourceForge, last update was on January 2012
- TCP and TLS modes not supported
- The server needs two IPs, it’s mandatory and can not be configured
- C++, no extra libraries required, Windows port available
- Version = 0.97 (0.96 package available on Debian, 5 years without updates)
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
ps ax | grep jetty | grep -v grep | awk '{system("kill -9 "$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
<?php // {app}/config/routes.php | |
/** | |
* Routes Configuration | |
* | |
* In this file, you set up routes to your controllers and their actions. | |
* Routes are very important mechanism that allows you to freely connect | |
* different urls to chosen controllers and their actions (functions). | |
* | |
* PHP versions 4 and 5 | |
* |
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
#OS Ubuntu Server 11.04 | |
#ハード構成: Core2Duo 2Core(多分) メモリ:1024MB HDD:30GB | |
#自宅鯖に kvm で仮想環境作って動かしちょります。 | |
#nginx いれるよ | |
$ sudo apt-get install build-essential | |
$ sudo adduser nginx --home=/var/www --shell=/sbin/nologin | |
$ mkdir src | |
$ cd src | |
$ wget wget http://nginx.org/download/nginx-1.0.6.tar.gz |
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
#{RUBY_HOME}/lib/ruby/1.9.1/webrick/config.rb の | |
:DoNotReverseLookup => nil | |
を | |
:DoNotReverseLookup => 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
class ParallaxObj | |
id:"" | |
target:null | |
#イージング関数 jquery.easing とか | |
easing:null | |
currentPos:0 | |
#scroll がどの辺まで来たらアニメーションが完了するか | |
threshold:0 | |
#scroll がどの辺まで来たらアニメーションを開始するか、オフセット値 |
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
class Easing | |
###Liner### | |
liner:(t,b,c,d)-> | |
return c * t / d + b | |
###Sine### | |
SineIn:(t,b,c,d)-> | |
return -c * Math.cos(t / d * (Math.PI / 2 )) + c + b |
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 formencode import validators, Schema | |
# FIXME - these are the new versions | |
class RecordExists(FancyValidator): | |
messages = {'not_found': 'No such record exists'} | |
def __init__(self, model, field=None, *args, **kwargs): | |
super(RecordExists, self).__init__(*args, **kwargs) | |
self.model = model |
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
// * iOS zooms on form element focus. This script prevents that behavior. | |
// * <meta name="viewport" content="width=device-width,initial-scale=1"> | |
// If you dynamically add a maximum-scale where no default exists, | |
// the value persists on the page even after removed from viewport.content. | |
// So if no maximum-scale is set, adds maximum-scale=10 on blur. | |
// If maximum-scale is set, reuses that original value. | |
// * <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=2.0,maximum-scale=1.0"> | |
// second maximum-scale declaration will take precedence. | |
// * Will respect original maximum-scale, if set. | |
// * Works with int or float scale values. |
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
# vim: fileencoding=utf-8 : | |
from werkzeug.contrib.sessions import SessionMiddleware | |
from sessions import RedisSessionStore | |
def create_application(): | |
app = Application() | |
app = SessionMiddleware(app, RedisSessionStore()) |
OlderNewer