Skip to content

Instantly share code, notes, and snippets.

View lazerl0rd's full-sized avatar
🌐
Handing DNS so you don't have to.

Diab Neiroukh lazerl0rd

🌐
Handing DNS so you don't have to.
View GitHub Profile
@lazerl0rd
lazerl0rd / passwords.txt
Last active October 31, 2023 00:49
A list of likely passwords for those who aren't security-conscious.
This file has been truncated, but you can view the full file.
123456
password
12345678
qwerty
123456789
12345
1234
111111
1234567
dragon
@lazerl0rd
lazerl0rd / autoautoeq.sh
Last active June 20, 2020 13:38
A Shell Script To Automate https://github.com/jaakkopasanen/AutoEq even more.
#!/usr/bin/env bash
# A Shell Script To Automate AutoEq even more.
# Diab Neiroukh - 23/Feb/2020 (Licensed under the GNU GPLv3)
declare -a fidelityTypes=("Enhanced Fidelity" "Lower Fidelity" "Native Fidelity" "Standard Fidelity")
gitConfig="$PWD/.git/config"
pythonExe="$(which python3.7)"
exuent() {
sleep 3 && exit 1
@lazerl0rd
lazerl0rd / parallelize-compression.sh
Last active February 25, 2021 09:56
A Shell Script To Install Parallel Compression Tools On Debian-based Systems And Replace The Default Single-Threaded Tools.
#!/usr/bin/env bash
# A Shell Script To Install Parallel Compression Tools On Debian-based Systems And Replace The Default Single-Threaded Tools.
# Diab Neiroukh - 23/Feb/2020 (Licensed under The Unlicense)
sudo apt install lbzip2 pigz lunzip
pushd /usr/local/bin || exit
sudo ln -s /usr/bin/lbzip2 bzip2
sudo ln -s /usr/bin/lbzip2 bunzip2
sudo ln -s /usr/bin/lbzip2 bzcat
sudo ln -s /usr/bin/pigz gzip
@lazerl0rd
lazerl0rd / userChrome.css
Last active April 2, 2020 15:05
A userChrome.css for Firefox.
/*
CleanFox (A userChrome.css for Firefox)
By: Diab Neiroukh
Based-on: https://github.com/coekuss/quietfox by coekuss
Licensed-under: The MIT License
Last-updated: 23/Feb/2020
*/
* {
@lazerl0rd
lazerl0rd / invertJS.js
Last active November 18, 2020 00:23
A JS library for inverting colour.
/*
invertJS (A JS library for inverting colour)
By: Diab Neiroukh
Licensed-under: The GNU GPLv3
Last-updated: 23/Feb/2020
*/
function invertcolour(colour) {
colour = colour.replace('#', '');
local-data: "googlevideo.com. 10800 IN A 172.217.20.132"
local-data: "googlevideo.com. 10800 IN AAAA 2a00:1450:4009:819::2004"
local-data: "www.youtube.com. 10800 IN A 216.58.204.238"
local-data: "www.youtube.com. 10800 IN AAAA 2a00:1450:4009:81a::200e"
local-data: "youtube.com. 10800 IN A 216.58.204.238"
local-data: "youtube.com. 10800 IN AAAA 2a00:1450:4009:81a::200e"
@lazerl0rd
lazerl0rd / pngtosvg.sh
Last active March 5, 2020 18:44
A Shell Script to embed PNGs in a SVG container.
#!/usr/bin/env bash
# A Shell Script to embed PNGs in a SVG container.
# Diab Neiroukh - 5/Mar/2020 (Licensed under the GNU GPLv3)
imageHeight="$(convert "$1" -print "%h" /dev/null)"
imageWidth="$(convert "$1" -print "%w" /dev/null)"
echo "<svg width=\"$imageWidth\" height=\"$imageHeight\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" >
<image href=\"data:image/png;base64,$(base64 -w0 < "$1")\" width=\"$imageWidth\" height=\"$imageHeight\" ></image>
</svg>" > "${1%.png}.svg"
@lazerl0rd
lazerl0rd / odysseyra1n.sh
Last active June 7, 2020 13:30
A Shell Script to maintain *ra1n bootstrap installers
#!/usr/bin/env bash
# A Shell Script to maintain *ra1n bootstrap installers.
# Diab Neiroukh - 6/Jun/2020 (Licensed under the GNU GPLv3)
SCRIPTDIR="/usr/local/share/odysseyra1n"
SCRIPTLINK="https://raw.githubusercontent.com/coolstar/Odyssey-bootstrap/master/procursus-deploy-linux-macos.sh"
SCRIPTNAME="procursus-deploy-linux-macos.sh"
SCRIPTNEEDROOT=true
notifyuser()
@lazerl0rd
lazerl0rd / skagen-wearos-smoothme.sh
Last active February 25, 2021 09:55
Remove bloatware from Fossil and Skagen Wear OS smartwatches
#!/usr/bin/env bash
# A shell script to remove bloatware from Fossil and Skagen Wear OS smartwatches.
# Diab Neiroukh - 2/Jul/2020 (Licensed under the GNU GPLv3)
ticApps=(
"com.mobvoi.wear.fitness.aw" \
"com.mobvoi.ticwear.sidewearvoicesearch" \
"com.mobvoi.wear.social.aw" \
"com.mobvoi.wear.account.aw" \
"com.mobvoi.wear.appsservice" \
printmerge()
{
echo "Merging \"$@\"..."
}
if [[ -z $BASETAG ]]; do
echo "Please set the tag to merge of this kernel's base via BASETAG env variable."
fi