Skip to content

Instantly share code, notes, and snippets.

View joeldrapper's full-sized avatar
💖
Loving Ruby

Joel Drapper joeldrapper

💖
Loving Ruby
View GitHub Profile
#!/Users/aaron/.rubies/arm64/ruby-trunk/bin/ruby
# Configure Vim (using vim-lsp) like this where `ls.rb` is this script:
#
# if executable('./ls.rb')
# au User lsp_setup call lsp#register_server({
# \ 'name': 'ls.rb',
# \ 'cmd': ['./ls.rb'],
# \ 'allowlist': ['ruby'],
# \ })
@joeldrapper
joeldrapper / block-shadow.sass
Last active December 10, 2015 15:08
Handy little snippet for generating block shadows with SASS.
=vendor($property, $value)
-webkit-#{$property}: $value
-moz-#{$property}: $value
-o-#{$property}: $value
#{$property}: $value
=block-shadow($distance, $horizontal, $vertical, $color)
$property: null
$i: 1