Reading from an RTSP stream in Python
import numpy as np
import subprocess as sp
FFMPEG_BIN = '/usr/bin/ffmpeg'
RTSP_STREAM = "https://590804fbbbc47.streamlock.net:444/ruidosowebcorp2/ruidosowebcorp2.stream/playlist.m3u8"
Reading from an RTSP stream in Python
import numpy as np
import subprocess as sp
FFMPEG_BIN = '/usr/bin/ffmpeg'
RTSP_STREAM = "https://590804fbbbc47.streamlock.net:444/ruidosowebcorp2/ruidosowebcorp2.stream/playlist.m3u8"
What is the outcome of the two alerts below?
var foo = "Hello";
(function() {
var bar = " World";
alert(foo + bar);
})();
alert(foo + bar);
inventory
[localhost]
127.0.0.1 ansible_connection=local
ansible.cfg
| #!/bin/bash | |
| ##################################################### | |
| # Name: Bash CheatSheet for Mac OSX | |
| # | |
| # A little overlook of the Bash basics | |
| # | |
| # Usage: | |
| # | |
| # Author: J. Le Coupanec | |
| # Date: 2014/11/04 |
| ########################################################################### | |
| # Read in activity data from Jawbone UP api in R | |
| # 1. Setup an application at: https://jawbone.com/up/developer/ | |
| # 2. Set the OAuth redirect URLs: http://localhost:1410, http://localhost:1410/ | |
| # 3. Be sure to set your key and secret in R: | |
| # Sys.setenv(JAWBONE_API_KEY = "Your Client Id", | |
| # JAWBONE_CONSUMER_SECRET = "Your App Secret") | |
| # 4. Install httr package: install.packages("httr") | |
| ########################################################################### | |
| library("httr") |
| <ul class="programs"><li> | |
| <h2 class="gamma">Doctor of Philosophy</h2> | |
| <p> <img src="http://placehold.it/400x117"></p> | |
| <p>Develop competencies to design, conduct, and report original theoretical and applied research in learning and human performance technologies.</p> | |
| </li> | |
| <li> | |
| <h2 class="gamma">Master of Arts</h2> | |
| <p> <img src="http://placehold.it/400x117"></p> | |
| <p>Combine aspects of adult learning, learning sciences, organizational learning and development, and instructional technology.</p> | |
| </li> |
| Sys.setlocale("LC_TIME", "English") | |
| # Or if that doesn't work: | |
| Sys.setlocale("LC_TIME", "C") |
| ssh [email protected] -L 3306:localhost:3306 |
| library("RMySQL") | |
| conn <- dbConnect(MySQL(), user="jonahlyn", password="xxxxxxx", dbname="jonahlyndb", host="localhost") |