start new:
tmux
start new with session name:
tmux new -s myname
# This is a skeleton for testing models including examples of validations, callbacks, | |
# scopes, instance & class methods, associations, and more. | |
# Pick and choose what you want, as all models don't NEED to be tested at this depth. | |
# | |
# I'm always eager to hear new tips & suggestions as I'm still new to testing, | |
# so if you have any, please share! | |
# | |
# @kyletcarlson | |
# | |
# This skeleton also assumes you're using the following gems: |
# | |
# link: https://gist.githubusercontent.com/celly/1591cf9305734812baad/raw/ | |
# | |
# Add to you /usr/local/bin/gravity.sh file under sources= | |
# | |
# samsung 'smart tv' | |
127.0.0.1 log-1.samsungacr.com | |
127.0.0.1 log-2.samsungacr.com | |
127.0.0.1 notice.samsungcloudsolution.com |
Uberspace (an awesome german web hoster) has superb postgresql support, except that it currently only offers postgresql versions 9.2.x
and 9.3.x
. I run postgresql 9.6.2
on my uberspace and documented steps for a migration to postgresql 9.6
here.
My goal was to be as close to the original uberspace-postgresql-setup as possible, but I had to copy and modify some uberspace scripts so they correctly use the new postgresql version.
Warning: Here be dragons. This is what I did -- that doesn't mean you should do the same or what I did was clever. Always backup your data and maybe test on a throw-away uberspace first. If you find things to improve, let me know and I'll try to keep this updated.
# The following comments fill some of the gaps in Solargraph's understanding of | |
# Rails apps. Since they're all in YARD, they get mapped in Solargraph but | |
# ignored at runtime. | |
# | |
# You can put this file anywhere in the project, as long as it gets included in | |
# the workspace maps. It's recommended that you keep it in a standalone file | |
# instead of pasting it into an existing one. | |
# | |
# @!parse | |
# class ActionController::Base |