Skip to content

Instantly share code, notes, and snippets.

View Maxattax97's full-sized avatar
🦀
rust's borrow checker is my kind of tough love

Max O'Cull Maxattax97

🦀
rust's borrow checker is my kind of tough love
View GitHub Profile
@Maxattax97
Maxattax97 / README.md
Last active November 13, 2023 12:10 — forked from magnetikonline/README.md
List all Git repository objects by size.

List all Git repository objects by size

Summary

Bash script to:

  • Iterate all commits made within a Git repository.
  • List every object at each commit.
@Maxattax97
Maxattax97 / $ gem install neovim foodcritic erubi mdl puppet-lint reek rubocop slim_lint --debug
Created August 2, 2017 02:10
The segmentation fault after trying to install gems but with the --debug flag.
This file has been truncated, but you can view the full file.
[max@Maxattax-AntergosVM ~]$ gem install neovim foodcritic erubi mdl puppet-lint reek rubocop slim_lint --debug
NOTE: Debugging mode prints all exceptions even when rescued
Exception `LoadError' at /home/max/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/resolv.rb:171 - LoadError
Exception `Resolv::DNS::Config::NXDomain' at /home/max/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/resolv.rb:547 - _rubygems._tcp.api.rubygems.org
Exception `Resolv::DNS::Config::NXDomain' at /home/max/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/resolv.rb:547 - _rubygems._tcp.api.rubygems.org
Exception `Resolv::ResolvError' at /home/max/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/resolv.rb:492 - DNS result has no information for _rubygems._tcp.api.rubygems.org
Exception `Errno::EEXIST' at /home/max/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/fileutils.rb:228 - File exists @ dir_s_mkdir - /home/max/.rvm/gems/ruby-2.4.0
Exception `Errno::ENOENT' at /home/max/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/fileutils.rb:1220 - No such file or directory @ rb_file_s_lstat - /home/
@Maxattax97
Maxattax97 / $ gem install neovim foodcritic erubi mdl puppet-lint reek rubocop slim_lint
Created August 2, 2017 02:07
The segmentation fault after trying to install gems.
[max@Maxattax-AntergosVM ~]$ gem install neovim foodcritic erubi mdl puppet-lint reek rubocop slim_lint
Successfully installed neovim-0.5.1
Parsing documentation for neovim-0.5.1
Done installing documentation for neovim after 0 seconds
Building native extensions. This could take a while...
Successfully installed nokogiri-1.8.0
Fetching: polyglot-0.3.5.gem (100%)
Successfully installed polyglot-0.3.5
Fetching: treetop-1.6.8.gem (100%)
Successfully installed treetop-1.6.8
@Maxattax97
Maxattax97 / $ env
Created August 2, 2017 02:04
The output of the `env` command before installing gems.
rvm_scripts_path=/home/max/.rvm/scripts
LANG=en_US.UTF-8
rvm_hooks_path=/home/max/.rvm/hooks
rvm_action=get
DISPLAY=:0
rvm_bin_path=/home/max/.rvm/bin
rvm_rubies_path=/home/max/.rvm/rubies
EDITOR=/usr/bin/nano
rvm_version=1.29.2 (master)
GTK_OVERLAY_SCROLLING=0