Skip to content

Instantly share code, notes, and snippets.

View pointlessone's full-sized avatar
🍍
Pineapple a day keeps a pinedoctor away

Alexander Mankuta pointlessone

🍍
Pineapple a day keeps a pinedoctor away
View GitHub Profile
@pointlessone
pointlessone / Instructions.md
Created September 8, 2020 14:14
Gentoo, nsswitch.conf, and glibc

Once in a while I get issues intalling glibs. This is the message:

>>> Emerging (1 of 3) sys-libs/glibc-2.32-r1::pointlessone
 * Fetching files in the background.
 * To view fetch progress, run in another terminal:
 * tail -f /var/log/emerge-fetch.log
 * glibc-2.32.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                                                       [ ok ]
 * glibc-2.32-patches-1.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                                             [ ok ]
 * locale-gen-2.10.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                  [ ok ]
target :example do
check 'example.rb'
signature 'example.rbs'
end
@pointlessone
pointlessone / gist:b845c2e8430fc409de5d
Created March 21, 2015 15:53
Rubinius crash report
The Rubinius process is aborting with signal: SIGSEGV
--- begin system info ---
sysname: Darwin
nodename: MacBook-Pro.local
release: 14.3.0
version: Darwin Kernel Version 14.3.0: Tue Mar 10 20:10:46 PDT 2015; root:xnu-2782.20.44.1.1~1/RELEASE_X86_64
machine: x86_64
--- end system info ---
--- begin rubinius info ---
program name: rbx
@pointlessone
pointlessone / Readme
Last active October 6, 2015 13:40
Rubocop pre-commit check
# Installation
Put these files in your `.git/hooks` directory and make them executable.
# Changelog
## 1.2
* Check for RuboCop updates
@pointlessone
pointlessone / keybase.md
Created April 12, 2014 09:16
keybase.md

Keybase proof

I hereby claim:

  • I am cheba on github.
  • I am cheba (https://keybase.io/cheba) on keybase.
  • I have a public key whose fingerprint is 07CD 0C26 E7ED E227 A4A0 17E4 A2D0 77DB B8E6 7939

To claim this, I am signing this object:

-=>> which irb
/Users/cheba/.rvm/rubies/rbx-head/bin/irb
-=>> which gem
/Users/cheba/.rvm/rubies/rbx-head/bin/gem
-=>> echo $GEM_PATH
/Users/cheba/.rvm/gems/rbx-head:/Users/cheba/.rvm/gems/rbx-head@global
-=>> echo $GEM_HOME
/Users/cheba/.rvm/gems/rbx-head
-=>> which gem
/Users/cheba/.rvm/rubies/rbx-head/bin/gem
ERROR: While executing gem ... (RuntimeError)
can't modify frozen object
kernel/common/marshal.rb:549:in `construct'
kernel/common/marshal.rb:585:in `construct_array'
kernel/common/integer.rb:194:in `times'
kernel/common/marshal.rb:584:in `construct_array'
kernel/common/marshal.rb:488:in `construct'
kernel/common/marshal.rb:1176:in `load'
/Users/cheba/.rvm/rubies/rbx-head/lib/rubygems/specification.rb:1134:in `_load'
kernel/common/marshal.rb:805:in `construct_user_defined'
ERROR: While executing gem ... (RuntimeError)
can't modify frozen object
kernel/common/marshal.rb:549:in `construct'
kernel/common/marshal.rb:585:in `construct_array'
kernel/common/integer.rb:194:in `times'
kernel/common/marshal.rb:584:in `construct_array'
kernel/common/marshal.rb:488:in `construct'
kernel/common/marshal.rb:1176:in `load'
/Users/cheba/.rvm/rubies/rbx-head/lib/rubygems/specification.rb:1134:in `_load'
kernel/common/marshal.rb:805:in `construct_user_defined'
GEN vm/gen/config_variables.h
/Users/cheba/.rvm/rubies/ruby-2.0.0-p247/bin/ruby vm/codegen/config_vars.rb vm/gen/config_variables.h
/Users/cheba/.rvm/rubies/ruby-2.0.0-p247/bin/ruby vm/codegen/encoding_extract.rb /private/tmp/rubinius/vendor/oniguruma vm/gen/encoding_database.cpp
mkdir -p /private/tmp/rubinius/staging//lib/encoding/converter
/Users/cheba/.rvm/rubies/ruby-2.0.0-p247/bin/ruby vm/codegen/transcoders_extract.rb /private/tmp/rubinius/vendor/oniguruma/enc/trans vm/gen/transcoder_database.cpp
/Users/cheba/.rvm/rubies/ruby-2.0.0-p247/bin/ruby vm/codegen/field_extract.rb vm/builtin/basicobject.hpp vm/builtin/object.hpp vm/builtin/integer.hpp vm/builtin/fixnum.hpp vm/builtin/array.hpp vm/builtin/bignum.hpp vm/builtin/executable.hpp vm/builtin/access_variable.hpp vm/builtin/alias.hpp vm/builtin/block_environment.hpp vm/builtin/block_as_method.hpp vm/builtin/bytearray.hpp vm/builtin/io.hpp vm/builtin/channel.hpp vm/builtin/module.hpp vm/builtin/constant_table.hpp vm/builtin/class.hpp vm/builtin/compiledc
[2013-09-23 14:20:20] env
current path: /Users/cheba/.rvm/src/rbx-head
command(8): env /Users/cheba/.rvm/wrappers/ruby-2.0.0-p247@rubinius/ruby ./configure --prefix=/Users/cheba/.rvm/rubies/rbx-head --with-opt-dir=/usr/local/opt/libyaml --with-opt-dir=/usr/local/opt/readline ❯
ERROR: Your gem push credentials file located at:
/Users/cheba/.gem/credentials
has file permissions of 0644 but 0600 is required.
To fix this error run: