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 apt-get install libgraphicsmagick++1-dev libboost-python-dev | |
pip install pgmagick -U |
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
from ctypes import * | |
import os | |
import json | |
""" | |
The following c structure came from the Zorro manual. | |
See here for the structure of other files: https://manual.zorro-project.com/history.htm | |
""" | |
ZORRO_T6_FILE_TO_READ = os.path.join('.', 'AUDJPY_2009.t6') |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
1. Ask HN: What books changed the way you think about almost everything? - https://news.ycombinator.com/item?id=19087418 | |
2. Ask HN: What are the best MOOCs you've taken? - https://news.ycombinator.com/item?id=16745042 | |
3. Ask HN: How to self-learn electronics? - https://news.ycombinator.com/item?id=16775744 | |
4. Ask HN: Successful one-person online businesses? - https://news.ycombinator.com/item?id=21332072 | |
5. Ask HN: What's the most valuable thing you can learn in an hour? - https://news.ycombinator.com/item?id=21581361 |
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
import os | |
import requests | |
### This flow does not include user authorization, | |
### so only endpoints that do not request user information | |
### (e.g. user profile data) can be accessed. | |
### https://developer.spotify.com/documentation/web-api/concepts/authorization | |
SPOTIFY_CLIENT_ID = os.getenv("SPOTIFY_CLIENT_ID") | |
SPOTIFY_CLIENT_SECRET = os.getenv("SPOTIFY_CLIENT_SECRET") |
OlderNewer