Cheatsheets

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

Create Final Cut Pro backup

Create new library in external HDD Click on project and drag to new library https://www.youtube.com/watch?v=BjheMLjZVmA

  • Updated about 1 month ago by vince
File trademark

See if trademark is available at https://tmsearch.uspto.gov Learn basics at https://www.uspto.gov/trademarks/basics Register for account at https://account.uspto.gov/profile/create-account Read tut...

  • Updated 3 months ago by vince
Change color of illustrator artboard

File > Document Setup Check "Simulate Colored Paper" Click on the light checkered box color and pick another color Zoom in and out

  • Updated 4 months ago by vince
Rounded corners in Photoshop

Layer > Vector Mask > Reveal All Click "Rounded Rectangle" and select radius of corner Click once > Select size of rectangle to be same as size of image Click "Align to" > "Canvas" and center the ...

  • Updated 4 months ago by vince
Create Vector looking image in Photoshop

Steps: 1. Add Layer mask 2. Add "black" background with polygonal lasso tool on layer mask (Option + click on the mask to see the actual mask) to remove background 3. Add layer with white backgroun...

  • Updated 4 months ago by vince
Install Edge Rails

bash rails new my_app --database=postgresql --master --no-document

  • Updated 6 months ago by vince
Add an email alias on Gmail for a domain in Google Domain

Step 1: Generate your app password On your computer, go to your Google Account. At the left, click Security. Under "Signing in to Google," click App passwords and sign in, if required. If you don...

  • Updated 6 months ago by vince
Build a Rails App With the Shopify Gem

https://www.youtube.com/watch?v=yGxeoAHlQOg&list=PLvQF73bM4-5WfenNbY_lfdOAdTHr65Rxd

  • Updated 6 months ago by vince
Re-enable Google Workspace email delivery

https://support.google.com/a/answer/6248174?hl=en&ref_topic=4445319

  • Updated 7 months ago by vince
TextEdit history/undo/versions

File > Revert To and select "Browse All Versions"

  • Updated 7 months ago by vince
GPG encrypt and decrypt a file with a passphrase

Encrypt the file bash gpg -c example.txt Clear the cache bash echo RELOADAGENT | gpg-connect-agent Decrypt the file bash gpg -d example.txt.gpg

  • Updated 8 months ago by vince
Rails Multi Environment Credentials

I ended up deleting master.key and credentials.yml.enc since I'd rather use development and production specific keys and credentials per below bash EDITOR="mate --wait" bin/rails credentials:edit -...

  • Updated 8 months ago by vince
Install Tailwind CSS with Rails 6

https://rubyyagi.com/tailwindcss2-rails6/ https://web-crunch.com/posts/how-to-install-tailwind-css-2-using-ruby-on-rails https://davidteren.medium.com/tailwindcss-2-0-with-rails-6-1-postcss-8-0-964...

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

Create a bucket (note the region which will be used in step 7) called www.example.com. It's not necessary but I also recommend turning on versioning so it's possible to rollback changes Properties ...

  • Updated 9 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 10 months ago by vince
Lua syntax highlighting with nano on mac

bash brew install nano Download https://raw.githubusercontent.com/serialhex/nano-highlight/master/lua.nanorc to /usr/local/share/nano nano ~/.nanorc include /usr/local/share/nano/lua.nanorc Repe...

  • Updated 10 months ago by vince
Forking, cloning, updating, and creating a pull request on Github

Fork the repo Clone it to your local machine with git clone https://github.com/username/ice_cube.git Make changes and commit Push to GitHub with git push master origin/master Click "Pull Request"

Pessimistic locking in Rails

https://dev.to/nodefiend/rails-pessimistic-locking-45ak Locking::Pessimistic provides support for row-level locking ruby Account.lock.find(1) Start a transaction and lock at the same time by calli...

  • Updated about 1 year ago by vince
Set up CORS on Amazon S3

https://docs.aws.amazon.com/AmazonS3/latest/user-guide/add-cors-configuration.html

  • Updated about 1 year ago by vince
Use different credit cards for different Heroku apps

https://help.heroku.com/T8Q2N4SV/how-do-i-manage-billing-multiple-clients-with-separate-apps

  • Updated about 1 year ago by vince