Skip to content

Instantly share code, notes, and snippets.

View TortoiseWrath's full-sized avatar
🐢
vibin

Sean Gillen TortoiseWrath

🐢
vibin
View GitHub Profile
@TortoiseWrath
TortoiseWrath / gains.js
Last active February 21, 2024 20:47
FreeTaxUSA capital gains script
// Copyright 2022 Google LLC.
// SPDX-License-Identifier: Apache-2.0
// This is not an officially supported Google product. They just technically own it because I work for them.
// A function to programatically enter non-1099-B capital gains/losses into FreeTaxUSA.
// Because I'd rather run a script for half an hour than pay for tax preparation software with an import button.
// Run in browser console.
const process = async (description, acq_date, basis, sold_date, proceeds, wash_sale_amount) => {
Albums with critic scores of 85+ and user scores of 8.7+ on Metacritic:
Ambrose Akinmusire - The Imagined Savior Is Far Easier to Paint (2014)
Sam Amidon - I See the Sign (2010)
...And You Will Know Us By the Trail of Dead - Source Tags & Codes (2002)
Arcade Fire - Funeral (2004)
Arcade Fire - Neon Bible (2007)
Arcade Fire - The Suburbs (2010)
Architects - Holy Hell (2018)
The Avalanches - Since I Left You (2000)
Baroness - Blue Record (2009)
@TortoiseWrath
TortoiseWrath / albums.txt
Last active August 5, 2019 06:11
Best albums
Albums collected by more than 2000 Discogs users and matching one of the following criteria:
* Rated 75 or above by AOTY, 9.7 or above by Pitchfork, and 4.5 or above by Allmusic
* Rated 95 or above by AOTY and 9.0 or above by Pitchfork or 3.5 or above by Allmusic
* Collected by more than 50,000 Discogs users and rated 92 or above by AOTY and 8.5 or above by Pitchfork or 4 or above by Allmusic
* Collected by more than 50,000 Discogs users and rated 85 or above by AOTY and 9.2 or above by Pitchfork or 5 by Allmusic
808 State - Newbuild (1988)
AC/DC - Highway to Hell (1979)
AC/DC - Back in Black (1980)
...And You Will Know Us By the Trail of Dead - Source Tags & Codes (2002)
tableCard = input()
cards = input().split()
for card in cards:
if card[0] == tableCard[0] or card[1] == tableCard[1]:
print("YES")
exit()
print("NO")
>,>, Read the table card into blocks 1 and 2
<<+++++ Set the value of block 0 to 5 (the number of cards in the hand)
>>>>>>>>>>+++++[>+++++++++++++<-] Set block 11 to 'A' (Now on block 10)
>[>+>+>+>+>+<<<<<-] Move block 11 to blocks 12 through 16 (Now on block 11)
+ Set block 11 to 1 for use as a flag
>++++++++++++++++++++++++
>++++
>++++++++++++++++++
>+++++++++++++
>++++++++++++++