Having both Node.js and io.js installed with NVM was giving me a load of problems, mainly with npm. So I uninstalled NVM and manage Node.js and io.js with homebrew.
Heres how.
Install Node.js and io.js
$ brew install node
$ brew install iojs
#!/bin/sh | |
print_usage() { | |
echo "usage: compress_video <input_file> [half]" | |
echo "supported formats: mp4, webm, mkv, mov, avi, flv" | |
echo "[half] is an optional argument to scale the video to half the width and height" | |
} | |
get_extension() { | |
f="${1##*/}" |
Source https://tradinganalysis.com/four-percentile-resource/ | |
Code to put in program | |
IV Percentile On Chart# beginning of code ———————- – | |
# IV% thinkscript code | |
# Display Implied Volatility Percentile as a label on a chart | |
declare upper ; | |
input length = 252 ; # bars to use in implied volatility calculation | |
# If IV data doesn’t exist for a particular period, set it to previous value so it won’t affect the hi/low | |
def ivClean = if IsNaN(imp_volatility()) then ivClean from 1 bar ago |
#!/bin/bash | |
# Stop cached listeners | |
watchman watch-del-all | |
# Remove installed modules | |
rm -rf node_modules | |
# Remove yarn meta files | |
rm yarn* |
Having both Node.js and io.js installed with NVM was giving me a load of problems, mainly with npm. So I uninstalled NVM and manage Node.js and io.js with homebrew.
Heres how.
Install Node.js and io.js
$ brew install node
$ brew install iojs
" copy all this into a vim buffer, save it, then... | |
" source the file by typing :so % | |
" Now the vim buffer acts like a specialized application for mastering vim | |
" There are two queues, Study and Known. Depending how confident you feel | |
" about the item you are currently learning, you can move it down several | |
" positions, all the way to the end of the Study queue, or to the Known | |
" queue. | |
" type ,, (that's comma comma) |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |