Quick note on this. JSON will add extra wrapping "
quotes to strings which can really mess with you.
How to catch and remove the extra wrapping "
's:
// UnmarshalJSON scrubs out whitespace from a valid json string, if any.
Quick note on this. JSON will add extra wrapping "
quotes to strings which can really mess with you.
How to catch and remove the extra wrapping "
's:
// UnmarshalJSON scrubs out whitespace from a valid json string, if any.
https://stackoverflow.com/a/46790769/1180523
=UNIQUE(A2:A)
# Exclude the "N/A" results:
=UNIQUE(FILTER(A2:A,A2:A<>""))
Specific test file:
rails test test/models/my_model.rb
Specific test in file:
rails new my_project_name --api
Check to see if redirect is from cached browser, or server.
$ curl -I google.com
HTTP/1.1 301 Moved Permanently
Location: http://www.google.com/
Content-Type: text/html; charset=UTF-8
Date: Thu, 13 Dec 2018 20:55:25 GMT
Expires: Sat, 12 Jan 2019 20:55:25 GMT
Cache-Control: public, max-age=2592000
Some references:
https://bosnadev.com/2015/12/15/allow-remote-connections-postgresql-database-server/
PostgreSQL
TCP
5432
Custom
0.0.0.0/0
Check: https://askubuntu.com/a/142430/54348
for Linux
/etc/ssh/ssh_config
for Mac:
~/.ssh/config
/etc/ssh/ssh_config
Add this to your SSH config file:
# Install Git and Ruby
$ sudo apt-get install git ruby
# Install Node v5 (or higher)
(https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions)
$ curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -
$ sudo apt-get install -y nodejs build-essential