Skip to content

Instantly share code, notes, and snippets.

View RustemB's full-sized avatar
🥺
👉👈

Rustem B. RustemB

🥺
👉👈
View GitHub Profile
@adamwojt
adamwojt / matrixlock.md
Last active November 24, 2021 07:29
cmatrix + alock + awesomewm = matrixlock
@gurbain
gurbain / freestylelibre.sh
Created December 14, 2018 17:03
Donwload raw data from freestyle libre (android to linux)
#!/bin/sh
clear
_WORKDIR=/tmp
_NOW=$(date +%F_%H.%M)
_ADBOUT=/tmp/$_NOW
cd $_WORKDIR
echo ""
@meskarune
meskarune / vimrc
Last active November 3, 2023 07:58
simple functional vim status line - jellybeans theme colors
" status bar colors
au InsertEnter * hi statusline guifg=black guibg=#d7afff ctermfg=black ctermbg=magenta
au InsertLeave * hi statusline guifg=black guibg=#8fbfdc ctermfg=black ctermbg=cyan
hi statusline guifg=black guibg=#8fbfdc ctermfg=black ctermbg=cyan
" Status line
" default: set statusline=%f\ %h%w%m%r\ %=%(%l,%c%V\ %=\ %P%)
" Status Line Custom
let g:currentmode={
# from http://zzapper.co.uk/vimtips.html
------------------------------------------------------------------------------
" new items marked [N] , corrected items marked [C]
" *best-searching*
/joe/e : cursor set to End of match
3/joe/e+1 : find 3rd joe cursor set to End of match plus 1 [C]
/joe/s-2 : cursor set to Start of match minus 2
/joe/+3 : find joe move cursor 3 lines down
/^joe.*fred.*bill/ : find joe AND fred AND Bill (Joe at start of line)
/^[A-J]/ : search for lines beginning with one or more A-J
@ssstonebraker
ssstonebraker / sed cheatsheet
Created August 2, 2013 14:06 — forked from un33k/sed cheatsheet
Sed Cheatsheet
FILE SPACING:
# double space a file
sed G
# double space a file which already has blank lines in it. Output file
# should contain no more than one blank line between lines of text.
sed '/^$/d;G'