This is a guide on how you can move a repository into an existing monorepo while keeping the entire history.
First, let's define some variables:
REPO_ORIGIN=github.com
REPO_USER=idleberg
REPO_NAME=demo| # idleberg/asahi | |
| tap "idleberg/asahi" | |
| cask "idleberg/asahi/ardent" | |
| cask "idleberg/asahi/io" | |
| cask "idleberg/asahi/cleansi" | |
| brew "idleberg/asahi/hashman" | |
| brew "idleberg/asahi/krampus" | |
| # Development | |
| brew "act" |
When trying to reinstall Nix using the official installer, you might run into the following error (the UID might vary)
---- oh no! --------------------------------------------------------------------
It seems the build group nixbld already exists, but
with the UID 30000. This script can't really handle
that right now, so I'm going to give up.
You can export NIX_BUILD_GROUP_ID=30000 and re-run.
Note
If you followed this guide before, you might want to scroll all the way down to the TL;DR version of this guide
Somehow, I managed to ”brick“ my Mac mini (2018, Intel) when I wiped its data before selling it online. From then on I could no longer:
-1008F| { | |
| pkgs ? import <nixpkgs> { | |
| config = { | |
| allowUnfree = true; | |
| }; | |
| }, | |
| }: | |
| pkgs.mkShell { | |
| packages = with pkgs; [ |
The Git documentation lists some fairly common aliases:
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.ci commit
git config --global alias.st statusHere are some of my personal ones:
When you block a user on Discord, you still get an option to show the user's messages. This can defeat the purpose of blocking, it can be bad for your health.
The following CSS snippet will hide a blocked user's messages for good. It can be used with Stylish or any other extension that allows override a website's style.
[class^="groupStart"]:has([class^="blockedSystemMessage"]) {
display: none;
}Getting local Portfile repository for MacPorts running is difficult, if not annoying. The documentation doesn't provide much help or, worse, is even outdated. Hopefully, the following steps will help avoiding the problem I had.
Download and run the MacPorts installer
Unlike specified in the documentation, the installer did not add /opt/local/bin to my PATH environmental variable. However, since I don't use the default macOS shell, the problem might actually be on my end.
If you're like me, you want to install the Playdate SDK using a package manager. Below are some options for you.
Info Did I miss anything? Please comment below!