Skip to content

Instantly share code, notes, and snippets.

Error loading RC file '/usr/local/rvm/rubies/ruby-3.3.0/.irbrc':
/usr/local/rvm/rubies/ruby-3.3.0/lib/ruby/3.3.0/bundled_gems.rb:74:in `require': cannot load such file -- /home/app/irbrc (LoadError)
from /usr/local/rvm/rubies/ruby-3.3.0/lib/ruby/3.3.0/bundled_gems.rb:74:in `block (2 levels) in replace_require'
from /usr/local/rvm/rubies/ruby-3.3.0/.irbrc:9:in `<top (required)>'
from /usr/local/rvm/rubies/ruby-3.3.0/lib/ruby/3.3.0/irb/init.rb:399:in `load'
from /usr/local/rvm/rubies/ruby-3.3.0/lib/ruby/3.3.0/irb/init.rb:399:in `run_config'
from /usr/local/rvm/rubies/ruby-3.3.0/lib/ruby/3.3.0/irb/init.rb:49:in `setup'
from /usr/local/rvm/rubies/ruby-3.3.0/lib/ruby/3.3.0/irb.rb:896:in `start'
from /usr/local/rvm/rubies/ruby-3.3.0/lib/ruby/gems/3.3.0/gems/irb-1.11.0/exe/irb:9:in `<top (required)>'
from /usr/local/rvm/rubies/ruby-3.3.0/bin/irb:25:in `load'
@CamJN
CamJN / keybase.md
Created April 12, 2021 18:58
keybase.md

Keybase proof

I hereby claim:

  • I am CamJN on github.
  • I am camjn (https://keybase.io/camjn) on keybase.
  • I have a public key whose fingerprint is 45CD AC6F 53A7 A2EE 3D29 4A79 E349 304D E45D 816B

To claim this, I am signing this object:

/*
* Phusion Passenger - https://www.phusionpassenger.com/
* Copyright (c) 2012-2017 Phusion Holding B.V.
*
* "Passenger", "Phusion Passenger" and "Union Station" are registered
* trademarks of Phusion Holding B.V.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
@CamJN
CamJN / Cargo.toml
Last active October 8, 2022 14:08
Hanging Rouille SSL Server
[package]
name = "testing"
version = "0.1.0"
authors = ["Camden Narzt <c.narzt@me.com>"]
[dependencies.rouille]
git = "https://github.com/tomaka/rouille"
features = ["ssl"]
@CamJN
CamJN / test_case.js
Created September 25, 2017 14:15
indentation test case
function s(action) {
switch(action.type) {
case SUBSCRIBE:
// TODO some comment here
// another line here
// line ending with a period .
resource = action.resourceDescription.resource;
return 0;
case UNSUBSCRIBE:
return 1;
#!/bin/sh
# Ask for the administrator password upfront
sudo -v
# Keep-alive: update existing `sudo` time stamp until script has finished
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
###############################################################################
# General UI/UX