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
* { | |
font-family: Roboto, Noto Sans, Segoe UI, Ubuntu, sans-serif; | |
font-size: 12pt; | |
font-weight: normal; | |
} | |
th { | |
vertical-align: center; | |
font-size: 10pt; | |
padding-top: 8px; |
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
# Maintainer: Jannick Hemelhof <mister {dot} jannick {at} gmail {dot} com> | |
# Contributor: Nicola Squartini <tensor5 {at} gmail {dot} com> | |
# Contributor: NicoHood <aur {at} nicohood {dot} de> | |
# Contributor: Dick Choi <fluke8259 {at} gmail {dot} com> | |
# Contributor: Romain Bazile <gromain {dot} baz {at} gmail {dot} com> | |
pkgname=boostnote | |
_pkgname=Boostnote | |
pkgver=0.11.15 | |
pkgrel=1 | |
pkgdesc="Open source note-taking app for programmers" |
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
# ssh-id-copy for Windows. Works the same except the only supported parameter are -i and -p | |
function Copy-SshId { | |
param ( | |
[string]$destination, | |
[string]$i, | |
[string]$p | |
) | |
if ($i -eq "" -and $i -eq [String]::Empty) { | |
$sshdir = Get-ChildItem -Path "~/.ssh" | |
$pubkey = $sshdir | Where-Object { $_.extension -eq ".pub" } | Select-Object -First 1 |
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
"schemes": [ | |
{ | |
"name": "Dracula", | |
"background": "#272935", | |
"black": "#272935", | |
"blue": "#BD93F9", | |
"brightBlack": "#555555", | |
"brightBlue": "#BD93F9", | |
"brightCyan": "#8BE9FD", | |
"brightGreen": "#50FA7B", |
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 | |
CYAN=$(tput setaf 6) | |
BOLD=$(tput bold) | |
RESET=$(tput sgr0) | |
echo "> Searching for git directories..." | |
find . -name ".git" -type d | while read dir; do | |
echo "-----" | |
echo -e Git status @ ${CYAN}${BOLD}${dir/.git/}${RESET} |
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
# remap prefix from 'C-b' to 'C-a' | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
# split panes using | and - | |
bind | split-window -h | |
bind - split-window -v |
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 | |
[[ -f $HOME/.profile ]] && source $HOME/.profile | |
[[ -f $HOME/.zprofile ]] && source $HOME/.zprofile | |
INTERNALIP=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}') | |
DBUSPID=$(pidof dbus-launch) | |
sh -ic "if [ -z $DBUSPID ]; then export DISPLAY=$INTERNALIP:0.0; dbus-launch --exit-with-x11; fi;" | |
export DISPLAY=$INTERNALIP:0.0 | |
$@ |
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 | |
BRANCHES=$(git --no-pager branch --all --format="%(if)%(HEAD)%(then)%(else)%(if:equals=HEAD)%(refname:strip=3)%(then)%(else)%1B[0;34;1mbranch%09%1B[m%(refname:short)%(end)%(end)" | sed '/^$/d') || exit 1 | |
TAGS=$(git --no-pager tag | awk '{print "\x1b[35;1mtag\x1b[m\t" $1}') || exit 1 | |
test -z "$TARGET" && test -z "$TAGS" && exit 1 | |
TARGET=$((echo "$BRANCHES"; test ! -z "$TAGS" && echo "$TAGS") | fzf --no-multi -n 2 --ansi --no-hscroll --layout=reverse-list --header='Checkout git branch/tag, with the preview showing the commits between the tag/branch and HEAD' --preview="printf '\e[4m\e[94mCommits between your selection and HEAD\e[0m\n\033[36mCurrent branch:\e[0m ';git rev-parse --abbrev-ref HEAD;printf '\n';git --no-pager log -150 --pretty=format:'• [%cr] <%h>: %s' '..{2}'") || exit 0 | |
git checkout $(awk '{print $2}' <<<"$TARGET" ) |
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
{ | |
"guid": "{5d1b6039-0bee-447e-9b5a-49bea3db730d}", | |
"name": "PowerShell Admin", | |
"commandline": "pwsh -ec UwB0AGEAcgB0AC0AUAByAG8AYwBlAHMAcwAgAC0ARgBpAGwAZQBQAGEAdABoACAAIgBwAHcAcwBoACIAIAAtAFYAZQByAGIAIABSAHUAbgBBAHMAOwBlAHgAaQB0ACAAMAA=" | |
} |