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 status
Here are some of my personal ones:
{ | |
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 status
Here 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;
}
As of the time of this writing, IFTTT has no integration for Mastodon. Yet, it's possible to connect the two.
Login to your Mastodon account
Go to Preferences > Developer and register a new application with write:statuses
permission.
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!
-- Helper function to repeat string | |
function rep(char, multiplier) | |
local out = "" | |
for i=1, multiplier do | |
out = out..char | |
end | |
return out | |
end |
{ | |
"colors": { | |
// An extra border around active elements to separate them from others for greater contrast. | |
"contrastActiveBorder": "", | |
// An extra border around elements to separate them from others for greater contrast. | |
"contrastBorder": "", | |
//Overall border color for focused elements. This color is only used if not overridden by a component. | |
"focusBorder": "", | |
//Overall foreground color. This color is only used if not overridden by a component. |
Common aliases for the scoop package manager
# Install app
scoop alias add i 'scoop install $args[0]' 'Install app'
scoop alias add add 'scoop install $args[0]' 'Install app'
# Uninstall app
scoop alias add rm 'scoop uninstall $args[0]' 'Uninstall an app'
scoop alias add remove 'scoop uninstall $args[0]' 'Uninstall an app'