- Downloaded nixos-21.11/latest-nixos-gnome-x86_64-linux.iso__ from channels.nixos.org__.
- NixOS manual instructs to create the USB stick using
dd
| class MaxHeap | |
| def initialize | |
| @heap = [] | |
| end | |
| def push(val) | |
| @heap << val | |
| sift_up(@heap.size - 1) | |
| end |
| # frozen_string_literal: true | |
| ### Usage | |
| # Helps to understand how operation run affects the database state | |
| # DatabaseChangesLogger.call(filename: 'output') { Operation.perform } | |
| module DatabaseChangesLogger | |
| EVENTS_TYPE = 'sql.active_record' | |
| OPERATION_REGEX = /Update|Create/.freeze |
For MacOS Catalina, visit Install mysql2 on MacOS Catalina
Installing mysql2 gem errors on MacOS Mojave.
Make sure openssl is installed on Mac via Homebrew.
| require "capistrano/setup" | |
| require "capistrano/deploy" | |
| require "capistrano/scm/git" | |
| require 'capistrano/npm' | |
| install_plugin Capistrano::SCM::Git | |
| Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r } |
I recently attended a 4.5 month, intensive coding bootcamp in Boston, MA called Launch Academy. I spent a lot of time in academic science doing imaging research, so I naturally had an interest in learning how to manipulate images in this new web browser environment. For my capstone project, I created a very simple image editing Rails app where I realized I needed to be able to save/upload images to my database.
Since, through earnest effort, I wanted my app to use React for a single-page experience, and I quickly discovered that my desire to use a React/fetch/carrierwave/fog/Rails strategy was initially difficult to learn. I had to pull information from many sources (StackOverflow, Medium, official docs, other blog posts, course instructors, etc) to develop a method that uses this specific POSTing cycle.
This blog post represents my findings to integrate all these technologies in a modern, seamless
In your command-line run the following commands:
brew doctorbrew update
| --- PSQL queries which also duplicated from https://github.com/anvk/AwesomePSQLList/blob/master/README.md | |
| --- some of them taken from https://www.slideshare.net/alexeylesovsky/deep-dive-into-postgresql-statistics-54594192 | |
| -- I'm not an expert in PSQL. Just a developer who is trying to accumulate useful stat queries which could potentially explain problems in your Postgres DB. | |
| ------------ | |
| -- Basics -- | |
| ------------ | |
| -- Get indexes of tables |
System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go directory by: