Skip to content

Instantly share code, notes, and snippets.

View lindhe's full-sized avatar
🦥

Andreas Lindhé lindhe

🦥
View GitHub Profile
@lindhe
lindhe / repo_split.md
Created October 23, 2023 13:00
Splitting a repo

Splitting a repo

Here is a recepie for how to split a repo.

If you have a repo that you want to split in twine, life can be simple! At least if you have been a good boy and kept the different parts in different subdirectories to begin with…

This is all you have to do:

@lindhe
lindhe / settings.json
Last active November 25, 2023 12:19
Windows Terminal configuration file
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions":
[
{
"command":
{
"action": "resizePane",
"direction": "left"
@lindhe
lindhe / wsl.conf
Last active October 5, 2023 18:50
[boot]
command = "mount --make-rshared /"
command = "ntpdate ntp.ubuntu.com"
[network]
hostname = wsl
generateResolvConf = false
@lindhe
lindhe / userChrome.css
Created November 12, 2019 22:04
Thunderbird userChrome.css for reasonable zoom level
/*
* PUT THIS IN ~/.thudnerbird/[profile_name]/chrome/userChrome.css
*
* And remember to set layout.css.devPixelsPerPx to 1.2 in about:config
*
*/
/*
* Do not remove the @namespace line -- it's required.
*/
@lindhe
lindhe / patch.md
Last active September 13, 2021 08:03
Guide to git patches

Guide to sending Git repos and patches

$ git bundle create /tmp/foo-all --all (http://stackoverflow.com/a/2545784/893211)

Andreas Lindhé, [03.03.17 20:08]

  1. Ladda ned repo.git filen.
  2. git clone repo.git git_is_cool
  3. Redan detta är coolt. Jag skickade just en komprimerad variant av ett git-repo, och du klonade från det repot.
  4. Ladda ned patch.diff filen.
@lindhe
lindhe / Vimium configuration
Last active January 16, 2022 11:39
This are my current Vimium maps
unmapAll
map ? showHelp
# Scrolling:
map j scrollDown
map k scrollUp
map gg scrollToTop
map G scrollToBottom
map gl scrollToLeft
@pascalpoitras
pascalpoitras / config.md
Last active April 8, 2024 18:58
My WeeChat configuration

WeeChat Screenshot

Mouse


enable