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
exports.MyClass; | |
function MyClass (){}; | |
MyClass.prototype.autenticate = function() { |
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
[unix_http_server] | |
file = %(here)s/supervisord.sock | |
[inet_http_server] | |
port=0.0.0.0:9001 | |
[program:couchdb] | |
command = LD_LIBRARY_PATH=%(here)s/../parts/spidermonkey-install/lib:$LD_LIBRARY_PATH %(here)s/../bin/couchdb | |
#command = %(here)s/../bin/couchdb | |
autostart = 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
[couch-config-cmd] | |
recipe = collective.recipe.cmd | |
on_install = true | |
cmds = sed -i s/127.0.0.1/0.0.0.0/1 ${buildout:directory}/parts/couch-install/etc/couchdb/default.ini |
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 express = require('express') | |
, passport = require('passport') | |
, TwitterStrategy = require('passport-twitter').Strategy; | |
var TWITTER_CONSUMER_KEY = **************; | |
var TWITTER_CONSUMER_SECRET = *************; | |
var CALLBACK_URI = **************; | |
var token; | |
var tokenSecret; |
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
drwxr-xr-x 3 sergio sergio 102 7 Dic 14:34 a52dec | |
drwxr-xr-x 3 sergio sergio 102 7 Dic 14:06 aalib | |
drwxr-xr-x 3 sergio sergio 102 7 Dic 14:03 atk | |
drwxr-xr-x 3 sergio sergio 102 7 Dic 13:56 cairo | |
drwxr-xr-x 3 sergio sergio 102 7 Dic 14:31 cdparanoia | |
drwxr-xr-x 3 sergio sergio 102 7 Dic 14:06 check | |
drwxr-xr-x 3 sergio sergio 102 7 Dic 14:16 cmake | |
drwxr-xr-x 3 sergio sergio 102 7 Dic 14:19 dirac | |
drwxr-xr-x 3 sergio sergio 102 7 Dic 14:20 faac | |
drwxr-xr-x 3 sergio sergio 102 7 Dic 14:20 faad2 |
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
Mar 1 17:39:04 wimtv-dev kgd: last message repeated 3 times | |
Mar 1 17:39:04 wimtv-dev kgd: NFO - KGD: waiting connections | |
Mar 1 17:39:04 wimtv-dev kgd: DBG - CONN 87.241.57.98#346725017: listen loop start | |
Mar 1 17:39:04 wimtv-dev kgd: NFO - CONN 87.241.57.98#346725017 SOCKET: --- LISTEN --- | |
Mar 1 17:39:04 wimtv-dev kgd: DBG - ----- Reader::readSome --- PRIMA di recvFromSocket --- buffer size 1024 byte | |
Mar 1 17:39:04 wimtv-dev kgd: DBG - ----- Reader::recvFromSocket --- || NO FLAGS || | |
Mar 1 17:39:04 wimtv-dev kgd: DBG - ----- Reader::readSome --- recvFromSocket 149 byte | |
Mar 1 17:39:04 wimtv-dev kgd: NFO - CONN 87.241.57.98#346725017 SOCKET: --- Listen: received 149 byte | |
Mar 1 17:39:04 wimtv-dev kgd: NFO - CONN 87.241.57.98#346725017 SOCKET: --- Listen: next msg length 149 byte | |
Mar 1 17:39:04 wimtv-dev kgd: DBG - CONN 87.241.57.98#346725017 SOCKET: --- Listen: MSG => DESCRIBE rtsp://test.wim.tv:8554/enc_GvzETxPCiDjE.mp4 RTSP/1.0#015#012CSeq: 2#015#012User-Agent: LIVE555 Streaming Media v2010.10.28#0 |
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
<!-- TODO: remove autodelete / insert fileAge --> | |
<file:connector name="inputfileObjectConnector" autoDelete="false" pollingFrequency="2000000" recursive="true"> <!-- autoDelete="false" --> | |
<service-overrides messageFactory="org.mule.transport.file.FileMuleMessageFactory" /> | |
</file:connector> | |
<flow name="edition"> | |
<!-- #1 - Read video file input --> | |
<file:inbound-endpoint path="${fs.path.root}${fs.path.untranscoded}" connector-ref="inputfileObjectConnector" comparator="org.mule.transport.file.comparator.OlderFirstComparator" > <!-- 900s -> 15min --> | |
<!-- <file:filename-wildcard-filter pattern=".avi,.mp4"/> -> does not work --> |
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
docker ps -a | grep 'Exited' | awk '{print $1}' | xargs docker rm -f |
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 | |
# installing Docker CE on Ubuntu | |
# Run remotely with -> curl -sfL <http://_remote-address-of-this-script_> | sh - | |
## Compose not installed by default | |
set -e | |
# Run as su | |
if [ `id -u` -ne 0 ] |
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
docker run -d --name nginx -p 8080:80 -v $(pwd):/usr/share/nginx/html:ro nginx |
OlderNewer