Skip to content

Instantly share code, notes, and snippets.

View yogan's full-sized avatar
⌨️
taka taka ᕕ(ᐛ)ᕗ

Frank Blendinger yogan

⌨️
taka taka ᕕ(ᐛ)ᕗ
View GitHub Profile
@yogan
yogan / twitter-less-annoying.css
Last active September 30, 2024 12:10
Less Annoying Twitter (X) User CSS
/* get rid of sticky Home + For you / Following header */
div[aria-label="Home timeline"] > div:first-of-type {
position: initial;
}
/* remove useless entries in left menu */
a[aria-label="Search and explore"],
a[aria-label="Lists"],
a[aria-label="Jobs"],
a[aria-label="Communities"],
@yogan
yogan / .tmux.conf
Created January 28, 2021 18:09
tmux config
# Originally taken from:
# https://github.com/seebi/tmux-colors-solarized/blob/master/tmuxcolors-256.conf
# status bar default colors:
set-option -g status-style fg=colour136,bg=colour235
# default and active window titles in status bar:
set-option -g window-status-format '#[fg=colour136]#I#[fg=colour242] #W#F'
set-option -g window-status-current-format '#[fg=colour237,bg=colour235]#[fg=colour178,bg=colour237] #I#[fg=colour248] #W#F #[fg=colour237,bg=colour235]'
set-option -g window-status-bell-style fg=colour202,bold
set-option -g window-status-style fg=colour244
pipeline {
agent any
// tools, global options, etc.
stages {
// build, test, etc.
stage("Publish CLI delivery to Nexus") {
steps {
@yogan
yogan / cli-tools-check.sh
Created February 14, 2019 17:08
cli-tools-check.sh
#!/bin/sh
get_installed_version() {
cmd=$1
case $cmd in
"fish")
fish --version | cut -d" " -f3-
;;
"lsd")
lsd --version | cut -d" " -f2-
set -xg SSH_ENV $HOME/.ssh/environment
if test -f $SSH_ENV
source $SSH_ENV > /dev/null
end
function ssh_agent_start -d "start new ssh-agent"
__ssh_agent_echo "Initialising new ssh agent."
ssh-agent -c | sed 's/^echo/#echo/' > "$SSH_ENV"