Skip to content

Instantly share code, notes, and snippets.

View iscott's full-sized avatar

Ira Herman iscott

View GitHub Profile
@iscott
iscott / git_workflow_cheatsheet.md
Created April 2, 2020 00:51
Git Workflow Cheatsheet

Git Workflow CheatSheet

By Ira Herman


Use this workflow when working with teams to take advantage of Pull Requests and keep the master branch clean.

Creating and using your own branch locally:

@iscott
iscott / ds_and_algos.md
Last active October 30, 2023 12:41
Intro to Datastructures and Algorithms Cheat Sheet
@iscott
iscott / console.js
Created April 10, 2024 20:39 — forked from garside/console.js
Shopify Audit Permissions
/*!
* Shopify Admin Auditing
*
* Copyright (c) 2022 Eric Garside (http://sakaralife.com)
* Available under the MIT license: https://opensource.org/licenses/MIT
*/
// The selector for permssion checkboxes label sets on the individual user pages (if shopify changes this)
const permissionSelector = 'label.Polaris-Choice_j5gzq:not([for^="Polaris"])'
// The selector for permission text within the checkbox label
@iscott
iscott / simple_authentication_rails_5_bcrypt_and_has_secure_password.md
Last active May 6, 2024 19:57
Cheat Sheet: Simple Authentication in Rails 5 with has_secure_password

Cheat Sheet: Simple Authentication in Rails 6 with has_secure_password

The goal of this cheatsheet is to make it easy to add hand-rolled authentication to any rails app in a series of layers.

First the simplest/core layers, then optional layers depending on which features/functionality you want.

Specs
AUTHOR Ira Herman
LANGUAGE/STACK Ruby on Rails Version 4, 5, or 6