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
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"alignment": "left", | |
"newline": true, | |
"segments": [ | |
{ | |
"foreground": "#24ecfc", | |
"properties": { |
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
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"alignment": "left", | |
"segments": [ | |
{ | |
"background": "#002b36", | |
"foreground": "#859900", | |
"properties": { |
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
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"alignment": "left", | |
"newline": true, | |
"segments": [ | |
{ | |
"foreground": "#ac4ef0", | |
"properties": { |
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 | |
echo "WARNING: Make sure to run the script in root directory of your project." | |
echo "WARNING: Before to run this script, remember to previously remove git submodules in \`/.gitmodules/\` and \`/.git/config/\` files." | |
echo "" | |
read -p "Type the git submodule path that you will remove in your project: " path | |
# Stage the .gitmodules file | |
git add .gitmodules |
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 | |
read -p "Provide the brightness percentage you want to set: " PERCENTAGE | |
device=$(xrandr | grep " connected" | cut -f1 -d " ") | |
# sets the brightness to specified brightness percentage | |
xrandr --output $device --brightness $PERCENTAGE | |
echo "Brightness set to $PERCENTAGE%" |
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
from random import randint | |
def main(): | |
try: | |
print("Welcome to Guess Number game!".center(50, "-")) | |
print("1. Guess number with attempts count") | |
print("2. Guess number with limited attempts") | |
choose_game = int(input("Choose the game mode what you want to play: ")) | |
print("".center(50, "=")) |
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
let has_lua_and_abyss = has("lua") && !empty(glob("~/projects/nvim/abyss.nvim")) | |
let enable_abyss = 1 | |
set bg=dark | |
set number | |
set relativenumber | |
set history=1000 | |
set ruler | |
set undofile | |
set colorcolumn=80 |