# blog // ~ben

a blog about tildes and other things

### default branch name

June 16, 2020 — ~ben

changing git's default branch name has come up recently as an easy action we can take to update our language and remove harmful ideas from our daily usage.

i'm concerned that this effort to change the language used is ultimately a symbolic gesture to avoid scrutiny into actual change (notably github's push for this change and continued contracts with ICE).

however, it's an easy change to make.

let's have a look at how to change it for new repos:

    mkdir -p ~/.config/git/template
    echo "ref: refs/head/main" ~/.config/git/template/HEAD
    git config --global init.templateDir ~/.config/git/template

note that you can put this template dir anywhere you like.

you can also set this system-wide (not just for your user) in /usr/share, but note that this might get overriden by package updates.

    echo "ref: refs/head/main" | sudo tee /usr/share/git-core/templates/HEAD

the next time you `git init`, you'll be on a branch named main.

to change an existing repo, you can use the `-m` switch of `git-branch`:

    git checkout master
    git branch -m master main

push with `-u` to your remote if needed and update the default branch in the repo settings in the hosting platform of choice.

it's a relatively easy change, but don't kid yourself that it makes any real impact. go protest, donate and sign petitions, and get out there to fix the actual problems.

tags: git, linux, dev

### tools and services

March 03, 2020 — ~ben

inspired by tomasino's recent post, i'd like to detail some of the stuff that i rent and use.

read more...

### general update

February 03, 2020 — ~ben

it's been quite a long time since i posted anything here on this blog.

i've been playing with gruvbox-css, decided to switch my blog to use it and finally realized it's been almost a year since i posted anything at all.

i don't have anything in particular to post today so i figured it would be good to give a general update since the last time i posted.

read more...

### networking nonsense

February 11, 2019 — ~ben

i've recently been working on setting up drone ci on the tilde.team machine. however, there's been something strange going on with the networking on there.

read more...

### raid nonsense

January 13, 2019 — ~ben

last week i did some maintenance on the tilde.team box. probably should have written about it sooner but i didn't make time for it until now.

read more...

### weechat setup

November 16, 2018 — ~ben

so you decided to switch from irssi to weechat?

what options do you need to set? what plugins? what scripts?

i'll go over some of the most essential of these, and share my full configs.

read more...

### proactive redundancy

November 15, 2018 — ~ben

after the fiasco earlier this week, i've been taking steps to minimize the impact if tilde.team were to go down. it's still a large spof (single-point-of-failure), but i'm reasonably certain that at least the irc net will remain up and functional in the event of another outage.

read more...

### november 13 post mortem

November 13, 2018 — ~ben

we had something of an outage on november 13, 2018 on tilde.team.

i awoke, not suspecting anything to be amiss. as soon as i logged in to check my email and irc mentions, it became clear.

tilde.team was at the least inaccessible, and at the worst, down completely. according the message in my inbox, there hade been an attempted "attack" from my IP.

read more...

### italy

September 20, 2018 — ~ben

i just got back from a 10-day backpacking trip to italy and i'd like to share some of the photos i took!

the travel plan was rome -> venice -> florence -> naples -> pompei/vesuvius -> capri -> amalfi

this is the roman forum (with colosseum in the background) as seen from the palatine.

read more...

### utterances

September 05, 2018 — ~ben

i somehow stumbled upon utterances today at lunch. (i think someone had it forked on their github page).

no matter how i found it, i still decided to add it to my blog here with bashblog. utterances is a commenting system that leverages github issues. so, for example a comment on a post shows up on github like this.

now we just need to figure out if it can be pointed at a gitea instance like tildegit. might be time for a PR!

tags: blog

archive — all tags — rss