Skip to content

Instantly share code, notes, and snippets.

View RobertAKARobin's full-sized avatar

Robin (Robert) Thomas RobertAKARobin

View GitHub Profile
@RobertAKARobin
RobertAKARobin / scorp_tax.md
Last active January 13, 2023 17:20
How should the 2022 tax forms for a single-person S-Corp look? An example.

How should the 2022 tax forms for a single-person S-Corp look? An example.

I'm a contractor in Minnesota with a single-person LLC. I was gobsmacked by the size of my taxes. Someone recommended filing as an "S-Corp" instead of filing as an individual, in order to not pay self-employment tax.

How, though? This is discussed in lots of blog/forum/Reddit posts, and the answer everyone gives is, "Hire a CPA."

But I like knowing how things work. This is my attempt at crunching the numbers. Note: I have no background in accounting/finance.

Meet our test subject

@RobertAKARobin
RobertAKARobin / evan.vba
Created February 8, 2023 17:04
Evan's stuff
Function GetFirstEmptyCell(Direction As String, StartRowIndex As Integer, StartColIndex As Integer) As Range
Dim CurrentRowIndex As Integer, CurrentColIndex As Integer, CurrentCell As Range
CurrentRowIndex = StartRowIndex
CurrentColIndex = StartColIndex
Do While True
Set CurrentCell = Cells(CurrentRowIndex, CurrentColIndex)
If IsEmpty(CurrentCell.Value) Then
@RobertAKARobin
RobertAKARobin / images.md
Last active February 28, 2024 19:51
Robin's easy image/webpage optimization tips

Robin's easy image/webpage optimization tips

For people who can't code good and want to learn to do other stuff good too.

Browser DevTools

You can use your browser's built-in Developer Tools (DevTools) to see how well your webpage performs.

In Chrome or Edge:

  1. Open a Private or Incognito browser window.
@RobertAKARobin
RobertAKARobin / screenshots.md
Last active February 27, 2024 20:22
Chrome screenshots

Take screenshots in Chrome without an extension

These instructions also work on Microsoft Edge (which is based on Chrome).

  1. On any page, press Ctrl + Shift + J (On Mac, Cmd + Shift + J)

    This opens a new window containing Chrome’s "developer tools":

    Screenshot 2024-02-27 at 2 09 12 PM