Skip to content

Instantly share code, notes, and snippets.

View danslimmon's full-sized avatar

Dan Slimmon danslimmon

View GitHub Profile
@alisdair
alisdair / intensify.sh
Created May 21, 2019 23:44
intensifies Slack emoji creator
#!/bin/bash
# Generate a `:something-intensifies:` Slack emoji, given a reasonable image
# input. I recommend grabbing an emoji from https://emojipedia.org/
set -euo pipefail
# Number of frames of shaking
count=10
# Max pixels to move while shaking
velvet underground – velvet underground and nico – "venus in furs"
robyn – body talk – "dancehall queen"
yo la tengo – i can hear the heart beating as one – "green arrow"
guided by voices – bee thousand – "her psychology today"
flaming lips – butts taste metallic – "brainville"
neko case – middle cyclone – "never turn your back on mother earth"
beach boys – pet sounds – "sloop john b"
pixies – surfer rosa – "i'm amazed"
shins – chutes too narrow – "gone for good"
talking heads – stop making sense – "swamp"
@lestoni
lestoni / gist:8c74da455cce3d36eb68
Last active April 12, 2024 18:15
vim folding cheatsheet

via (https://www.linux.com/learn/tutorials/442438-vim-tips-folding-fun)

  • zf#j creates a fold from the cursor down # lines.
  • zf/string creates a fold from the cursor to string .
  • zj moves the cursor to the next fold.
  • zk moves the cursor to the previous fold.
  • zo opens a fold at the cursor.
  • zO opens all folds at the cursor.
  • zm increases the foldlevel by one.
  • zM closes all open folds.