vince

Install Edge Rails

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

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

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

  • Updated about 1 month ago by vince
Re-enable Google Workspace email delivery

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

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

File > Revert To and select "Browse All Versions"

  • Updated 3 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 3 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 4 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 5 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 5 months ago by vince
Using a forked gem

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

  • Updated 6 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 6 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 6 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 6 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 7 months ago by vince
Chapter 5: Paying for the search

raising money from investors through a search fund self-funded

  • Updated 7 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 7 months ago by vince