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
| #!/usr/bin/env python | |
| """ | |
| usage: | |
| ipfsdocker start | |
| ipfsdocker stop | |
| ipfsdocker -h | |
| ipfsdocker add <file> | |
| """ |
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
| #! /usr/bin/env python | |
| # analyse script for "nethogs -t > filename" | |
| import sys | |
| def process_line(line, sent, received): | |
| """ | |
| @params: line: string: line to process | |
| @params: sent: int: threshold for sent |
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
| package gerror | |
| import ( | |
| "fmt" | |
| ) | |
| // Error with an code in int type | |
| type Error struct { | |
| code int | |
| message string |
OlderNewer