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
make | |
g++ -static -DMAXGAP=3 -DMAXHITS=10000 -DTHREAD -O3 -funroll-loops -DDB_CHR -D | |
READ_36 -c align.cpp -o align.a.o | |
g++ -static -DMAXGAP=3 -DMAXHITS=10000 -DTHREAD -O3 -funroll-loops -DDB_CHR -D | |
READ_36 -c dbseq.cpp -o dbseq.a.o | |
g++ -static -DMAXGAP=3 -DMAXHITS=10000 -DTHREAD -O3 -funroll-loops -DDB_CHR -D | |
READ_36 -c main.cpp -o main.a.o | |
g++ -static -DMAXGAP=3 -DMAXHITS=10000 -DTHREAD -O3 -funroll-loops -DDB_CHR -D | |
READ_36 -c pairs.cpp -o pairs.a.o | |
g++ -static -DMAXGAP=3 -DMAXHITS=10000 -DTHREAD -O3 -funroll-loops -DDB_CHR -D |
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
# Generate 1GB of random numbers and write them to a file | |
perl -e 'print STDERR "Grenerating data...\n"; while (1) { print rand() }' | \ | |
dd count=20971520 bs=512 | perl -e ' | |
# Accumulate and then Measure with dd | |
@all = (); | |
binmode(STDIN); | |
while (read(STDIN, $b, 1048576)) { # Read in 1 MB chunks | |
push(@all, $b); |
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
# Generate 1GB of random numbers and write them to a file | |
perl -e 'print STDERR "Grenerating data...\n"; while (1) { print rand() }' | \ | |
dd count=41943040 bs=512 | perl -e ' | |
# Accumulate and then Measure with dd | |
@all = (); | |
binmode(STDIN); | |
while (read(STDIN, $b, 1048576)) { # Read in 1 MB chunks | |
push(@all, $b); |
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
# Generate 1GB of random numbers and write them to a file | |
perl -e 'print STDERR "Grenerating data...\n"; while (1) { print rand() }' | \ | |
dd count=62914560 bs=512 | perl -e ' | |
# Accumulate and then Measure with dd | |
@all = (); | |
binmode(STDIN); | |
while (read(STDIN, $b, 1048576)) { # Read in 1 MB chunks | |
push(@all, $b); |
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/env ruby | |
srand(123) # Seed Random Generator for Reproducibility | |
loop_connection = 1_000_000 + rand(1_000_000) | |
real_end = loop_connection + 10 + rand(500_000) # loop size is from 10 to 500k | |
def rand_128bits_in_hex | |
# Return string is between hex 1000_0000 and ffff_ffff | |
("10000000".hex + rand("ffffffff".hex - "10000000".hex)).to_s(16) |
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/python | |
import time | |
import picamera | |
#import gps_controller | |
import datetime | |
#gpsc = gps_controller.GpsController() | |
#gpsc.start() |
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
$ ./biostar.sh init | |
*** Initializing server on www.lvh.me:8080 with biostar.settings.base | |
*** Running all tests | |
Traceback (most recent call last): | |
File "manage.py", line 9, in <module> | |
execute_from_command_line(sys.argv) | |
File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line | |
utility.execute() | |
File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) |
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
$ ./biostar.sh init | |
*** Initializing server on www.lvh.me:8080 with biostar.settings.base | |
*** Running all tests | |
Traceback (most recent call last): | |
File "manage.py", line 9, in <module> | |
execute_from_command_line(sys.argv) | |
File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line | |
utility.execute() | |
File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute |
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
old_gopath=$GOPATH && export GOPATH=~/gocode && go get -u github.com/Masterminds/glide && export GOPATH=$old_gopath; mv ~/gocode/bin/glide $GOPATH/bin |
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
recksplorer@lnd-1:~/recksplorer$ npm install | |
npm WARN [email protected] requires a peer of react@^15.3.0 but none is installed. You must install peer dependencies yourself. | |
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents): | |
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) | |
up to date in 7.769s |
OlderNewer