###Soap Request
###GIT
###Learning Machine
###Swift
/* Returns probability of occuring below and above target price. */ | |
function probability(price, target, days, volatility) { | |
var p = price; | |
var q = target; | |
var t = days / 365; | |
var v = volatility; | |
var vt = v*Math.sqrt(t); | |
var lnpq = Math.log(q/p); |
/* Based on | |
* - EGM Mathematical Finance class by Enrique Garcia M. <[email protected]> | |
* - A Guide to the PMT, FV, IPMT and PPMT Functions by Kevin (aka MWVisa1) | |
*/ | |
var ExcelFormulas = { | |
PVIF: function(rate, nper) { | |
return Math.pow(1 + rate, nper); | |
}, |
###Soap Request
###GIT
###Learning Machine
###Swift
Microservice in JAVA
JPA @Entity hints
Spring Cloud
Spring DATA Rest, Spring MVC and Spring HATEOAS
#!/usr/bin/env node | |
/** This hook updates platform configuration files based on preferences and config-file data defined in config.xml. | |
Currently only the AndroidManifest.xml and IOS *-Info.plist file are supported. | |
See http://stackoverflow.com/questions/28198983/ionic-cordova-add-intent-filter-using-config-xml | |
Preferences: | |
1. Preferences defined outside of the platform element will apply to all platforms | |
2. Preferences defined inside a platform element will apply only to the specified platform |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
if [ -f ~/.git-completion.bash ]; then | |
. ~/.git-completion.bash | |
fi | |
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* | |
# Set PATH | |
export PATH="/Applications/MAMP/Library/bin/:$PATH" |
https://github.com/pemrouz/popper | |
https://github.com/lapwinglabs/bare-auth | |
https://github.com/stevenmiller888/mind |
<!-- Debug --> | |
<style> | |
pre.debug { | |
font-size: 11px; | |
position: fixed; | |
top: 130px; | |
left: 40px; | |
overflow-y: scroll; | |
direction: ltr; | |
max-height: 80%; |