Post concise notes that can be used for quick reference here!

Forward root to www on Google Domains

Go to "DNS" > "Synthetic records" Select subdomain forward option in the dropdown menu Enter @ for the subdomain. This represents the naked or root domain. Enter the subdomain URL which is the URL ...

  • Updated 4 months ago by vince
Compute instances

“Google Cloud today announced the launch of its new E2 family of compute instances”

  • Updated 4 months ago by vince
Encrypt your HD on a Mac

Open Disk Utility Click on "Encrypt" Choose APFS encrypted

  • Updated 5 months ago by vince
Revert Git to a previous commit

Working on your own and just want it to work? To revert to a previous commit, ignoring any changes: ruby git reset --hard HEAD To revert to a commit that's older than the most recent commit: ```r...

  • Updated 5 months ago by vince
Freeze your credit

I thought I had good privacy hygiene and keep my information safe. But today I got a notice that I got hard inquiries from the following so someone is probably trying to open an account with my ide...

  • Updated 6 months ago by vince
Use Git to quickly manage documents on a Mac

/Users/Sosie/Documents/deeds ruby git init git add . git commit -m "init" Work on the docs, make changes and then ruby git commit -a -m "edit summary" If you add a document ruby git add . git com...

  • Updated 6 months ago by vince
Reach IKEA with online order problem

888-888-4532 -> 3 -> 2 -> 3 (missing item) -> 2 (online purchase) Finally got a hold of a rep and she claims that this would reach them sooner 888-888-4532 > 3 > 2 > 4

  • Updated 6 months ago by vince
Setup family sharing

iOS -> settings -> iCloud -> Manage Storage -> Change Storage Plan

  • Updated 8 months ago by vince
Create expiring S3 URLs

Email secure links that expire after a chosen time With Ruby: With Python:

  • Updated 8 months ago by vince
Getting Adobe CS5 to work on Mojave

I don't need the new version or want pay a monthly fee and I'm happy enough with CS5 but it does crap out on you if you do a regular installation. Here's how I got photoshop, illustrator, and premi...

Accept credit card payments on your website

  • Updated 10 months ago by vince
Host a website for free on Amazon S3 with SSL

Create a bucket called It's not necessary but I also recommend turning on versioning so it's possible to rollback changes Properties > Static website hosting > Turn on Permissions ...

  • Updated 10 months ago by vince
Replace batteries for Mazda remote control key fobs

Buy a CR2025 (

  • Updated 11 months ago by vince
Cancel subscription on iphone

Go to Settings > [your name] > iTunes & App Store. Tap your Apple ID at the top of the screen, then tap View Apple ID. You might need to sign in with your Apple ID. Scroll to Subscriptions, then ta...

Google Analytics with Rails 5 and Turbolinks

Go ( to Admin > Property > Tracking Info > Tracking Code to get your 'UA-xxxxxxx-x' apps/views/application/_analytics.html.erb ```javascript <% if Rails.env.p...

  • Updated about 1 year ago by vince
Authentication in Rails

If you want to roll out your own authentication in Rails this should get you going /app/controllers/concerns/authenticate.rb ```ruby module Authenticate extend ActiveSupport::Concern protected ...

  • Updated about 1 year ago by vince
Using Rouge with Redcarpet

Gemfile ruby gem 'redcarpet' gem 'rouge' application_helper.rb ```ruby def markdown(text) options = { filterhtml: true, hardwrap: true } extensions = { autolink: true...

  • Updated about 1 year ago by vince
Running Rake tasks

An example of a rake task that skips updating the updated_at column. To run this rake task type: rake maintenance:move_topics RAILS_ENV=production /lib/tasks/maintenance.rake ```ruby namespace :mai...

  • Updated about 1 year ago by vince
Postgres and Heroku backups

Dump To dump and download a Heroku Postgres db heroku pg:backups:capture heroku pg:backups:download To dump directly from your Heroku database pg_dump --host=<host_name> --port=<port> --username=<u...

  • Updated about 1 year ago by vince