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
TCP connection examples in Zig language |
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 <stdio.h> | |
#include <unistd.h> | |
#include <sys/epoll.h> | |
#include <string.h> | |
#include <errno.h> | |
#include <signal.h> | |
#include <sys/signalfd.h> | |
#define MAX_EVENTS 5 | |
#define READ_BUFSIZE (64*1024) |
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
[ro.secure]: [1] | |
[ro.allow.mock.location]: [0] | |
[ro.debuggable]: [0] | |
[persist.service.adb.enable]: [1] | |
[ro.factorytest]: [0] | |
[ro.serialno]: [] | |
[ro.bootmode]: [unknown] | |
[ro.baseband]: [unknown] | |
[ro.carrier]: [unknown] | |
[ro.bootloader]: [unknown] |
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
Using UIO from golang |
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
Rec and send SRT with retry |
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
This is sample for srt server |
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/sh -xue | |
HOST_IP=xx.yy.zz.ww | |
PORT=7001 | |
RECDIR=$PWD/rec | |
SEGMENT_TIME=3600 | |
FIFO=$PWD/.fifo | |
rm -f $FIFO | |
mkfifo $FIFO |
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
Dump pyhical memory in rust. |
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
[ro.secure]: [0] | |
[ro.allow.mock.location]: [1] | |
[ro.debuggable]: [1] | |
[persist.service.adb.enable]: [1] | |
[ro.kernel.qemu]: [1] | |
[ro.kernel.console]: [ttyS0] | |
[ro.kernel.android.qemud]: [ttyS1] | |
[ro.kernel.androidboot.hardware]: [goldfish] | |
[ro.kernel.clocksource]: [pit] | |
[ro.kernel.android.checkjni]: [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
<6>[ 0.000000] Initializing cgroup subsys cpu | |
<5>[ 0.000000] Linux version 2.6.35.7-SC02COMKF2-CL257138 (se.infra@SEP-51) (gcc version 4.4.0 (GCC) ) #2 SMP PREEMPT Thu Jun 2 01:03:34 KST 2011 | |
<4>[ 0.000000] CPU: ARMv7 Processor [412fc091] revision 1 (ARMv7), cr=10c53c7f | |
<4>[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache | |
<4>[ 0.000000] Machine: SMDKC210 | |
<4>[ 0.000000] Memory policy: ECC disabled, Data cache writealloc | |
<7>[ 0.000000] On node 0 totalpages: 262144 | |
<7>[ 0.000000] Normal zone: 1248 pages used for memmap | |
<7>[ 0.000000] Normal zone: 0 pages reserved | |
<7>[ 0.000000] Normal zone: 158496 pages, LIFO batch:31 |