This file contains hidden or 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
| $ /opt/raspi/bin/raspivid -w 1280 -h 720 -fps 25 -t 10000 -b 3000000 -o test-no-intra.h264 | |
| $/opt/raspi/bin/raspivid -g 25 -w 1280 -h 720 -fps 25 -t 10000 -b 3000000 -o test-25-intra.h264 | |
| $ /opt/raspi/bin/raspivid -g 200 -w 1280 -h 720 -fps 200 -t 10000 -b 3000000 -o test-200-intra.h264 | |
| $ /opt/raspi/bin/raspivid -g 200 -w 1280 -h 720 -fps 25 -t 10000 -b 3000000 -o test-200-intra.h264 | |
| $ perl tools/idr.pl test-*.h264 | |
| test-200-intra-fast.h264: 1, 200 | |
| test-200-intra.h264: 1, 200 | |
| test-25-intra.h264: 1, 25 x 9 | |
| test-no-intra.h264: 1, 60 x 4 |
This file contains hidden or 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
| $ cat jb.c | |
| /* jb.c */ | |
| #include <stdio.h> | |
| #include <setjmp.h> | |
| #include "jsondata.h" | |
| int main(void) { | |
| printf("%lu\n", sizeof(jd_activation)); |
This file contains hidden or 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 perl | |
| use strict; | |
| use warnings; | |
| use Data::Dumper; | |
| use Hash::Merge::Simple qw( merge ); | |
| use Net::Icecast::Source; | |
| use POSIX qw( mkfifo ); | |
| use Path::Class; |
This file contains hidden or 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
| $ whois twitter.com | |
| Whois Server Version 2.0 | |
| Domain names in the .com and .net domains can now be registered | |
| with many different competing registrars. Go to http://www.internic.net | |
| for detailed information. | |
| TWITTER.COM.GET.ONE.MILLION.DOLLARS.AT.WWW.UNIMUNDI.COM | |
| TWITTER.COM |
This file contains hidden or 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
| ip route add default dev wlan1 table 12 | |
| ip route add default dev wlan2 table 13 | |
| ip route add 10.70.2.0/24 dev wlan1 | |
| ip route add 10.70.3.0/24 dev wlan2 | |
| ip route flush cache | |
| iptables -t mangle -A OUTPUT -d 10.70.2.0/24 -j MARK --set-mark 2 | |
| iptables -t mangle -A OUTPUT -d 10.70.3.0/24 -j MARK --set-mark 3 | |
| iptables -t nat -A POSTROUTING -o wlan1 -j NETMAP --to 10.5.5.0/24 | |
| iptables -t nat -A POSTROUTING -o wlan2 -j NETMAP --to 10.5.5.0/24 | |
| iptables -t nat -A OUTPUT -o wlan1 -j NETMAP --to 10.5.5.0/24 |
This file contains hidden or 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
| $ cat ref/crontest | |
| 0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * "1 10" | |
| 1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58 * * * * "1 20" | |
| 2,5,8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,59 * * * * "1 30" | |
| $ ./crono ref/crontest | |
| 2013/11/14 16:30:26 01: 10, 02: ???, 03: ???, 04: ??? | |
| (sleeping for 34 seconds) | |
| 2013/11/14 16:31:00 01: 20, 02: ???, 03: ???, 04: ??? | |
| (sleeping for 60 seconds) | |
| 2013/11/14 16:32:00 01: 30, 02: ???, 03: ???, 04: ??? |
This file contains hidden or 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
| $ sysbench --num-threads=8 --max-requests=1000 --test=oltp --oltp-table-size=1000 --mysql-user=root run | |
| sysbench 0.4.12: multi-threaded system evaluation benchmark | |
| No DB drivers specified, using mysql | |
| Running the test with following options: | |
| Number of threads: 8 | |
| Doing OLTP test. | |
| Running mixed OLTP test | |
| Using Special distribution (12 iterations, 1 pct of values are returned in 75 pct cases) |
This file contains hidden or 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
| $ sysbench --num-threads=8 --max-requests=1000 --test=oltp --oltp-table-size=1000 --mysql-user=root run | |
| sysbench 0.4.12: multi-threaded system evaluation benchmark | |
| No DB drivers specified, using mysql | |
| Running the test with following options: | |
| Number of threads: 8 | |
| Doing OLTP test. | |
| Running mixed OLTP test | |
| Using Special distribution (12 iterations, 1 pct of values are returned in 75 pct cases) |
This file contains hidden or 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
| $ dig tagish.co.uk any | |
| ; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> tagish.co.uk any | |
| ;; global options: +cmd | |
| ;; Got answer: | |
| ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 44599 | |
| ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 | |
| ;; QUESTION SECTION: | |
| ;tagish.co.uk. IN ANY |
This file contains hidden or 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
| $ whois tagish.co.uk | |
| Domain name: | |
| tagish.co.uk | |
| Registrant: | |
| Tagish Ltd | |
| Registrant type: | |
| UK Limited Company, (Company number: 3077023) |