sudo apt install fakeroot xorriso
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo find . -name "node_modules" -type d -prune -exec rm -rf '{}' + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add support for more packages | |
sudo add-apt-repository universe | |
# Add support for even more packages | |
sudo add-apt-repository multiverse | |
sudo apt update | |
# Add support for exfat filesystem |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Check disk usage by journal | |
journalctl --disk-usage | |
# Mark current journal files as archived so they are no longer being written to | |
sudo journalctl --rotate | |
# Delete journal logs older than X days | |
sudo journalctl --vacuum-time=1day | |
# Delete log files until the disk space taken falls below the specified size |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"files.watcherExclude": { | |
"**/.git/objects/**": true, | |
"**/.git/subtree-cache/**": true, | |
"**/coverage/**": true, | |
"**/node_modules/*/**": true, | |
"**/server/data/**": true, | |
"**/dist/**": true, | |
"**/modules/**": true, | |
"**/info_gathering/**": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install snapd && sudo snap install snap-store && sudo reboot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Entry header */ | |
.site-content .entry-header .entry-title { | |
text-align: left; | |
} | |
.entry-title { | |
margin: 0 0 0 10px; | |
} | |
/** fil up more of page */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add the 3rd party PPA | |
sudo add-apt-repository ppa:krifa75/eog-ordissimo | |
# Update package cache and install library | |
sudo apt update && sudo apt install webp-pixbuf-loader | |
# remove the Ubuntu PPA, because it also contains the variant | |
# of eog (Eye of GNOME, GNOME’s default image viewer) that | |
# might break your other packages | |
sudo add-apt-repository --remove ppa:krifa75/eog-ordissimo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo -e "\nFind and optionally delete all top level node_modules in a specific directory.\n" | |
# Initialize an array to store paths | |
NODE_MODULES_PATHS=() | |
while IFS= read -r line; do | |
size=$(echo "$line" | awk '{print $1}') | |
path=$(echo "$line" | awk '{print $2}') |
OlderNewer