Code, Strings, and Keys

    • About Thomas Powell
    • Account
    • It’s been [0] days since [program] last updated
    • Login
    • Password Reset
    • Pianist / Accompanist / Music Director Resume
    • Reading List 2025
    • Register
    • Running Gear – Shoes, Treadmill, and Bandages
    • Site Map
Illustration of a bird flying.
  • Convert a pem file into an rsa private…

    Convert a pem file into an rsa private and public key `openssl rsa -in yourfile.pem -out yourfile_rsa` `chmod 400 yourfile_rsa` `openssl rsa -in yourfile.pem -pubout > yourfile_rsa.pub` and `ssh -i yourfile_rsa.pub youruser@hostname` to connect

    May 12, 2022
  • Ruby on Rails + Docker links https evilmartians…

    Ruby on Rails + Docker links https://evilmartians.com/chronicles/ruby-on-whales-docker-for-ruby-rails-development https://docs.docker.com/samples/rails/ Dockerize your Rails app Dependencies Bash Docker Quick Start Update Postgres and Redis connection configurations # config/database.yml host: postgres port: 5432 username: postgres password: password # config/initializers/sidekiq.rb Sidekiq.configure_server do |config| config.redis = {url: “redis://redis_queue:6379/1”} end Sidekiq.configure_client do |config| config.redis = {url: “redis://redis_queue:6379/1”} end # config/environments/development.rb config.cache_store =…

    May 9, 2022
  • Quiet “Don’t run bundler as root” warnings, Bundler >= 2.3.7

    Silence “Don’t run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine.” warning

    May 6, 2022
←Previous Page
1 … 17 18 19 20 21 … 310
Next Page→

Code, Strings, and Keys

Proudly powered by WordPress