- No open positions in TLT at start of day
- Down to $87 now, didn't get in on ex dividend day but that's ok. Would have lost $100 with the share price going down from $88 (or higher). Dividend would had been $30 something. Very easy to lose that in price fluctuations.
- Sticking with my thesus of targetting premium that is multiples of what interest would be on cash. So if I write a CSP, that's $8,700 collateral which is a little less than $1/d in interest from RobinHood Gold's 4%. So if I exceed that by multiples, it's in theory worth it. Granted things can shift but that's what the wheel is for.
- Sold $87p for 7/9 for $0.43 credit. Set BTC limit at $0.02 so that's $40 for 6 days, much more than the $6 I would get on the cash alone.
- I like insurance so I bought $87p - 7/11 @ $0.01. This then reduces my collateral to $550. So I get to make nearly the same amount of interest over the long weekend on my cash. $41/$550 is a little over 7%, not bad for 6 days.
- I didn't want the $87 strike but premi
Concerts I'm interested in seeing this year
- Thursday June 9th
- Brooklyn Mirage
- 7pm
- https://www.avant-gardner.com/events/2022/06/09/marshmello
- Friday sold-out
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* GAME OF LIFE | |
1. Any live cell with fewer than two live neighbours dies. | |
2. Any live cell with two or three live neighbours lives on to the next generation. | |
3. Any live cell with more than three live neighbours dies. | |
4. Any dead cell with exactly three live neighbours becomes a live cell. | |
*/ | |
const blinkerSeed = { | |
height: 5, | |
coords: [[2,1], [2,2], [2,3]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use only vanilla JS | |
function callWhenReadyToGo(cb) { | |
var allImagesLoaded = false; | |
// Look at all P and SPAN for very short text that says "loading" | |
// we don't want long text as it might be part of a longer paragraph then | |
var textEls = document.querySelectorAll('SPAN, P'); | |
var loadingEls = []; | |
for (var i = 0; i < textEls.lenth; i++){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function fib_i(num) { | |
console.log(`Series of ${num}`); | |
let num2 = 0, num1 = 1; | |
for (let i = 0; i < num; i++) { | |
console.log(num1); | |
const next = num2 + num1; | |
num2 = num1; | |
num1 = next; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
watch --color git diff --color --stat | |
watch git status --porcelain |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -g mouse on | |
#set-option -g mouse on | |
set -g status-interval 2 | |
set -g status-right "#S #[fg=green,bg=black]#(tmux-mem-cpu-load --colors --interval 2 --powerline-right)#[default]" | |
set -g status-right-length 60 | |
set -g pane-border-status top | |
set -g pane-border-format "#{pane_index} #{pane_current_command} #{pane_pid}" | |
set -g default-terminal "screen-256color" | |
bind-key P command-prompt -p 'save history to filename:' -I '~/tmux.history' 'capture-pane -S - ; save-buffer %1 ; delete-buffer' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// g++ -o mypi -std=c++14 mypi.cpp | |
#include <iostream> | |
#include <string> | |
#include <ctime> | |
#include <limits> | |
double myPi(long long loopCount); | |
typedef std::numeric_limits< double > dbl; |
NewerOlder