Skip to content

Instantly share code, notes, and snippets.

View ertankayalar's full-sized avatar
🏠
Working from home

Ertan Kayalar ertankayalar

🏠
Working from home
View GitHub Profile
@dhh
dhh / linux-setup.sh
Last active December 19, 2025 08:57
linux-setup.sh
# THIS LINUX SETUP SCRIPT HAS MORPHED INTO A WHOLE PROJECT: HTTPS://OMAKUB.ORG
# PLEASE CHECKOUT THAT PROJECT INSTEAD OF THIS OUTDATED SETUP SCRIPT.
#
#
# Libraries and infrastructure
sudo apt update -y
sudo apt install -y \
docker.io docker-buildx \
build-essential pkg-config autoconf bison rustc cargo clang \
@sainnhe
sainnhe / everforest-dark-hard.yaml
Created April 3, 2021 01:34
Everforest base16
scheme: "Everforest dark, hard"
author: "Sainnhe Park (sainnhe@gmail.com)"
base00: "2b3339" # Default Background
base01: "323c41" # Lighter Background (Used for status bars, line number and folding marks)
base02: "503946" # Selection Background
base03: "868d80" # Comments, Invisibles, Line Highlighting
base04: "d3c6aa" # Dark Foreground (Used for status bars)
base05: "d3c6aa" # Default Foreground, Caret, Delimiters, Operators
base06: "e9e8d2" # Light Foreground (Not often used)

Everforest - Alacritty

In ~/.config/alacritty/alacritty.yml:

# Define
schemes:
  everforest_dark_hard: &everforest_dark_hard
    primary:
      background: '#272e33'
@andersevenrud
andersevenrud / alacritty-tmux-vim_truecolor.md
Last active November 2, 2025 23:00
True Color (24-bit) and italics with alacritty + tmux + vim (neovim)

True Color (24-bit) and italics with alacritty + tmux + vim (neovim)

This should make True Color (24-bit) and italics work in your tmux session and vim/neovim when using Alacritty (and should be compatible with any other terminal emulator, including Kitty).

Testing colors

Running this script should look the same in tmux as without.

curl -s https://gist.githubusercontent.com/lifepillar/09a44b8cf0f9397465614e622979107f/raw/24-bit-color.sh >24-bit-color.sh
@bradtraversy
bradtraversy / docker-help.md
Last active November 23, 2025 10:14
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@GhostofGoes
GhostofGoes / fedora-bashrc
Created April 8, 2018 19:38
.bashrc file for Fedora
# Set colored terminal prompt as "hostname:current directory$ "
# Not sure if this works on centos yet
# PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\h\[\033[00m\]:\[\033[01;34m\]\W\[\033[00m\]\$ '
# Niceities
alias cd..="cd .."
alias rm="rm -i" # Interactive mode delete
alias hs="cd ~/ && ls"
alias up="cd .."
alias home="cd ~/"
@spivurno
spivurno / gw-gravity-forms-email-domain-validator.php
Last active September 16, 2021 13:05
Gravity Wiz // Gravity Forms // Email Domain Validator // Ban/Limit Email Domains for Gravity Form Email Fields
<?php
/**
* WARNING! THIS SNIPPET MAY BE OUTDATED.
* The latest version of this snippet can be found in the Gravity Wiz Snippet Library:
* https://github.com/gravitywiz/snippet-library/blob/master/gravity-forms/gw-email-domain-validator.php
*/
/**
* Gravity Wiz // Gravity Forms // Email Domain Validator
*
* This snippets allows you to exclude a list of invalid domains or include a list of valid domains for your Gravity Form Email fields.