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 about 14 hours 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 7 days ago by vince
Build a Rails App With the Shopify Gem

  • Updated 9 days ago by vince
Re-enable Google Workspace email delivery

  • Updated about 1 month ago by vince
TextEdit history/undo/versions

File > Revert To and select "Browse All Versions"

  • Updated about 2 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 2 months ago by vince
Install Tailwind CSS with Rails 6

  • Updated 3 months ago by vince
First Query to test

Test your token (Replace x123... below with your Wave Access token) bash curl -X POST "" \ -H "Authorization: Bearer x12345678901234567890123456789" \ -H ...

  • Updated 4 months ago by vince
Getting Started

Documentation from Wave ( Learn GraphQL ( Example Queries (

Lua syntax highlighting with nano on mac

bash brew install nano Download to /usr/local/share/nano nano ~/.nanorc include /usr/local/share/nano/lua.nanorc Repe...

  • Updated 4 months ago by vince
Using a forked gem

Gemfile ruby gem 'ice_cube', git: ''

  • Updated 4 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 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 5 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 5 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 5 months ago by vince
Chapter 6: Identifying characteristics you want in the business

established profitable probably should look for a dull business same customers every year growing slowly i.e. enduringly profitable don't buy a troubled business because the price is low customer r...

  • Updated 5 months ago by vince
Chapter 5: Paying for the search

raising money from investors through a search fund self-funded

  • Updated 5 months ago by vince
Chapter 4: Cost of your search

can take a lot of time and money success depends on judgment and luck market is opaque and fragmented sellers may not like announcing sale in case customers and employees leave biggest cost can be ...

  • Updated 5 months ago by vince