Skip to content

Instantly share code, notes, and snippets.

View njsoly's full-sized avatar
💭
Kickin' it.

Nate Solyntjes njsoly

💭
Kickin' it.
View GitHub Profile
/* hello */
console.log('hello, tamper monkey!');
import requests
## you will need to add an API key parameter if you call these more than a few times ##
#OHLC data
r = requests.get('https://finnhub.io/api/v1/stock/candle?symbol=AAPL&resolution=1&from=1572651390&to=1572910590')
print(r.json())
#Tick data - premium accounts only
r = requests.get('https://finnhub.io/api/v1/stock/tick?symbol=AAPL&date=2020-03-25')
@njsoly
njsoly / 2>&1
Created January 6, 2019 08:02
2>&1
2>&1
@njsoly
njsoly / python_resources.md
Created September 4, 2018 10:13 — forked from jookyboi/python_resources.md
Python-related modules and guides.

Packages

  • lxml - Pythonic binding for the C libraries libxml2 and libxslt.
  • boto - Python interface to Amazon Web Services
  • Django - Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
  • Fabric - Library and command-line tool for streamlining the use of SSH for application deployment or systems administration task.
  • PyMongo - Tools for working with MongoDB, and is the recommended way to work with MongoDB from Python.
  • Celery - Task queue to distribute work across threads or machines.
  • pytz - pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.4 or higher.

Guides

@njsoly
njsoly / javascript_resources.md
Created September 4, 2018 10:13 — forked from jookyboi/javascript_resources.md
Here are a set of libraries, plugins and guides which may be useful to your Javascript coding.

Libraries

  • jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
  • Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
  • AngularJS - Conventions based MVC framework for HTML5 apps.
  • Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
  • lawnchair - Key/value store adapter for indexdb, localStorage
@njsoly
njsoly / ipa.txt
Created March 16, 2017 22:01
ipa
/səlˈɪntʃəs/
@njsoly
njsoly / bash.bashrc
Last active July 11, 2017 15:45
System-wide .bashrc for interactive shells.
# System-wide .bashrc file for interactive bash(1) shells.
# To enable the settings / commands in this file for login shells as well,
# this file has to be sourced in /etc/profile.
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
@njsoly
njsoly / eclipse update sites
Last active December 15, 2015 08:19
Eclipse Update Sites
Android ADT Plugin Site https://dl-ssl.google.com/android/eclipse/
/*
* Lab1.asm
*
* Author: njsoly
*/
.include "m8515def.inc"
.def temp = r16
@njsoly
njsoly / Desktop.ini
Created February 28, 2013 23:39
A sample Desktop.ini file, for providing details about directories in Windows Explorer. I used the one that the PortapbleApps.com platform created for itself, which sets it up with an icon and a tooltip.
[.ShellClassInfo]
InfoTip=Text goes here becomes a tooltip for hovering over the folder in Exlorer.
IconFile=.\wherever-icons-are-kept\SomeIcon.ico
IconIndex=0