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
| gst-launch-1.0 uridecodebin uri=rtsp://rtsp.algont:4000/0fe039d8-3de6-4c48-8c63-87e5a9a0f312 ! videorate ! video/x-raw, framerate=1/10 ! videoconvert ! jpegenc quality=50 idct-method=1 ! multifilesink location="/tmp/snapshot/video%05d.jpg" |
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
| from twisted.internet import reactor, defer, threads | |
| from twisted.python import context | |
| def _print_context(msg): | |
| cont = context.get('cont') | |
| print "{msg}: {context}".format(msg=msg, context=cont) | |
| def sub_call(): |
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
| 2014-10-31 09:36:12,861 WARNING init_log:70 Starting Qtile | |
| 2014-10-31 09:36:13,612 WARNING safe_import:27 Can't Import Widget: '.wlan.Wlan', No module named pythonwifi.iwlibs | |
| 2014-10-31 09:36:13,629 WARNING safe_import:27 Can't Import Widget: '.google_calendar.GoogleCalendar', No module named apiclient.discovery | |
| 2014-10-31 09:36:13,716 ERROR make_qtile:123 Qtile crashed during startup | |
| Traceback (most recent call last): | |
| File "/usr/local/lib/python2.7/dist-packages/qtile-0.8.0-py2.7.egg/EGG-INFO/scripts/qtile", line 120, in make_qtile | |
| state=options.state, | |
| File "/usr/local/lib/python2.7/dist-packages/qtile-0.8.0-py2.7.egg/libqtile/manager.py", line 125, in __init__ | |
| self.supporting_wm_check_window.wid | |
| File "/usr/local/lib/python2.7/dist-packages/qtile-0.8.0-py2.7.egg/libqtile/xcbq.py", line 621, in set_property |
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
| set nosmoothscroll | |
| map <C-b> scrollPageUp | |
| map <C-f> scrollPageDown |
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
| vlc -I dummy -d rtsp://192.168.0.99/video.mjpg --no-sout-audio --sout "#transcode{vcodec=MJPG,vb=1000,fps=15}:standard{access=http{mime=multart/x-mix-replace;boundary=myboundary},mux=mpjpeg,dst=:8090/cam.mjpg}" |
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
| /* File generated by Qt Creator, version 2.4.1 */ | |
| import QmlProject 1.1 | |
| Project { | |
| mainFile: "ErisQml.qml" | |
| /* Include .qml, .js, and image files from current directory and subdirectories */ | |
| QmlFiles { | |
| directory: "." |
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
| ifconfig | grep "inet addr" | grep -v 127.0.0.1 | awk -F ' ' '{print $2}' | awk -F ':' '{print $2}' |
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
| void ConnectionManager::need2send(QByteArray b){ | |
| turn2Write(); | |
| int sended = write(fd, b.data(), b.size()); | |
| #ifdef QT_DEBUG | |
| if (sended != b.size()) | |
| QLOG_ERROR()<<"!!!!!!!!!!!!!NOT ALL SENDED!!!!ONLY: "<<sended; | |
| #endif | |
| tcflush(fd, TCOFLUSH); | |
| opt.c_cc[VMIN] = sended; /* Minimum bytes available */ | |
| tcsetattr (fd, TCSANOW, &opt); |
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
| ''' | |
| Created on Jul 4, 2012 | |
| @author: pavel | |
| ''' | |
| import serial | |
| import time | |
| import random | |
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
| ''' | |
| Created on Jul 10, 2012 | |
| @author: pavel | |
| ''' | |
| from twisted.internet.serialport import SerialPort | |
| from twisted.protocols.basic import LineReceiver | |
| from twisted.internet import protocol, reactor | |
| import time |