If you want to prevent certain packages being accidentaly or purposely being removed, do this.
Example packages: nano and vim
Create a file: /etc/apt/apt.conf.d/protectedPackages
Place this into the file:
pkgCacheGen::ForceEssential {
"nano";
#!/usr/bin/sh | |
# This script generates a list of urls domains monitored and checks their SSL expiry date | |
cd /home/uptime-kuma/uptime-kuma/data | |
if [ -f /tmp/ssl-check-data ];then rm /tmp/ssl-check-data;fi | |
sqlite3 kuma.db 'select id from monitor_tls_info' > /tmp/ssl-check-data-IDs | |
while read id |
#!/bin/sh | |
echo 'Updating repository data ...' | |
apk update | |
# List upgradeable packages into a temporary file | |
apk list --upgradeable | sed -e 's/{//g' -e 's/}//g' -e 's/]//g' > /tmp/apk-upgradeable | |
# Add column headers | |
echo 'Package,Installed Version,New Version' > /tmp/apk-upgradeable-final |
If you want to prevent certain packages being accidentaly or purposely being removed, do this.
Example packages: nano and vim
Create a file: /etc/apt/apt.conf.d/protectedPackages
Place this into the file:
pkgCacheGen::ForceEssential {
"nano";
LibreWolf by default closes all tabs unless they are pinned when you exit. | |
`Settings > General > Open previous windows and tabs` |
I wrote this down as I don't like having to install a handful of dependencies just to add a repository (PPA) on Ubuntu.
I used fish in my example.
Commands to run | |
# This will take a while: | |
`gitlab-rails console` | |
Then once you have the prompt `Feature.enable(:vscode_web_ide), run: | |
`Feature.enable(:vscode_web_ide)` |
flatpak install org.flatpak.Builder |
echo wayland > ~/.config/steamos-session-type | |
Then reboot. |
-screen-width 2560 -screen-height 1440 -screen-fullscreen 1 |
4 is the number of commits you want to squash
git rebase -i origin/master~4 branch_name
This will open your edit, replace the pick
with squash
on the commits you want to squash into the main commit.
The editor will open again and you need to comment out all commit messages that you don't want.
git push -f git push origin +branch_name