Scott Watermasysk Husband, Father, Bootstrapper, Developer, Builder, Shipper.
Shorts are small posts and links. These are auto posted to @scottw on Twitter.

TIL: Do Not Name a Postgres Table User

Working through a handful of JavaScript ORM tools and twice today I accidentally created a table called User.

This conflicts with Postgres’s own User table. Postgres is OK with this assuming you use quotes around user in your queries (and it becomes case sensitive).

Loosely translated, do not name your table User. I guess if you are switching databases, the above is necessary, but it is probably just as easy to rename your table at that point.

# - Apr 11, 2019

Gitpod

One click IDE for Github. Just point it at a repo and you are off and running. I even wrote this file in it using my own ruby helpers.

# - Apr 08, 2019

Mailtrap.io

A fake SMTP server to test and view emails in development.

I am a long time happy MailCatcher user, but I love the idea of something that just runs somewhere else and is easily accessible in my browser.

πŸ‘‰ https://mailtrap.io/

# - Apr 08, 2019

Faster QuickTime Videos

If you want to speed up a QuickTime video, hold down βŒ₯ (option) and click theΒ Β» on the video. Each click will speed up by about .1x all the way up to 2x.

# - Apr 04, 2019

Vim and TypeScript

Out of the box, Vim does not know what to do with TypeScript.

These two plugins make it a much better experience.

Syntax: https://github.com/leafgarland/typescript-vim TSServer: https://github.com/Quramy/tsuquyomi

# - Apr 03, 2019

πŸ˜• TypeScript

Starting to dig into TypeScript. I am not sure if I love it or absolutely hate it.

# - Apr 02, 2019
← Older Shorts Newer Shorts β†’