Skip to content

Instantly share code, notes, and snippets.

View acoravos's full-sized avatar

Andy Coravos acoravos

View GitHub Profile
@acoravos
acoravos / blockstack_verification.md
Created November 10, 2017 02:21
Verifying my blockstack account
@acoravos
acoravos / git-sample-workflow.md
Created December 27, 2016 07:00
Git-Sample-Workflow

Sample Workflow

  • Name the branch after the feature you're creating: git checkout -b "your-initials/name-of-feature" (you will need the quotes when you create a new branch name)

  • Code your feature

  • Check the status of your changes: git status

@acoravos
acoravos / keybase.md
Created July 21, 2016 04:18
keybase.md

Keybase proof

I hereby claim:

  • I am acoravos on github.
  • I am andreacoravos (https://keybase.io/andreacoravos) on keybase.
  • I have a public key whose fingerprint is 93C3 21CB A09C 6B8A C148 4198 512A AAA3 E209 12EF

To claim this, I am signing this object:

@acoravos
acoravos / git-hygiene.md
Last active January 5, 2018 05:31
Good Git Hygiene + Workflow

#Git Workflow for Teams

  1. Check out a branch that is named for the feature name + initials
  2. Write your code, including adding tests
  3. Run all the tests
  4. Add/stash and commit all your changes (NOTE: use <git add --patch> & <git checkout --patch>, and not <git add.>)
  5. <git co master>
  6. <git pull origin master>
  7. <git co [branch]>
  8. ``
@acoravos
acoravos / The Technical Interview Cheat Sheet.md
Last active August 26, 2015 23:55 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
require 'react/jsx/template'
class React::JSX::Template
SYNTAX_ERROR_MESSAGE = /SyntaxError: unknown: Unexpected token \((\d+):(\d+)\)/
def evaluate_with_better_errors(scope, locals, &block)
evaluate_without_better_errors(scope, locals, &block)
rescue ExecJS::RuntimeError => error