Skip to content

Instantly share code, notes, and snippets.

View yardnsm's full-sized avatar
🍕
I may be slow to respond

Yarden Sod-Moriah yardnsm

🍕
I may be slow to respond
View GitHub Profile
-- vim-closer replacement
-- https://github.com/rstacruz/vim-closer/blob/master/autoload/closer.vim
local get_closing_for_line = function (line)
local i = -1
local clo = ''
while true do
i, _= string.find(line, "[%(%)%{%}%[%]]", i + 1)
if i == nil then break end
@yardnsm
yardnsm / wsr
Last active January 6, 2019 08:06
A small executable to ease the navigation for WSR's PRs live stories
#!/usr/bin/env bash
info() {
local bold=$(tput bold)
local normal=$(tput sgr0)
printf "${bold}$1:${normal}\\t $2\\n"
}
green() {
@yardnsm
yardnsm / android_backup.md
Last active October 24, 2023 12:51
My "checklist" for backing up my Android devices

vim:fdl=2:

Android backup

Mainly for Google Pixel phones.

I mostly use Google's backup to Google Drive (which is freaking amazing). It backs up the following:

  • App data
  • Call history

Keybase proof

I hereby claim:

  • I am yardnsm on github.
  • I am yardnsm (https://keybase.io/yardnsm) on keybase.
  • I have a public key whose fingerprint is 02D9 0D67 572B E176 BC9D A1CB 7A77 9526 D547 E877

To claim this, I am signing this object: