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 | |
NumCPU=$(grep -c ^processor /proc/cpuinfo) | |
NumJobs=$(calc -p "ceil(2*$NumCPU+1)") | |
export CONCURRENCY_LEVEL=$NumJobs | |
baseURL="https://www.kernel.org/pub/linux/kernel/v3.x/" | |
latest="$(curl -s $baseURL | sed -n 's|\(.*\)\(linux-\)\(.*\)\(\.tar\.xz<\)\(.*\)|\3|p' | sort --version-sort | tail -n1)" | |
[ ! "$latest" ] && { echo "Are we offline?" >&2; exit 1; } |
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 | |
# Bashisms are embraced here and therefore used quite heavily. | |
# | |
# This script is meant to keep some folks a bit busy, who were never invited | |
# by yourself to share your data. | |
# The idea is that you use cloud storage to store your encrypted (real) files | |
# and additionally generate some randomized junk which should be | |
# indistinguishable from the encrypted data. | |
# We now do this by encrypting the junk as well. | |
# |
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
[Nemo Action] | |
Active=true | |
Name=Optimize PNG files | |
Name[de]=PNG-Dateien optimieren | |
Comment=Reduce size of selected PNG files | |
Comment[de]=Die Dateigröße der gewählten PNG-Dateien reduzieren | |
Exec=optipng %F |
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
[Nemo Action] | |
Active=true | |
Name=Compare with Meld | |
Name[cz]=Srovnání s meld | |
Name[de]=Mit meld vergleichen | |
Name[fr]=Comparer avec meld | |
Name[nl]=Vergelijk met meld | |
Comment=Show differences between files or directories | |
Comment[cz]=Ukázat rozdíly mezi souborama a složky |
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 | |
# | |
# cachefill -- warm up the file cache and buffer of the Linux kernel | |
# | |
# ***** | |
# ONLY IF YOU HAVE A LOT OF MEMORY! | |
# I think, something like at least 8 GB for a regular Desktop | |
# ***** | |
# | |
# |