This file has been truncated, but you can view the full 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
| /home/lvturner/serenity/Toolchain | |
| PREFIX is /home/lvturner/serenity/Toolchain/Local | |
| SYSROOT is /home/lvturner/serenity/Toolchain/../Root | |
| /home/lvturner/serenity/Toolchain/Local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin | |
| ~/serenity/Toolchain/Tarballs ~/serenity/Toolchain | |
| md5sum: binutils-2.32.tar.gz: No such file or directory | |
| bu md5='' | |
| --2019-05-23 19:41:28-- http://ftp.gnu.org/gnu/binutils/binutils-2.32.tar.gz | |
| Resolving ftp.gnu.org (ftp.gnu.org)... 209.51.188.20, 2001:470:142:3::b | |
| Connecting to ftp.gnu.org (ftp.gnu.org)|209.51.188.20|:80... connected. |
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
| sudo cp /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /Library/ODBC/libssl.1.0.0.dylib | |
| sudo cp /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /Library/ODBC/libcrypto.1.0.0.dylib |
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
| const Promise = require('bluebird'); | |
| const db = require('./connection'); | |
| const TiingoNews = require('./grabbers/tiingo_news'); | |
| const TiingoCryptoPrice = require('./grabbers/tiingo_crypto_price'); | |
| const CoinMarketCap = require('./grabbers/coin_market_cap'); | |
| const BlockChainInfo = require('./grabbers/blockchain_info'); | |
| const StockTwitsSentiment = require('./grabbers/stocktwits_sentiment'); | |
| const StockTwitsMessageVolume = require('./grabbers/stocktwits_message_volume'); | |
| const GithubCodeFrequency = require('./grabbers/github_code_frequency'); |
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
| const CoinMarketCapModel = require('../models/coin_market_cap'); | |
| const rp = require('request-promise'); | |
| const Promise = require('bluebird'); | |
| class CoinMarketCap { | |
| constructor(db) { | |
| this.coin_market_cap_model = CoinMarketCapModel(db); | |
| } | |
| setTicker(ticker) { | |
| this.ticker = ticker; |
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
| const Sequelize = require('sequelize'); | |
| module.exports = (db) => { | |
| return db.define('coin_market_cap_item',{ | |
| // might need to get smarter with this id | |
| coin_id: { | |
| type: Sequelize.INTEGER | |
| }, | |
| name: { | |
| type: Sequelize.STRING | |
| }, |
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
| { | |
| "data": { | |
| "id": 1, | |
| "name": "Bitcoin", | |
| "symbol": "BTC", | |
| "website_slug": "bitcoin", | |
| "rank": 1, | |
| "circulating_supply": 17063437.0, | |
| "total_supply": 17063437.0, | |
| "max_supply": 21000000.0, |
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
| sudo cp /usr/local/mysql-connector-odbc-8.0.11-macos10.13-x86-64bit/lib/libmyodbc8w.so /Library/ODBC/libmyodbc8w.so |
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
| ➜ ~ mysql -uroot-p | |
| Enter password: | |
| Welcome to the MySQL monitor. Commands end with ; or \g. | |
| Your MySQL connection id is 208 | |
| Server version: 5.7.22 Homebrew | |
| Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. | |
| Oracle is a registered trademark of Oracle Corporation and/or its | |
| affiliates. Other names may be trademarks of their respective |
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
| brew install unixodbc mysql # Install unixodbc and mysql | |
| mysql_secure_installation # Use this or the command below to secure the installation a bit | |
| mysqladmin -uroot password 'cake' # The command above is better, but if you just want to set a password this works | |
| brew services start mysql # Finally start MySQL |
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
| 'use strict'; | |
| process.setMaxListeners(100); | |
| let https = require ('https'); | |
| // ********************************************** | |
| // *** Update or verify the following values. *** | |
| // ********************************************** | |
| // Replace the accessKey string value with your valid access key. |
NewerOlder