Skip to content

Instantly share code, notes, and snippets.

View Huge's full-sized avatar
💭
Looking for work in cryptocurrency operations

Huge

💭
Looking for work in cryptocurrency operations
View GitHub Profile
fldr=basename `realpath .`
git push --set-upstream git@gitlab.com:Huge1/$fldr.git master #start the repo/project fresh as this
@Huge
Huge / OPTIONS_TRADES.csv
Last active January 13, 2020 14:15
ludi data sample pro qrid@pythonNb
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 8.
"ClientAccountID","CurrencyPrimary","AssetClass","Description","UnderlyingSymbol","Strike","Expiry","Put/Call","OrderTime","Buy/Sell","Quantity","Price","Amount","Proceeds"
"DU1716718","USD","OPT","AAPL 17JAN20 300.0 C","AAPL","300","2020-01-17","C","2020-01-07;152643","BUY","1","4.5","450","-450"
"DU1716718","USD","OPT","AAPL 17JAN20 300.0 C","AAPL","300","2020-01-17","C","2019-12-26;130830","SELL","-1","1.67","-167","167"
"DU1716718","USD","OPT","AAPL 17JAN20 310.0 C","AAPL","310","2020-01-17","C","2019-12-26;130830","BUY","1","0.63","63","-63"
"DU1716718","USD","OPT","AAPL 17JAN20 310.0 C","AAPL","310","2020-01-17","C","2020-01-07;152643","SELL","-1","1.32","-132","132"
"DU1716718","USD","OPT","RUT 17JAN20 1680.0 C","RUT","1680","2020-01-17","C","2020-01-07;152145","BUY","1","5.6","560","-560"
"DU1716718","USD","OPT","RUT 17JAN20 1680.0 C","RUT","1680","2020-01-17","C","2019-12-26;125039","SELL","-1","17.3","-1730","1730"
"DU1716718","USD","OPT","RUT 21FEB20 1680.0 C","RUT","1680","2020-02-21","C","2019-12
Another major area of ethical consumerism is “green living.” On a per-person
basis, US citizens emit more greenhouse gasses than any other large country,
with the average American adult every year producing twenty-one metric tons of
carbon dioxide equivalent. (Remember that carbon dioxide equivalent, or CO2eq
,
is a way of measuring your carbon footprint that includes greenhouse gasses
@Huge
Huge / clis.sh
Last active October 9, 2019 13:12
while true; do kubectl get pods -w || echo Restarted... && clear; done # Still draws blank when logged out..
#|-similar:
while true; do vpn; sleep 1; done
alias clis='fc -ln -1 |xargs echo -n|xsel -ib' #Better without newline, copying to Ctrl+V CLIPboard.
docker run -it openshift/origin-cli # Then inside: while true; do kubectl get pods -w || echo Restarted... && clear; done
#Debugging a container/pod with partly random name:
P=$(kubectl get pods --namespace=cicd -o=custom-columns=AVAILABLE:.metadata.name --no-headers |ag maven) && oc exec -it $P bash