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
//this script will monitor for all pairs and find any open orders for that pair. | |
// I've done my best to account for throttling and make the script robust. | |
// save locally, add your api key, and run with "node <script name>" in console. | |
// You'll get alerted (in console) when an order fills. | |
// if you'd like to send a donation my way: | |
// BTC: 1JD595vphvXmWEwpjiUmfw3QzsBtE9jUP7 | |
// LTC: LcaHE2dqrH73xLtoKXwDZEUtDiY42iAvk4 | |
// ETH: 0x110191093ffab1f0d3d6012cc0de15f42257b7f6 | |
// BNB: 0x110191093ffab1f0d3d6012cc0de15f42257b7f6 | |
// [email protected] for questions... I'll do my best to support the script if you find any bugs. |
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
/*! | |
* jScroll - jQuery Plugin for Infinite Scrolling / Auto-Paging | |
* @see @link{https://jscroll.com} | |
* | |
* @copyright Philip Klauzinski | |
* @license Dual licensed under the MIT and GPL Version 2 licenses | |
* @author Philip Klauzinski (https://webtopian.com) | |
* @version 2.4.1 | |
* @requires jQuery v1.8.0+ | |
* @preserve |
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
/*! | |
* jScroll - jQuery Plugin for Infinite Scrolling / Auto-Paging | |
* @see @link{https://jscroll.com} | |
* | |
* @copyright Philip Klauzinski | |
* @license Dual licensed under the MIT and GPL Version 2 licenses | |
* @author Philip Klauzinski (https://webtopian.com) | |
* @version 2.4.1 | |
* @requires jQuery v1.8.0+ | |
* @preserve |
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
{"type":"li","props":{"className":"ant-menu-submenu ant-menu-submenu-horizontal ant-menu-overflowed-submenu","style":{"display":"none"},"children":[false,false,{"key":null,"ref":null,"props":{"prefixCls":"ant-menu-submenu","popupClassName":"ant-menu-submenu-popup ant-menu-light","builtinPlacements":{"topLeft":{"points":["bl","tl"],"overflow":{"adjustX":1,"adjustY":1},"offset":[0,-7]},"bottomLeft":{"points":["tl","bl"],"overflow":"~props~children~2~props~builtinPlacements~topLeft~overflow","offset":[0,7]},"leftTop":{"points":["tr","tl"],"overflow":"~props~children~2~props~builtinPlacements~topLeft~overflow","offset":[-4,0]},"rightTop":{"points":["tl","tr"],"overflow":"~props~children~2~props~builtinPlacements~topLeft~overflow","offset":[4,0]}},"popupPlacement":"bottomLeft","popupVisible":false,"popupAlign":{},"popup":{"type":"div","key":null,"ref":null,"props":{},"_owner":{"tag":1,"key":null,"stateNode":{"props":{"title":{"type":"span","key":null,"ref":null,"props":{"children":"···"},"_owner":null,"_store":{}} |
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
[@bs.module "@fortawesome/react-fontawesome"] external reactClass : ReasonReact.reactClass = "FontAwesomeIcon"; | |
[@bs.obj] | |
external makeProps: | |
( | |
~icon: array(string), | |
~id: string=?, | |
~className: string=?, | |
~style: ReactDOMRe.Style.t=?, | |
unit |
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
const express = require("express"); | |
const next = require("next"); | |
const expressHealthcheck = require("express-healthcheck"); | |
const Sentry = require("@sentry/node"); | |
const fs = require("fs"); | |
const port = parseInt(process.env.PORT, 10) || 3000; | |
const dev = process.env.NODE_ENV !== "production"; | |
const app = next({dev}); | |
const handle = app.getRequestHandler(); |
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
const withLess = require('@zeit/next-less') | |
const resolve = require('resolve') | |
// styled jsx will fail without it | |
if (typeof require !== 'undefined') { | |
require.extensions['.less'] = (file) => {} | |
} | |
module.exports = withLess({ | |
lessLoaderOptions: { |
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
# First, install all of the things | |
sudo su | |
apt-get update | |
apt-get install nginx | |
/etc/init.d/nginx start | |
apt-get install python-dev | |
apt-get install python-pip | |
apt-get install libjpeg-dev libpng-dev libtiff-dev libjasper-dev libgtk2.0-dev python-numpy python-pycurl libwebp-dev python-opencv libjpeg-progs | |
ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib |
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
OldHttpRequest = Turbolinks.HttpRequest | |
class Turbolinks.CachedHttpRequest extends Turbolinks.HttpRequest | |
constructor: (_, location, referrer) -> | |
super(this, location, referrer) | |
requestCompletedWithResponse: (response, redirectedToLocation) -> | |
@response = response | |
@redirect = redirectedToLocation |