Skip to content

Instantly share code, notes, and snippets.

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
# 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);
# 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);
# 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);
#!/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)
#!/usr/bin/python
import time
import picamera
#import gps_controller
import datetime
#gpsc = gps_controller.GpsController()
#gpsc.start()
$ ./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)
$ ./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
old_gopath=$GOPATH && export GOPATH=~/gocode && go get -u github.com/Masterminds/glide && export GOPATH=$old_gopath; mv ~/gocode/bin/glide $GOPATH/bin
recksplorer@lnd-1:~/recksplorer$ npm install
npm WARN vis-react@0.3.0 requires a peer of react@^15.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
up to date in 7.769s