start new:
tmux
start new with session name:
tmux new -s myname
node_modules | |
*.swp |
""" | |
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
BSD License | |
""" | |
import numpy as np | |
# data I/O | |
data = open('input.txt', 'r').read() # should be simple plain text file | |
chars = list(set(data)) | |
data_size, vocab_size = len(data), len(chars) |
defaults write org.vim.MacVim MMTextInsetTop '10' | |
defaults write org.vim.MacVim MMTextInsetLeft '10' | |
defaults write org.vim.MacVim MMTextInsetBottom '10' | |
defaults write org.vim.MacVim MMTextInsetRight '10' |
function _common_section | |
printf $c1 | |
printf $argv[1] | |
printf $c0 | |
printf ":" | |
printf $c2 | |
printf $argv[2] | |
printf $argv[3] | |
printf $c0 | |
printf ", " |
############################################################ | |
## Using Genetic Algorithms in Quantitative Trading | |
## | |
## thertrader@gmail.com - Mar 2014 | |
############################################################ | |
library(PerformanceAnalytics) | |
library(rgenoud) | |
library(quantmod) | |
library(TTR) |
import alpaca_trade_api as tradeapi | |
api = tradeapi.REST(key_id=<your key id>,secret_key=<your secret key>) | |
class positionHandler: | |
def __init__(self,startingBalance=10000,liveTrading=False): | |
self.cashBalance = startingBalance | |
self.livePositions = {} # Dictionary of currently open positions | |
self.openOrders = [] # List of open orders | |
self.positionHistory = [] # List of items [Symbol, new position size] |
What would you need:
Hardware requirements
package mailhog | |
/* | |
dependencies: | |
testImplementation("org.testcontainers:testcontainers:1.15.2") | |
testImplementation(platform("org.http4k:http4k-bom:4.3.5.4")) | |
testImplementation("org.http4k:http4k-core") | |
testImplementation("org.http4k:http4k-client-apache") { | |
because("mailhog http api messages access") |
--- | |
creation date: <% tp.file.creation_date() %> | |
tags: DailyNote <% tp.file.title.split('-')[0] %> | |
--- | |
modification date: <%+ tp.file.last_modified_date("dddd Do MMMM YYYY HH:mm:ss") %> // This doesn't currently work in front matter, hoping that gets fixed. | |
# <% tp.file.title %> | |
<< [[<% tp.date.now("YYYY-MM-DD", -1, tp.file.title, "YYYY-MM-DD") %>]] | [[<% tp.date.now("YYYY-MM-DD", 1, tp.file.title, "YYYY-MM-DD") %>]]>> |