Skip to content

Instantly share code, notes, and snippets.

@ibogretsov
ibogretsov / dock
Created May 7, 2024 17:22
Add, Hide dock panel
defaults write com.apple.dock autohide-delay -float 1000; killall Dock
defaults delete com.apple.dock autohide-delay; killall Dock
@ibogretsov
ibogretsov / colors.sh
Created May 7, 2024 17:11
Term Colors
#!/bin/zsh
echo '\033[30mBLACK: Test colors for the Terminal\033[m'
echo '\033[90mBLACK BRIGHT: Test colors for the Terminal\033[m'
echo '\033[31mRED: Test colors for the Terminal\033[m'
echo '\033[91mRED BRIGHT: Test colors for the Terminal\033[m'
echo '\033[32mGREEN: Test colors for the Terminal\033[m'
echo '\033[92mGREEN BRIGHT: Test colors for the Terminal\033[m'
echo '\033[33mYELLOW: Test colors for the Terminal\033[m'
echo '\033[93mYELLOW BRIGHT:Test colors for the Terminal\033[m'
@ibogretsov
ibogretsov / userChrome.css
Last active September 9, 2025 12:48
Firefox findbar top for macos
/* ~/Library/Application Support/Firefox/Profiles/tpgqgx56.default-release/chrome/userChrome.css */
/* Profile folder can be find in about:support */
/* Required in about:config `toolkit.legacyUserProfileCustomizations.stylesheets` - true */
.browserContainer > findbar {
order:-1 !important;
}
@ibogretsov
ibogretsov / 24-bit-color.sh
Last active May 3, 2022 10:48 — forked from lifepillar/24-bit-color.sh
Test 24 bit colors in terminals
#!/bin/zsh
#
# This file echoes a bunch of 24-bit color codes
# to the terminal to demonstrate its functionality.
# The foreground escape sequence is ^[38;2;<r>;<g>;<b>m
# The background escape sequence is ^[48;2;<r>;<g>;<b>m
# <r> <g> <b> range from 0 to 255 inclusive.
# The escape sequence ^[0m returns output to default
setBackgroundColor()