I hereby claim:
- I am tudisco on github.
- I am tudisco (https://keybase.io/tudisco) on keybase.
- I have a public key ASBEcdd_zbRSP5ztAkvEMlDLNUFpTJByn1IhcLu07KORoQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<script type="text/javascript"> | |
(function($) { | |
$("body").load(function() { | |
setTimeout(function() { | |
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | |
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | |
}, 1); | |
}); | |
})(jQuery); |
const {app, BrowserWindow} = require('electron') | |
const Config = require('electron-config') | |
const config = new Config() | |
let win | |
app.on('ready', () => { | |
let opts = {show: false} | |
Object.assign(opts, config.get('winBounds')) | |
win = new BrowserWindow(opts) | |
win.loadURL(`file://${__dirname}/app/index.html`) |
# This is probably faster | |
#for /F "delims= " %i in ('pip list --outdated') do pip install -U %i | |
for /F "delims===" %i in ('pip freeze -l') do pip install -U %i |
import sys | |
import time | |
import socket | |
def now(): | |
return int(time.time()) | |
def collect_metric(name, value, timestamp=None): | |
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) | |
sock.connect( ("localhost", 2003) ) |
ffmpeg -i rtsp://yourlinkhere -acodec copy -vcodec copy FILENAME.mp4 |
tornado>4 | |
construct |
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}" |
gst-launch-1.0 --gst-debug=0 rtspsrc location=rtsp://rtsp.algont:4000/eVn5uSYhxRf84A6Hs5193 ! rtph264depay ! h264parse ! matroskamux ! tcpserversink host=192.168.2.147 port=8801 |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |