Create Amazon IAM user

Step 1: Step 2:

  • Updated about 9 hours ago by vince
SendGrid on Heroku

Not sure why everything I looked online makes it look complicated but this worked. And you don't even need to add the SendGrid gem. /config/environments/production.rb ruby

  • Updated 2 days ago by vince
Sample workflow to undo changes

Understand this simple workflow to properly understand how revert and reset works ``` ~/code/gitfaffing % pico hello.txt ~/code/gitfaffing % git init ~/code/gitfaffing % git add . ~/code/gitfaffing...


Fast Forward Merge when you just have a simple branch from the master tip ``` Start a new feature git checkout -b new-feature master Edit some files git add <file> git commit -m "Start a feature" E...

Tips and Tricks

see compact tree of all your commits git log --graph --all --oneline --decorate if you do this a lot, you can add it as an alias ~/gitfaffing % git config --global alias.go 'log --graph --all --...

  • Updated 3 days ago by vince
Working Directory, Staging Area, and Repository

(a) The working directory contains the files that are not handled by git. These files are also referred to as "untracked files." (b) Staging area contains the files that are going to be a part of t...

Undoing Changes

Undo latest commit using git revert HEAD ``` ~/code/gitfaffing % git log --oneline 481db44 (HEAD -> master) crazy edit of world.txt be880c6 added world.txt and edited hello.txt aa1a9d2 init ~/code/...


list branches git branch ` create (and checkout) new branch git checkout -b crazy-experiment ` delete branch (after merging) git branch -d crazy-experiment delete branch (not merged but you don...

Cloning an existing repository

  • Updated 3 days ago by vince
Initializing a new Git repo

/Users/Sosie/code/lukeko ruby git init git add . git commit -m "init" Make changes and then ruby git commit -a -m "summary of what changed" If you add a file ruby git add . git commit -a -m "summ...

  • Updated 3 days ago by vince
Getting Started

Install Fontawesome in Rails 6

% yarn add @fortawesome/fontawesome-free app/assets/stylesheets/application.scss scss @import '@fortawesome/fontawesome-free/scss/fontawesome'; in any view html <i class="fas fa-dragon"></i> ht...

Installing Bootstrap in Rails 6

% yarn add bootstrap jquery popper.js app/config/webpack/environment.js ```javascript const { environment } = require('@rails/webpacker') const webpack = require('webpack') environment.plugins.ap...

Run Heroku Rails apps in production mode locally

Procfile web: bundle exec puma -t 5:5 -p ${PORT:-3000} -e ${RACK_ENV:-development} .env RACK_ENV=production PORT=3000 .gitigore .env % rails assets:precompile % heroku local

  • Updated 5 days ago by vince
Manage Ruby versions with rbenv

update rbenv ``` $ brew upgrade rbenv ruby-build list all available versions: $ rbenv install -l install a Ruby version: $ rbenv install 2.7.1 ``` set default/global version of ruby ~/.rbenv % ls ...

  • Updated 5 days ago by vince
Save leaderstats to DataStore

ServerScriptService/PlayerSetup ```lua local DataStoreService = game:GetService("DataStoreService") local playerGold = DataStoreService:GetDataStore("playerGold") local function onPlayerJoin(player...


The UserId uniquely identifies every user account on Roblox. Unlike Instance.Name of a Player, which may change according the user’s present username, this value will never change for the same acco...

Beginner Video Tutorials

Video tutorials from Blender Guru

  • Updated 7 days ago by vince

ServerScriptService/PlayerSetup ```lua local function onPlayerJoin(player) local leaderstats ="Folder", player) leaderstats.Name = "leaderstats" local gold ="Int...

Data Store

used to save data which should persist between game sessions shared per game essentially a dictionary Each value can be indexed by a unique key which includes the player’s UserId network calls may ...