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 18 days 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 about 1 month 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 about 1 month ago by vince
Install Edge Rails

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

  • Updated 3 months ago by vince
Public Shopify Sinatra App

```ruby require 'shopify_api' require 'sinatra' require 'httparty' require 'dotenv' Dotenv.load class App < Sinatra::Base attrreader :tokens APIKEY = ENV['APIKEY'] APISECRET = ENV['APISECR...

  • Updated 3 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 3 months ago by vince
Build a Rails App With the Shopify Gem

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

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

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

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

File > Revert To and select "Browse All Versions"

  • Updated 4 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 5 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 5 months ago by vince
First Query to test

Test your token (Replace x123... below with your Wave Access token) bash curl -X POST "https://gql.waveapps.com/graphql/public" \ -H "Authorization: Bearer x12345678901234567890123456789" \ -H ...

  • Updated 7 months ago by vince
Getting Started

Documentation from Wave (https://developer.waveapps.com/hc/en-us/categories/360001114072) Learn GraphQL (https://www.howtographql.com) Example Queries (https://graphql.org/learn/queries)

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 7 months ago by vince
Using a forked gem

Gemfile ruby gem 'ice_cube', git: 'https://github.com/username/ice_cube'

  • Updated 7 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"

Reset remote to an earlier commit

bash git reset --soft 64ad84e git commit -m "squashing a lot of commits" git push -f heroku master Of course, don't do this if there's more than one git collaborator in which case revert like this...

  • Updated 7 months ago by vince
Compare file between 2 branches

bash git diff branch1 branch2 path/to/file Compare local uncommitted file with another branch bash git diff rails610:./ -- Gemfile

  • Updated 8 months ago by vince
Chapter 7: Managing your search effectively: An Overview

typically source hundreds before finding one that is right be ruthless an quick reject weak prospects after a month or 2 sourcing becomes repetitive with around 2 new prospects per day don't stop s...

  • Updated 8 months ago by vince