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 python | |
""" | |
simple mssql -> csv file example using pymssql | |
@author jack@tinybike.net | |
""" | |
import csv | |
import datetime | |
import pymssql | |
from decimal import Decimal |
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
function hex_to_utf16le(hex) { | |
var output = ''; | |
for (var i = 0, l = hex.length; i < l; i += 4) { | |
output += '\\u' + hex.slice(i+2, i+4) + hex.slice(i, i+2); | |
} | |
return JSON.parse('"' + output + '"'); | |
} |
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 python | |
# -*- coding: utf-8 -*- | |
""" | |
calculate a weighted median | |
@author Jack Peterson (jack@tinybike.net) | |
""" | |
from __future__ import division | |
import numpy as np | |
def weighted_median(data, weights): |
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
[global_config] | |
suppress_multiple_term_dialog = True | |
title_transmit_bg_color = "#c00909" | |
[keybindings] | |
[layouts] | |
[[default]] | |
[[[child0]]] | |
fullscreen = False | |
last_active_term = f6492e56-7053-4ce3-8780-d71bd7ae0843 | |
last_active_window = True |
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 python | |
noShowBondsThatActuallyDidntShowInPreviousWindow = 3 | |
totalNoShowBondsInPreviousWindow = 4 | |
repPrice = 21 | |
targetDesignatedReportNoShowsDivisor = 20 | |
initalReportMinValue = 0.7 | |
noShowBond = 0.7 |
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
Feb 14 05:39:09 rinkeby-signer systemd[1]: Started geth. | |
Feb 14 05:39:09 rinkeby-signer sudo[2694]: pam_unix(sudo:session): session closed for user root | |
Feb 14 05:39:09 rinkeby-signer geth[2697]: WARN [02-14|05:39:09.656] Sanitizing cache to Go's GC limits provided=2048 updated=1314 | |
Feb 14 05:39:09 rinkeby-signer geth[2697]: DEBUG[02-14|05:39:09.659] Sanitizing Go's GC trigger percent=77 | |
Feb 14 05:39:09 rinkeby-signer geth[2697]: INFO [02-14|05:39:09.660] Maximum peer count ETH=128 LES=0 total=128 | |
Feb 14 05:39:09 rinkeby-signer geth[2697]: INFO [02-14|05:39:09.660] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory" | |
Feb 14 05:39:09 rinkeby-signer geth[2697]: DEBUG[02-14|05:39:09.661] FS scan times list=769.009µs set=5.376µs diff=2.434µs | |
Feb 14 05:39:09 rinkeby-signer geth[2697]: INFO [02-14|05:39:09.663] Starting peer-to-peer node instance=Geth/v1.9.10-stable-58cf5686/linux-amd64 |
This file has been truncated, but you can view the full file.
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
=== npm audit security report === | |
# Run npm install ethereumjs-ledger@2.1.5 to resolve 18 vulnerabilities | |
┌───────────────┬──────────────────────────────────────────────────────────────┐ | |
│ Moderate │ ReDoS │ | |
├───────────────┼──────────────────────────────────────────────────────────────┤ | |
│ Package │ brace-expansion │ | |
├───────────────┼──────────────────────────────────────────────────────────────┤ | |
│ Dependency of │ ethereumjs-ledger │ | |
├───────────────┼──────────────────────────────────────────────────────────────┤ |
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
jack@substrate:~/src/augur-core$ npm audit | |
=== npm audit security report === | |
# Run npm update webpack-cli --depth 3 to resolve 396 vulnerabilities | |
┌───────────────┬──────────────────────────────────────────────────────────────┐ | |
│ Low │ Prototype Pollution │ | |
├───────────────┼──────────────────────────────────────────────────────────────┤ | |
│ Package │ lodash │ | |
├───────────────┼──────────────────────────────────────────────────────────────┤ |
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
lrwxrwxrwx 1 jack jack 32 Aug 7 18:38 2to3-3.5 -> /snap/core/4830/usr/bin/2to3-3.5 | |
lrwxrwxrwx 1 jack jack 34 Aug 7 17:43 aa-enabled -> /snap/core/4830/usr/bin/aa-enabled | |
lrwxrwxrwx 1 jack jack 31 Aug 7 18:16 addpart -> /snap/core/5145/usr/bin/addpart | |
lrwxrwxrwx 1 jack jack 28 Aug 7 17:33 arch -> /snap/core/4830/usr/bin/arch | |
lrwxrwxrwx 1 jack jack 30 Aug 7 17:29 base32 -> /snap/core/4830/usr/bin/base32 | |
lrwxrwxrwx 1 jack jack 30 Aug 7 17:29 base64 -> /snap/core/4830/usr/bin/base64 | |
lrwxrwxrwx 1 jack jack 32 Aug 7 17:33 basename -> /snap/core/4830/usr/bin/basename | |
lrwxrwxrwx 1 jack jack 31 Aug 7 18:25 bashbug -> /snap/core/4830/usr/bin/bashbug | |
lrwxrwxrwx 1 jack jack 32 Aug 7 18:25 c_rehash -> /snap/core/4830/usr/bin/c_rehash | |
lrwxrwxrwx 1 jack jack 33 Aug 7 18:33 catchsegv -> /snap/core/4830/usr/bin/catchsegv |
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
2018-08-07 13:11:50 startup archives unpack | |
2018-08-07 13:11:51 upgrade libpam-systemd:amd64 229-4ubuntu21.2 229-4ubuntu21.4 | |
2018-08-07 13:11:51 status half-configured libpam-systemd:amd64 229-4ubuntu21.2 | |
2018-08-07 13:11:51 status unpacked libpam-systemd:amd64 229-4ubuntu21.2 | |
2018-08-07 13:11:51 status half-installed libpam-systemd:amd64 229-4ubuntu21.2 | |
2018-08-07 13:11:51 status triggers-pending man-db:amd64 2.7.5-1 | |
2018-08-07 13:11:51 status half-installed libpam-systemd:amd64 229-4ubuntu21.2 | |
2018-08-07 13:11:51 status unpacked libpam-systemd:amd64 229-4ubuntu21.4 | |
2018-08-07 13:11:51 status unpacked libpam-systemd:amd64 229-4ubuntu21.4 | |
2018-08-07 13:11:51 upgrade libudev1:i386 229-4ubuntu21.2 229-4ubuntu21.4 |
NewerOlder