// add button to change background to image from unsplash and save change to local storage var unsplashBtn = document.getElementById("unsplash"); unsplashBtn.addEventListener("click", function () { document.body.style.backgroundImage = "url(https://source.unsplash.com/random'" + "screenSize" + "screenHeight" + +"?ocean" + ")"; localStorage.setItem("background", "https://source.unsplash.com/random");
This file contains 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 | |
set -e | |
FORGEJO_VERSION="$1" | |
# Check if the first argument is empty | |
if [ -z "$1" ]; then | |
echo "No forgejo version specified, goodbye!" | |
exit 1 |
This file contains 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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/home/raif/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes |
This file contains 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 this to the bottom of zsh config... | |
# v2021 | |
# Custom configs v2021 | |
# Fix autocomplete on zsh | |
autoload -Uz compinit && compinit | |
zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-}' | |
# Default apps |
This file contains 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
## Whitelist for Mauritian PI-HOLE users, this includes, MCB, SBM links and more.. | |
juice.mcb.mu | |
mcb.mu | |
sbm.mu | |
mobile.sbm.mu | |
pop.mu | |
api.pop.mu | |
sbm.mu | |
mcb.mu | |
absa.mu |
This file contains 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
.ms-Panel-main, | |
/* Modals */ | |
.ms-Dialog-main | |
{ | |
box-shadow: none; | |
} | |
body | |
{ | |
background-color: #121212; |