- 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
# 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 doctor
brew 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:
Nightwatch
is a testing tool made in Node
and Selenium
to test browser apps. Long story short you can set it to navigate (really, truly, navigate) your site to test it as if it was a real person.
After you setup your environment, add your tests and run them Nightwatch
will open a browser and start interacting with your site in realtime (you can see the whole thing). It will starting clicking around based on what you told it it should click and test if it encounters what you told it it should encounter.
Ok, so lets get to it!
I'm not gonna focus much in the setting up process (I'm much more interested in the API and the use cases) but this is a summary of what you should do in Mac: (full instructions in the Nightwatch website)