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
| #!/usr/bin/env python | |
| '''Crop an image to just the portions containing text. | |
| Usage: | |
| ./crop_morphology.py path/to/image.jpg | |
| This will place the cropped image in path/to/image.crop.png. | |
| For details on the methodology, see |
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 | |
| # GUI-related packages | |
| pkgs=" | |
| xserver-xorg-video-fbdev | |
| xserver-xorg xinit | |
| gstreamer1.0-x gstreamer1.0-omx gstreamer1.0-plugins-base | |
| gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-alsa | |
| gstreamer1.0-libav | |
| epiphany-browser |
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 | |
| # REF: https://github.com/meetecho/janus-gateway/blob/master/README.md | |
| # REF: https://groups.google.com/forum/#!msg/meetecho-janus/RYP4FBaeUi0/bIGSPZlpEQAJ | |
| # Tested enviroment: ubuntu {14.04,16.04} LTS | |
| # Tested Janus version: 0.2.0 | |
| # 0. Get infos and params without empty | |
| # ====== | |
| set -e |
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 | |
| # | |
| # Arezqui Belaid <[email protected]> | |
| # | |
| FS_CONFIG_PATH=/etc/freeswitch | |
| FS_BASE_PATH=/usr/src | |
| FS_VERSION=v1.7 | |
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
| # source: https://trac.ffmpeg.org/wiki/CentosCompilationGuide | |
| yum install autoconf automake gcc gcc-c++ git libtool make nasm pkgconfig zlib-devel | |
| mkdir ~/ffmpeg_sources | |
| cd ~/ffmpeg_sources | |
| curl -O http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz | |
| tar xzvf yasm-1.2.0.tar.gz | |
| cd yasm-1.2.0 |
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
| <h1>WebRTC</h1> | |
| <script> | |
| // This is only needed for browser testing | |
| window.RTCPeerConnection = window.mozRTCPeerConnection || window.webkitRTCPeerConnection; | |
| window.RTCSessionDescription = window.mozRTCSessionDescription || window.RTCSessionDescription; | |
| window.RTCIceCandidate = window.mozRTCIceCandidate || window.RTCIceCandidate; | |
| navigator.getUserMedia = navigator.mozGetUserMedia || navigator.webkitGetUserMedia; |
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
| #!KAMAILIO | |
| # | |
| # Simple/sample kamailio.cfg for running a proxy/registrar with TLS and | |
| # WebSockets support. | |
| ###!substdef "!DBURL!sqlite:///etc/kamailio/db.sqlite!g" | |
| #!substdef "!DBURL!mysql://kamailio:kamailiorw@localhost/kamailio!g" | |
| #!substdef "!MY_IP_ADDR!10.0.11.175!g" | |
| #!substdef "!MY_DOMAIN!ubukam.lan!g" | |
| #!substdef "!MY_WS_PORT!5065!g" |
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 | |
| #http://linux.autostatic.com/installing-webrtc2sip-on-ubuntu-1204#install_packages | |
| sudo su | |
| # install | |
| apt-get update | |
| apt-get install -y python-software-properties | |
| add-apt-repository ppa:autostatic/doubango |
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
| #!KAMAILIO | |
| # | |
| # Kamailio (OpenSER) SIP Server v4.1 - default configuration script | |
| # - web: http://www.kamailio.org | |
| # - git: http://sip-router.org | |
| # | |
| # Direct your questions about this file to: <[email protected]> | |
| # | |
| # Refer to the Core CookBook at http://www.kamailio.org/wiki/ | |
| # for an explanation of possible statements, functions and parameters. |
NewerOlder