Enter the vagrant machine with
ssh vagrant
Install xdebug
sudo apt-get update
sudo apt-get install php-xdebug
Config PHP to accept xdebug connections
sudo nano /etc/php/7.0/apache2/php.ini
// MobX - state manager with functional reactive programming paradigm. | |
// version 5.8.0 | |
// The philosophy behind MobX is very simple: | |
// Anything that can be derived from the application state, | |
// should be derived. Automatically. | |
// Events | |
// ↓ | |
// [ Actions ] ← ----- ← --• |
//author @TraderX0 | |
//script to plot daily Open high and low | |
//version 1.1 | |
//last edited 22/11/2018 | |
//title | |
study(title="TraderX0__O_H_L", shorttitle="TraderX0_O_H_L", overlay=true) | |
// holds the daily price levels | |
openPrice = security(tickerid, 'D', open) |
Enter the vagrant machine with
ssh vagrant
Install xdebug
sudo apt-get update
sudo apt-get install php-xdebug
Config PHP to accept xdebug connections
sudo nano /etc/php/7.0/apache2/php.ini
Below you'll find Tradingview import files for Bittrex and Binance BTC-base markets
Ordered by CMC's Market Cap
I use Tradingview and I like to quickly click through all coins on a particular exchange. The files below can be imported into a Tradingview watchlist.
★ ★ ★ If you use these, leave a comment or a star above ★ ★ ★
Please replace TAG ID 1 and TAG ID 2 by the tags you are looking for.
SELECT p.id
FROM wp_posts AS p
JOIN wp_term_relationships AS tr ON p.id = tr.object_id
JOIN wp_term_taxonomy AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id
JOIN wp_terms AS t ON tt.term_id = t.term_id
WHERE t.term_id=_TAG ID 1_ OR t.term_id=_TAG ID 2_ AND p.post_type LIKE 'post'
GROUP BY p.id
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.
// Reference: http://www.blackdogfoundry.com/blog/moving-repository-from-bitbucket-to-github/ | |
// See also: http://www.paulund.co.uk/change-url-of-git-repository | |
$ cd $HOME/Code/repo-directory | |
$ git remote rename origin bitbucket | |
$ git remote add origin https://github.com/mandiwise/awesome-new-repo.git | |
$ git push origin master | |
$ git remote rm bitbucket |
#!/usr/bin/env python | |
""" | |
Very simple HTTP server in python (Updated for Python 3.7) | |
Usage: | |
./dummy-web-server.py -h | |
./dummy-web-server.py -l localhost -p 8000 | |
Send a GET request: |