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
{ | |
"__inputs": [ | |
{ | |
"name": "DS_PROMETHEUS", | |
"label": "Prometheus", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" | |
} |
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
{ | |
"__inputs": [ | |
{ | |
"name": "DS_PROMETHEUS", | |
"label": "Prometheus", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" | |
} |
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
2019-07-04 23:12:50.100 [INF] SRVR: Negotiated chan series queries with 02d707df6a61a87ea8c6f3fe29a31b107ab257f262251302c2c31c269b215e8e6f | |
2019-07-04 23:12:50.100 [INF] DISC: Creating new GossipSyncer for peer=02d707df6a61a87ea8c6f3fe29a31b107ab257f262251302c2c31c269b215e8e6f | |
2019-07-04 23:12:57.911 [DBG] ATPL: Node updates received, assessing need for more channels | |
2019-07-04 23:12:57.912 [DBG] ATPL: Pending channels: (map[autopilot.NodeID]autopilot.Channel) { | |
} | |
2019-07-04 23:12:57.912 [DBG] ATPL: No more channels needed because channel limit was reached. Limit: 3. Current number of channels: 4 | |
2019-07-04 23:12:59.203 [DBG] ATPL: Node updates received, assessing need for more channels | |
2019-07-04 23:12:59.203 [DBG] ATPL: Pending channels: (map[autopilot.NodeID]autopilot.Channel) { | |
} |
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 |
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
$ ./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
$ ./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
#!/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
#!/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
# 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); |