Skip to content

Instantly share code, notes, and snippets.

View kyleterry's full-sized avatar

Kyle Terry kyleterry

View GitHub Profile
$ ./site build
Initialising...
Creating store...
Creating provider...
Running rules...
Checking for out-of-date items
Compiling
cached templates/page.html
cached templates/default.html
cached about.markdown
Can I use a single license on more than one Mac?
VMware Fusion for personal use:
You may install and use VMware Fusion for personal, non-commercial use on any Apple-branded products running Mac OS X ("Mac Computer") that you own or control.
VMware Fusion for commercial use:
If you are a commercial enterprise or educational institution, you may install and use the Software on a number of Apple-branded products running Mac OS X ("Mac Computer") that you own or control equal to the number of licenses purchased. Installing and using the Software on multiple Mac Computers with a single license is prohibited even if the computers are not running the Software concurrently.
- See more at: https://www.vmware.com/support/fusion/faq/licensing.html#sthash.e7LmreWK.dpuf
[ OK kyle@insomnia:~/src/Project-Oleg ]
[ [git:master] ]
$ cloc .
13 text files.
13 unique files.
646 files ignored.
http://cloc.sourceforge.net v 1.60 T=0.07 s (153.1 files/s, 13700.3 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
==27151==
==27151== HEAP SUMMARY:
==27151== in use at exit: 65,852 bytes in 3 blocks
==27151== total heap usage: 2,000,028 allocs, 2,000,025 frees, 66,007,218 bytes allocated
==27151==
==27151== 20 bytes in 1 blocks are definitely lost in loss record 1 of 3
==27151== at 0x4C27730: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27151== by 0x402ECD: ol_jar (oleg.c:197)
==27151== by 0x4016B7: test_scoop (test.c:118)
==27151== by 0x401CD1: run_tests (test.c:218)
[ OK kyle@nebula:~/src/personal/Project-Oleg ]
[ [git:master] ]
$ ./olegdb test
Running tests.
-----
test_open_close
Opened DB: 0x7fdb11c03a10.
[-] Freeing 0 records.
[-] Iterations: 8192.
[ OK kyle@insomnia:~/src/Project-Oleg ]
[ [git:feature/db_dumps] ]
$ cloc .
19 text files.
18 unique files.
1242 files ignored.
http://cloc.sourceforge.net v 1.60 T=0.11 s (115.5 files/s, 14059.6 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
$ make
gcc -std=c99 -Wall -Werror -g3 -c -fPIC -I./include ./src/murmur3.c
gcc -std=c99 -Wall -Werror -g3 -c -fPIC -I./include ./src/oleg.c
gcc -std=c99 -Wall -Werror -g3 -c -fPIC -I./include ./src/dump.c
gcc -std=c99 -Wall -Werror -g3 -shared -Wl,-soname,liboleg.so.1 -o /Users/kyle/src/personal/Project-Oleg/build/lib/liboleg.so.0.1 murmur3.o dump.o oleg.o
ld: unknown option: -soname
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [liboleg] Error 1
[ OK kyle@imsad:~/src/Project-Oleg ]
$ make
gcc -std=c99 -Wall -Werror -g3 -c -fPIC -I./include ./src/murmur3.c
gcc -std=c99 -Wall -Werror -g3 -c -fPIC -I./include ./src/oleg.c
gcc -std=c99 -Wall -Werror -g3 -c -fPIC -I./include ./src/dump.c
gcc -std=c99 -Wall -Werror -g3 -lm -shared -Wl,-soname,liboleg.so.1 -o /home/kyle/src/Project-Oleg/build/lib/liboleg.so.0.1 murmur3.o dump.o oleg.o
if ! [ -L /home/kyle/src/Project-Oleg/build/lib/liboleg.so.1 ]; then ln -s /home/kyle/src/Project-Oleg/build/lib/liboleg.so.0.1 /home/kyle/src/Project-Oleg/build/lib/liboleg.so.1; fi
ln: failed to create symbolic link ‘/home/kyle/src/Project-Oleg/build/lib/liboleg.so.1’: File exists
make: *** [liboleg] Error 1
23 text files.
22 unique files.
983 files ignored.
http://cloc.sourceforge.net v 1.60 T=0.21 s (80.5 files/s, 8623.5 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
C 5 228 119 906
Erlang 4 15 89 113
import env.common
import os
from fabric.api import env, cd, sudo, run, local, abort, task, prompt
from fabric.contrib import django
from lib.aquameta.fabric_utils import (virtualenv, database, raw_connection,
check_for_database_existence, yes_no_prompt,
env_apply_json_file)
from urllib import urlencode
from urllib2 import urlopen
import json