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
HOST=192.x.x.x | |
service denyhosts stop | |
mv /etc/hosts.deny /tmp | |
cd /var/lib/denyhosts | |
for i in `ls`; do mv $i $i.old; grep -v “$HOST” $i.old >> $i; done | |
grep -v $HOST /tmp/hosts.deny >> /etc/hosts.deny | |
service denyhosts start |
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
http { | |
upstream client_handler { | |
sticky; # !important | |
server 127.0.0.1:8000; | |
server 127.0.0.1:8001; | |
server 127.0.0.1:8002; | |
server 127.0.0.1:8003; | |
} | |
map $http_upgrade $connection_upgrade { |
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
body { | |
font-size: 12pt; | |
font-family: Fixedsys; | |
-webkit-font-smoothing: none; | |
font-smooth: never; | |
} |
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
have a nice tee! | |
gst-launch --gst-debug=*:5 --gst-debug-no-color filesrc location=111.pcma ! audio/x-alaw,rate=8000,channels=1 ! alawdec ! audio/x-raw-int,rate=8000,channels=1,width=16 ! audioresample ! audio/x-raw-int,rate=16000,channels=1,width=16 ! speexenc mode=2 quality=6 ! tee name=t ! queue ! audio/x-speex ! flvmux streamable=true ! rcslabsrtmpsink url="rtmp://192.168.1.230/live/dima" librtmp-loglevel=0 t. ! queue ! filesink location=/home/ykrikun/spx/111.spx | |
speex to flash ok | |
gst-launch --gst-debug=*:2 --gst-debug-no-color filesrc location=ypp8k.wav ! wavparse ! audio/x-raw-int,rate=8000,channels=1,width=16 ! audioresample ! audio/x-raw-int,rate=16000,channels=1,width=16 ! speexenc mode=2 quality=6 ! flvmux streamable=true ! rcslabsrtmpsink url="rtmp://192.168.1.230/live/dima" librtmp-loglevel=0 | |
speex from flash ok | |
gst-launch --gst-debug=*:5 --gst-debug-no-color rcslabsrtmpsrc url="rtmp://192.168.1.230/live/dima" librtmp-loglevel=0 ! flvdemux name=demux demux.audio ! audio/x-speex,rate=16000 ! speex |
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 | |
### BEGIN INIT INFO | |
# Provides: alena-sio-client-handler | |
### END INIT INFO | |
set -e | |
NAME=alena-sio-client-handler | |
RUN_AS=alena:alena |
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
### BEGIN INIT INFO | |
# Provides: redis | |
# Required-Start: $syslog $remote_fs | |
# Required-Stop: $syslog $remote_fs | |
# Should-Start: $local_fs | |
# Should-Stop: $local_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description:redis-server - Persistent key-value db | |
# Description: redis-server - Persistent key-value db |
NewerOlder