Skip to content

Instantly share code, notes, and snippets.

@jordiup
jordiup / use-multiple-gh-accounts-in-desktop.md
Last active October 24, 2024 19:56 — forked from TheGardenMan/use-multiple-gh-accounts-in-desktop.md
How to use multiple GitHub accounts in GitHub Desktop

How to use multiple GitHub accounts in GitHub Desktop

Background

Let's say you have two users and repos likejordiup/repo1 and not_jordiup/repo2.

You want to push and pull from them using different accounts.

Solution

@gullyn
gullyn / flappy.html
Last active May 4, 2024 15:35
Flappy bird in 205 bytes (improved!)
<body onload=z=c.getContext`2d`,setInterval(`c.width=W=150,Y<W&&P<Y&Y<P+E|9<p?z.fillText(S++${Y=`,9,9|z.fillRect(p`}*0,Y-=--M${Y+Y},P+E,9,W),P))):p=M=Y=S=6,p=p-6||(P=S%E,W)`,E=49) onclick=M=9><canvas id=c>
@juliusknorr
juliusknorr / google-location-history-to-gpx.md
Last active October 9, 2024 21:32
google-location-history-to-gpx

convert google takeout archive for location history from kml to gpx and split file into one per day

gpsbabel -i kml -f Location\ History.kml -o gpx -F out.gpx
gpsbabel -t -i gpx -f out.gpx -x track,merge,pack,split,title="ACTIVE LOG # %Y%m%d" -o gpx -F split.gpx
python2 gpxsplitter.py split.gpx
@nerdius
nerdius / vimium-arc-dark.css
Last active September 28, 2023 20:19
Arc Dark theme for styling Vimium link hints
/*
Arc Dark theme for styling Vimium link hints
By Giorgi Gzirishvili (@giogziro95). This code is in the public domain.
To use:
1. Copy the code.
2. Go to the Vimium options.
3. Click Show Advanced Options.
@pierrejoubert73
pierrejoubert73 / markdown-details-collapsible.md
Last active November 16, 2024 22:55
How to add a collapsible section in markdown.

How to add a collapsible section in markdown

1. Example

Click me

Heading

  1. Foo
  2. Bar
    • Baz
  • Qux