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
test |
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
foo = 1 | |
bar = 2 | |
baz = 3 | |
#einhver event loopa... | |
function return_var(var): | |
return var |
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/sh | |
# A small step simplification of compiling with Vagrant. | |
vagrant ssh << _EOF_ | |
cd /vagrant | |
make | |
exit | |
_EOF_ |
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
//Steam startup option: -novid -console -high -threads 4 | |
//Network Commands | |
rate "128000" | |
cl_interp "0" | |
cl_interp_ratio "2" | |
cl_cmdrate "128" | |
cl_updaterate "128" | |
cl_showfps "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
N brute sorting | |
--------------------------------- | |
150 0.035 0.033 | |
200 0.045 0.038 | |
300 0.070 0.153 | |
400 0.165 0.256 | |
800 1.437 0.671 | |
1600 11.693 0.542 | |
3200 94.161 2.064 | |
6400 754.605 8.708 |
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 <SoftwareSerial.h> | |
SoftwareSerial mySerial(2,3); | |
void setup() | |
{ | |
mySerial.begin(4800); | |
Serial.begin(4800); | |
} |
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
ffmpeg -loglevel debug -i The\ Holy\ Mountain_720p.mkv -c:v libvpx -c:a libvorbis -map 0:2 -map 0:0 http://server:8090/feed.ffm ⏎ | |
ffmpeg version 2.3.1 Copyright (c) 2000-2014 the FFmpeg developers | |
built on Jul 31 2014 14:51:38 with gcc 4.9.1 (GCC) | |
configuration: --prefix=/usr --disable-debug --disable-static --enable-avisynth --enable-avresample --enable-decoder=atrac3 --enable-decoder=atrac3p --enable-dxva2 --enable-fontconfig --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-pic --enable-postproc --enable-runtime-cpudetect --enable-shared --enable-swresample --enable-vdpau --enable-versio |
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
ffmpeg -loglevel debug -i The\ Holy\ Mountain_720p.mkv -c:v libvpx -c:a libvorbis -map -0:1 http://server:8090/feed.ffm⏎ | |
ffmpeg version 2.3.1 Copyright (c) 2000-2014 the FFmpeg developers | |
built on Jul 31 2014 14:51:38 with gcc 4.9.1 (GCC) | |
configuration: --prefix=/usr --disable-debug --disable-static --enable-avisynth --enable-avresample --enable-decoder=atrac3 --enable-decoder=atrac3p --enable-dxva2 --enable-fontconfig --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-pic --enable-postproc --enable-runtime-cpudetect --enable-shared --enable-swresample --enable-vdpau --enable-version3 --enable-x11grab | |
libavutil 52. |
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
ffmpeg -i bbb_sunflower_1080p_60fps_normal.mp4 -c:v libvpx -c:a libvorbis http://server/feed.ffm |
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
➜ demoinfogo g++ -m32 -Wall -pedantic -std=c++11 *.cpp -o demoinfogo -lprotobuf | |
In file included from /usr/include/c++/4.9.0/random:49:0, | |
from /usr/include/c++/4.9.0/bits/stl_algo.h:66, | |
from /usr/include/c++/4.9.0/algorithm:62, | |
from /usr/include/google/protobuf/repeated_field.h:49, | |
from generated_proto/netmessages_public.pb.h:24, | |
from demofiledump.h:30, | |
from demofiledump.cpp:28: | |
/usr/include/c++/4.9.0/bits/random.h:106:26: error: expected unqualified-id before ‘__int128’ | |
{ typedef unsigned __int128 type; }; |