Skip to content

Instantly share code, notes, and snippets.

View thams's full-sized avatar

Kurt Thams thams

View GitHub Profile
@thams
thams / install_neovim_to_amazonlinux.sh
Created November 11, 2020 02:57 — forked from kawaz/install_neovim_to_amazonlinux.sh
install neovim to amazonlinux
#!/usr/bin/env bash
sudo yum groups install -y Development\ tools
sudo yum install -y cmake
sudo yum install -y python34-{devel,pip}
sudo pip-3.4 install neovim --upgrade
(
cd "$(mktemp -d)"
git clone https://github.com/neovim/neovim.git
cd neovim
make CMAKE_BUILD_TYPE=Release

Keybase proof

I hereby claim:

  • I am thams on github.
  • I am thams (https://keybase.io/thams) on keybase.
  • I have a public key whose fingerprint is BF9D 2142 E3ED ED86 1D44 3854 CF1B 626A A7E1 FF0A

To claim this, I am signing this object:

Verifying that +thams is my openname (Bitcoin username). https://onename.io/thams

Keybase proof

I hereby claim:

  • I am thams on github.
  • I am thams (https://keybase.io/thams) on keybase.
  • I have a public key whose fingerprint is B27A E0F0 2FBD 3983 DF3B 684C D2F7 C4B6 D326 F38F

To claim this, I am signing this object:

# Original from http://snippets.dzone.com/posts/show/4468 by MichaelBoutros
#
# Optimized version which uses to_yaml for content creation and checks
# that models are ActiveRecord::Base models before trying to fetch
# them from database.
namespace :db do
namespace :fixtures do
desc 'Dumps all models into fixtures.'
task :dump => :environment do
models = Dir.glob(RAILS_ROOT + '/app/models/**.rb').map do |s|