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 <string> | |
#include <sstream> | |
#include <tuple> | |
#include <vector> | |
#include <functional> | |
#include <cassert> | |
using namespace std; | |
// For generic types that are functors, delegate to its 'operator()' |
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
#!/bin/bash | |
gst-launch-1.0 -v udpsrc uri=udp://239.1.1.1:5000 caps="application/x-rtp,channels=(int)2,format=(string)S16LE,media=(string)audio,payload=(int)96,clock-rate=(int)44100,encoding-name=(string)L24" ! rtpL24depay ! audioconvert ! autoaudiosink sync=false |
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
gst-launch-1.0 -v udpsrc uri=udp://239.1.1.1:5000 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000,encoding-name=(string)H264,packetization-mode=(string)1,profile-level-id=(string)640028,payload=(int)96, a-framerate=(string)25" ! rtph264depay ! h264parse ! vaapidecode ! fpsdisplaysink video-sink=xvimagesink |
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
curl 'https://scans.io/zsearch/7pkoj2wpavfqvl7w-20170416.json.lz4' -H 'Pragma: no-cache' -H 'Accept-Encoding: gzip, deflate, sdch, br' -H 'Accept-Language: de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4,nb;q=0.2' -H 'Upgrade-Insecure-Requests: 1' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.54 Safari/537.36' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' -H 'Referer: https://censys.io/data/ipv4' -H 'Connection: keep-alive' -H 'Cache-Control: no-cache' --compressed | lz4 -d | jq -r '. | select(.p80 != null) | .ip' | lz4 > test.lz |
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
#!/bin/bash | |
xrandr --newmode "480x480_60.00" 17.50 480 496 536 592 480 483 493 500 -hsync +vsync | |
xrandr --addmode VIRTUAL1 480x480_60.00 | |
xrandr --output VIRTUAL1 --mode 480x480_60.00 --left-of $(xrandr | head -n2 | tail -n1 | sed 's/\ .*$//g') | |
gst-launch-1.0 -q -e ximagesrc endx=479 endy=479 ! video/x-raw,format=BGRx,framerate=25/1,width=480,height=480 ! videoscale ! videoconvert ! videorate ! video/x-raw,format=RGB16,framerate=25/1,width=128,height=128 ! fdsink sync=false async=true | dd conv=swab bs=1024 | python3 -c " | |
import sys | |
import socket | |
import os | |
import time |
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
# clone git | |
git clone https://github.com/golang/go | |
cd go | |
# checkout the correct commit for the patch | |
git checkout bad5abf64d76f9c302c084c5f62e6f70920d3c81 | |
# apply the patch | |
git apply mips_softfloat.patch | |
# build go | |
cd src | |
./all.bash |
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
ZED_5V 4.8828 V | |
[1f40] +10.1562 mV | |
[104] +677.08 mA BETA_5V 4.8828 V | |
[1f40] +1.2891 mV | |
[021] +85.94 mA HDN 3.2812 V | |
[1500] +0.0000 mV | |
[000] +0.00 mA PCIE_N_V 3.2422 V | |
[14c0] +0.0000 mV | |
[000] +0.00 mA HDS 3.2031 V | |
[1480] +0.0000 mV |
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
clks: | |
ext: | |
min: 6000000 | |
max: 27000000 | |
vco: | |
min: 384000000 | |
max: 768000000 | |
plls: | |
mult: | |
min: 32 |
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
access_address: | |
addr: seq_ctrl_port[0:9] | |
description: 'When in STANDBY (not streaming) mode: address pointer to the sequencer | |
RAM.' | |
writable: true | |
auto_inc_on_read: | |
addr: seq_ctrl_port[14:15] | |
description: If 1 => The access_address is incremented (by 1) after each read operation | |
from seq_data_port (which returns only1 byte) | |
max: 1 |
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
[ | |
Some(List(MetaList { ident: Ident { sym: fuseable, span: #0 bytes(0..0), is_raw: false }, | |
paren_token: Paren, | |
nested: [ | |
Meta(List(MetaList { | |
ident: Ident { sym: virtual_field, span: #0 bytes(0..0), is_raw: false }, | |
paren_token: Paren, | |
nested: [ | |
Meta(NameValue(MetaNameValue { | |
ident: Ident { sym: name, span: #0 bytes(0..0), is_raw: false }, |
OlderNewer