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
Program received signal SIGSEGV, Segmentation fault. | |
_lair_tokenize (program=0xfff7ff5000 <error: Cannot access memory at address 0xfff7ff5000>, len=253) at src/parse.c:149 | |
149 const _str line = read_line(program + num_read); | |
(gdb) bt | |
#0 _lair_tokenize (program=0xfff7ff5000 <error: Cannot access memory at address 0xfff7ff5000>, len=253) at src/parse.c:149 | |
#1 0x0000000000402206 in lair_execute (program=0x0, len=0) at src/lair.c:33 | |
#2 0x0000000000400bd6 in main (argc=<optimized out>, argv=<optimized out>) at src/main.c:30 |
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
AUTOJUMP_ERROR_PATH=/home/kyle/.local/share/autojump/errors.log | |
INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH=10 | |
XDG_VTNR=7 | |
SSH_AGENT_PID=2772 | |
XDG_SESSION_ID=3 | |
VIRTUALENVWRAPPER_PROJECT_FILENAME=.project | |
VIRTUALENVWRAPPER_SCRIPT=/usr/local/bin/virtualenvwrapper.sh | |
AUTOJUMP_SOURCED=1 | |
INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH=25 | |
INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE=0 |
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
[ 7563 OK kyle@insomnia:~/src/OlegDB ] | |
[ git:feature/go-frontend ] | |
$ ./build/bin/olegdb | |
./build/bin/olegdb: error while loading shared libraries: liboleg.so: cannot open shared object file: No such file or directory | |
[ 7564 ERR 127 kyle@insomnia:~/src/OlegDB ] | |
[ git:feature/go-frontend ] | |
$ echo $PATH | |
/home/kyle/.autojump/bin:/home/kyle/.cabal/bin:/home/kyle/bin:/usr/local/bin:/usr/local/sbin:/usr/local/lib:/home/kyle/.autojump/bin:/usr/local/bin:/usr/local/sbin:/usr/local/lib:~/.cabal/bin:~/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/kyle/src/go/bin:/home/kyle/src/go/bin | |
[ 7565 OK kyle@insomnia:~/src/OlegDB ] | |
[ git:feature/go-frontend ] |
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
[ 7510 OK kyle@insomnia:~/src/OlegDB ] | |
[ git:feature/go-frontend ] | |
$ ./build/bin/olegdb | |
./build/bin/olegdb: error while loading shared libraries: liboleg.so: cannot open shared object file: No such file or directory | |
[ 7511 ERR 127 kyle@insomnia:~/src/OlegDB ] | |
[ git:feature/go-frontend ] | |
$ ls /usr/local/lib | |
liboleg.so liboleg.so.0 liboleg.so.0.1.5 libzmq.a libzmq.la libzmq.so libzmq.so.3 libzmq.so.3.1.0 pkgconfig python2.7 python3.4 | |
[ 7512 OK kyle@insomnia:~/src/OlegDB ] | |
[ git:feature/go-frontend ] |
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
$ make | |
cc -Wall -Werror -g3 -O2 -Wstrict-aliasing=2 -I./include -c -fPIC c_src/murmur3.c | |
cc -Wall -Werror -g3 -O2 -Wstrict-aliasing=2 -I./include -c -fPIC c_src/oleg.c | |
cc -Wall -Werror -g3 -O2 -Wstrict-aliasing=2 -I./include -c -fPIC c_src/logging.c | |
cc -Wall -Werror -g3 -O2 -Wstrict-aliasing=2 -I./include -c -fPIC c_src/aol.c | |
cc -Wall -Werror -g3 -O2 -Wstrict-aliasing=2 -I./include -c -fPIC c_src/rehash.c | |
cc -Wall -Werror -g3 -O2 -Wstrict-aliasing=2 -I./include -c -fPIC c_src/file.c | |
cc -Wall -Werror -g3 -O2 -Wstrict-aliasing=2 -I./include -c -fPIC c_src/utils.c | |
cc -Wall -Werror -g3 -O2 -Wstrict-aliasing=2 -I./include -c -fPIC c_src/tree.c | |
cc -Wall -Werror -g3 -O2 -Wstrict-aliasing=2 -I./include -c -fPIC c_src/lz4.c |
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
#!/bin/sh | |
export LD_LIBRARY_PATH=./build/lib:$LD_LIBRARY_PATH | |
<<<<<<< HEAD | |
if [ "$1" == "valgrind" ] | |
then | |
valgrind --leak-check=full --track-origins=yes ./build/bin/oleg_test | |
======= | |
rm -rf /tmp/oleg_is_king |
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
Traceback (most recent call last): | |
File "/usr/lib64/python2.7/site-packages/gevent/greenlet.py", line 327, in run | |
result = self._run(*self.args, **self.kwargs) | |
File "build/bdist.linux-x86_64/egg/tenykswunderground/main.py", line 83, in handle_weather_alerts | |
location_string = self.fetch_location(location) | |
File "build/bdist.linux-x86_64/egg/tenykswunderground/main.py", line 43, in fetch_location | |
search = requests.get(SEARCH_URL_TEMPLATE.format(location=location_query)) | |
File "/usr/lib64/python2.7/site-packages/requests/api.py", line 55, in get | |
return request('get', url, **kwargs) | |
File "/usr/lib64/python2.7/site-packages/requests/api.py", line 44, in request |
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
#!/bin/bash - | |
set -x | |
while IFS=":" read -r filename match; | |
do | |
echo $match | |
tag_name=$(echo ${match} | sed -n "s/^.*{% import \([a-zA-Z0-9_]*\) %}.*$/\1/p") | |
sed -i "s~${tag_name}\.~~g" ${filename} | |
sed -i 's~{% import \([a-zA-Z0-9_]*\) %}~{% load \1 %}~g' ${filename} | |
done < <(grep -r '{% import' * | grep -v docs | grep -v killshit) |
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
kyle@iff-utility01 ~/.config/tenykshahameter/data $ cat hahas.db |awk '{print $2}' | sort | uniq -c | sort -nr | |
291 vhost- | |
104 undata | |
85 nijotz | |
84 coalbe | |
31 lykkin | |
24 Wraithan | |
6 Pilate | |
6 comrade_soviet | |
6 ben_vulpes |
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
[57336] 30 Oct 10:20:27.325 # +sdown master middleware 10.150.1.18 6385 | |
[57336] 30 Oct 10:20:27.396 # +odown master middleware 10.150.1.18 6385 #quorum 2/2 | |
[57336] 30 Oct 10:20:27.396 # +new-epoch 1 | |
[57336] 30 Oct 10:20:27.396 # +try-failover master middleware 10.150.1.18 6385 | |
[57336] 30 Oct 10:20:27.397 # +vote-for-leader c04707003fdd5526df21d2580b8b686950d3fffa 1 | |
[57336] 30 Oct 10:20:27.399 # 10.150.1.18:26385 voted for c04707003fdd5526df21d2580b8b686950d3fffa 1 | |
[57336] 30 Oct 10:20:27.399 # 10.150.1.19:26385 voted for c04707003fdd5526df21d2580b8b686950d3fffa 1 | |
[57336] 30 Oct 10:20:27.480 # +elected-leader master middleware 10.150.1.18 6385 | |
[57336] 30 Oct 10:20:27.480 # +failover-state-select-slave master middleware 10.150.1.18 6385 | |
[57336] 30 Oct 10:20:27.552 # +selected-slave slave 10.150.1.19:6385 10.150.1.19 6385 @ middleware 10.150.1.18 6385 |