Skip to content

Instantly share code, notes, and snippets.

View bitnom's full-sized avatar
💭
forever building

bitnom bitnom

💭
forever building
View GitHub Profile
@bitnom
bitnom / gunStoreErr.txt
Created July 7, 2019 00:25
gun local storage error
Error: EISDIR: illegal operation on a directory, read
at Object.readSync (fs.js:498:3)
at tryReadSync (fs.js:332:20)
at Object.readFileSync (fs.js:369:19)
at Object.next (/home/site/public_html/test/superPeer/node_modules/gun/lib/file.js:19:6)
at Object.next (/home/site/public_html/test/superPeer/node_modules/gun/lib/rs3.js:8:10)
at Object.next (/home/site/public_html/test/superPeer/node_modules/gun/lib/store.js:5:13)
at Function.onto [as on] (/home/site/public_html/test/superPeer/node_modules/gun/gun.js:197:41)
at Function.Gun.create (/home/site/public_html/test/superPeer/node_modules/gun/gun.js:686:10)
at new Gun (/home/site/public_html/test/superPeer/node_modules/gun/gun.js:654:15)
var Gun = require('gun');
var peersAr = ['http://tensortom.com:8080/gun'];
var gun = Gun({peers: peersAr});
gun.get('mark').put({
name: "Mark",
email: "[email protected]",
});
@bitnom
bitnom / tradingview-output.txt
Created April 15, 2019 01:22
TradingView Chart Output
Datafeed settings received: {"success":true,"supported_resolutions":["1","5","15","30","60","1D","1W","1M"],"supports_group_request":false,"supports_marks":false,"supports_search":true,"supports_timescale_marks":false,"exchanges":[]}
library.b2ee7224c8cc9f809bca.js:544 Symbol resolve requested: `BTC/USD`
vendors.4103ca2e65289b14aad5.js:29 Mixed Content: The page at 'https://example.com/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://saveload.tradingview.com/1.1/study_templates?client=tradingview.com&user=public_user_id'. This request has been blocked; the content must be served over HTTPS.
send @ vendors.4103ca2e65289b14aad5.js:29
ajax @ vendors.4103ca2e65289b14aad5.js:28
a.getStudyTemplatesList @ library.b2ee7224c8cc9f809bca.js:225
e.refreshStudyTemplateList @ library.b2ee7224c8cc9f809bca.js:293
t.componentDidMount @ restricted-toolset.bbc61138ca4ee5d2fa1c.js:15
pr @ vendors.4103ca2e65289b14aad5.js:123
fr @ vendors.4103ca2e65289b14aad5.js:122
@bitnom
bitnom / btcusd.csv
Created April 12, 2019 16:50
BTCUSD CSV
Date Open High Low Close Adj Close Volume
2017-11-29 9751.5 9992.5 9607.5 9938 9938 1236953894
2017-11-30 9938 11489 8830 9869.5 9869.5 3490469446
2017-12-01 9869.5 10750.5 8938.5 9960 9960 2291590521
2017-12-02 9960 10988 9347.5 10879.5 10879.5 1948017516
2017-12-03 10879.5 11262.5 10676.5 10910.5 10910.5 1389465247
2017-12-04 10910.5 11896 10402 11210 11210 1662517142
2017-12-05 11210 11685.5 10856 11682 11682 1539285527
2017-12-06 11682 11961 11451 11726 11726 1165153246
2017-12-07 11726 13890.5 11724 13682 13682 2181553335
@bitnom
bitnom / install_bitcoin.sh
Last active June 5, 2018 09:54
Install Bitcoin Node (CentOS 7)
#!/bin/bash
# Adapted from: https://www.ndchost.com/wiki/how-to-install-bitcoin-on-centos-7
BITCOIN_TAG="v0.16.0"
# Install the EPEL repository
sudo yum install -y epel-release
# Install requirements/dependencies