Skip to content

Instantly share code, notes, and snippets.

View UltimateNova1203's full-sized avatar
👀
Gremmo mode

Samantha UltimateNova1203

👀
Gremmo mode
View GitHub Profile
You can manually set the preference in Terminal:
# CD Insert Action:
defaults write com.apple.music cdInsertAction 3
- 2: Import CD
- 3: Import CD and Eject
- 4: Play CD/Show CD
# Artwork Action
# RemoteIP - RemoteUser [Time]
# "Request" Status Bytes
# "Referrer" "UserAgent" "X-Forwarded-For"
# IP Address, Time
regexp=^(.*)]
colours=bold cyan
-
# Request
regexp= ".*" \b
colours=green
@UltimateNova1203
UltimateNova1203 / .nanorc
Created June 9, 2024 16:42
Nano Configuration
bind M-f nextword all
bind M-b prevword all
@UltimateNova1203
UltimateNova1203 / .inputrc
Last active June 9, 2024 02:08
Bash Tab Completion Colors
set colored-stats on
@UltimateNova1203
UltimateNova1203 / .bashrc
Last active June 9, 2024 17:00
Bash Prompt Setup
# Export paths for shell to use
export VISUAL='/usr/bin/nano'
export EDITOR='/usr/bin/nano'
# Enable color support
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias ip='ip --color=auto'
@UltimateNova1203
UltimateNova1203 / crontab
Last active June 9, 2024 02:06
Linux Server Crontab
# Minute, Hour, Day of Month, Month of Year, Day of Week, Command
# Monthly reboot
0 3 1 * * reboot
# Daily security update
0 6 * * * dnf update -y --security
@UltimateNova1203
UltimateNova1203 / .zshrc
Last active July 15, 2022 16:54
macOS ZSHRC
# Export paths for shell to use
export HOMEBREW_EDITOR='/usr/bin/nano'
export PATH='/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin'
# Tell ZSH I want NANO for my editor
export VISUAL='/bin/nano'
# Enable color support for grep
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
// ----------------------------------------------------------------------------
// Includes and Definitions
// ----------------------------------------------------------------------------
#pragma once
// HTML colors
#define ALICEBLUE (Color){240, 248, 255, 255}
#define ANTIQUEWHITE (Color){250, 235, 215, 255}
#define AQUA (Color){ 0, 255, 255, 255}
#define AQUAMARINE (Color){127, 255, 212, 255}