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
v4l2-ctl -d /dev/video0 -c exposure_auto=1 -c exposure_absolute=300 | |
gst-launch-1.0 -v v4l2src device=/dev/video0 ! "video/x-raw,width=640,height=480,framerate=30/1" ! x264enc speed-preset=1 tune=zerolatency bitrate=2048 ! rtph264pay ! udpsink host=$1 port=5800 & | |
v4l2-ctl -d /dev/video1 -c exposure_auto=1 -c exposure_absolute=300 | |
gst-launch-1.0 -v v4l2src device=/dev/video1 ! "video/x-raw,width=320,height=240,framerate=30/1" ! x264enc speed-preset=1 tune=zerolatency bitrate=1024 ! rtph264pay ! udpsink host=$1 port=5801 & | |
v4l2-ctl -d /dev/video2 -c exposure_auto=1 -c exposure_absolute=300 | |
gst-launch-1.0 -v v4l2src device=/dev/video2 ! "video/x-raw,width=320,height=240,framerate=30/1" ! x264enc speed-preset=1 tune=zerolatency bitrate=1024 ! rtph264pay ! udpsink host=$1 port=5802 & | |
v4l2-ctl -d /dev/video3 -c exposure_auto=1 -c exposure_absolute=300 | |
gst-launch-1.0 -v v4l2src device=/dev/video3 ! "video/x-raw,width=320,height=240,framerate=30/1" ! x264enc speed-preset=1 tune=zerol |
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
import win32gui | |
import requests | |
import subprocess | |
import time | |
import pickle | |
from threading import Thread | |
class Configurator: | |
__window_handles = set() |
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
import win32gui | |
import requests | |
import subprocess | |
import time | |
import pickle | |
from threading import Thread | |
class Configurator: | |
__window_handles = set() |
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
#include <cstdint> | |
#include <stdio.h> | |
#include <emscripten.h> | |
using namespace std; | |
struct source_location { | |
const char *file_name; | |
union { | |
unsigned long reported; |
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
import os, sys | |
from __future__ import print_function | |
with open(r"d:\env_dump.txt", "w") as outf: | |
print(os.environ, file=outf) | |
print(sys.path, file=outf) |
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
#!/usr/bin/env python | |
# This script should work in python 2 *or* 3. It loads emar.py, which needs python 2. | |
from tools.toolchain_profiler import ToolchainProfiler | |
import sys, re | |
# Look for RSP files passed in | |
rsp_regex = re.compile("@(.+rsp)$") |
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
#include <iostream> | |
#include <vector> | |
using namespace std; | |
void print_some_nums(vector < double > nums) { | |
for (auto val: nums) | |
cout << val << endl; | |
} |
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
# | |
include < iostream > #include < vector > | |
using namespace std; | |
void print_some_nums(vector < double > nums) { | |
for (auto val: nums) | |
cout << val << endl; | |
} |
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 tab_mem_hand8 = { | |
set: function(obj, prop, value) { | |
if (prop > (22 << 3) && prop <= (23 << 3)) { | |
debugger; | |
} | |
obj[prop] = value; | |
} | |
}; | |
var tab_mem_hand16 = { |
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
//download.js v4.2, by dandavis; 2008-2016. [CCBY2] see http://danml.com/download.html for tests/usage | |
// v1 landed a FF+Chrome compat way of downloading strings to local un-named files, upgraded to use a hidden frame and optional mime | |
// v2 added named files via a[download], msSaveBlob, IE (10+) support, and window.URL support for larger+faster saves than dataURLs | |
// v3 added dataURL and Blob Input, bind-toggle arity, and legacy dataURL fallback was improved with force-download mime and base64 support. 3.1 improved safari handling. | |
// v4 adds AMD/UMD, commonJS, and plain browser support | |
// v4.1 adds url download capability via solo URL argument (same domain/CORS only) | |
// v4.2 adds semantic variable names, long (over 2MB) dataURL support, and hidden by default temp anchors | |
// https://github.com/rndme/download | |
(function (root, factory) { |
NewerOlder