Skip to content

Instantly share code, notes, and snippets.

View brittanydionigi's full-sized avatar

Brittany Dionigi brittanydionigi

View GitHub Profile

Who is a senior engineer?

Someone who is...

  • consistently trying to help other developers improve through mentorship, community involvement or teaching opportunities
  • has the foresight to predict edge cases and trade-offs for solutions to technical problems
  • has experienced many failures and is able to recover from them quickly when they arise
  • can clearly articulate their knowledge and explain technical concepts in multiple ways
  • has confidence in admitting what they don't know and the ability to ask questions when they need help
  • has familiarity with common patterns of programming, application architecture and structure so they can easily navigate new technical environments and tools
  • knows how and when to refactor code without burning things to the ground (or knowing when to just burn things to the ground)
@brittanydionigi
brittanydionigi / workflow-rubric.md
Last active September 15, 2017 16:32
Sample Workflow Rubric

A sample Workflow rubric for projects. Feel free to modify per-project as you see fit.

4 - Developer(s) make many small, atomic commits that clearly document the evolution of the application and do not contain irrelevant changesets that aren't reflected by the commit message. Commit messages are concise and consistent in syntax and tense. Developer(s) effectively use git branches and pull requests when applicable to incorporate changes into the application, and are not pushing directly to master. There are no instances where the developer(s) have committed source code that should be .gitignored. There are no instances of "dead" or commented-out code and debugger statements like console.log.

3 - Developer(s) make many small, atomic commits that document the evolution of the application but sometimes contain irrelevant changesets and inconsistent commit messages. Developer(s) use git branches and pull requests when applicable to incorporate changes into the application, and are not pushing fresh cha

@brittanydionigi
brittanydionigi / ui-rubric.md
Last active September 15, 2017 17:57
Sample UI/UX Rubric

A sample UI/UX rubric for projects. Feel free to modify per-project as you see fit.

4 - User interface is intuitive and the instructor can easily use it on their own without guidance. Styling is consistent and call-to-action elements are obvious. The application provides the user with relevant feedback based on interactions.

3 - User interface is mostly intuitive, though the instructor might need some guidance on interactions. Styling is mostly consistent, but could use some clean up. Application may be missing some relevant feedback that would help guide the user.

2 - User interface demonstrates some effort, but is not intuitive and the instructor needs help figuring out how to use the application. Styling has several inconsistencies and it's sometimes unclear what elements a user can interact with. Application lacks useful feedback for the user.

1 - User interface does not demonstrate effort and is unintuitive. The instructor cannot use the application on their own. Styling is incon

@brittanydionigi
brittanydionigi / .eslintrc
Last active April 18, 2018 13:47
Mod3 ESLint
{
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"plugins": [
"react"
],
"env": {
@brittanydionigi
brittanydionigi / .eslintrc
Last active September 16, 2017 18:01
Mod2 Eslint
{
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"plugins": [
"react"
],
"env": {

Read about Pascal's Triangle here

Pascal

Write a function that, given a depth (n), returns an array representing Pascal's Triangle to the n-th level.

For example:

pascalsTriangle(4) #=> [1, 1, 1, 1, 2, 1, 1, 3, 3, 1];

<!doctype html>
<html>
<head>
<title>Firebase Google Auth</title>
<style type="text/css">body,button,html{text-align:center}body,html{margin:50px;font-family:'Helvetica Neue'}button{border:0;background-color:pink;text-transform:uppercase;color:#fff;padding:15px 30px;margin:0 auto}#accountDetails{font-family:'Courier New';border:1px solid #eee;padding:20px;margin:20px auto;overflow-wrap:break-word}</style>
</head>
<body>
<button id="signIn">Sign In</button>
<div id="accountDetails"></div>
@brittanydionigi
brittanydionigi / server.js
Last active August 22, 2017 13:01
Trains Express setup
// =================================================================
// require all necessary packages ==================================
// =================================================================
const express = require('express');
const app = express();
const bodyParser = require('body-parser');
const jwt = require('jsonwebtoken');
@brittanydionigi
brittanydionigi / gcd.md
Created July 19, 2017 14:51
Greatest Common Denominator

Prompt

Using recursion, find the greatest common denominator of two positive integers.

For example,

greatestCommonDenominator(9, 12) #=> 3
@brittanydionigi
brittanydionigi / js-challenge-1.md
Created July 12, 2017 16:24
JS Challenge mod 4

Prompt

Extend the native Array data type to allow a groupBy method so that when given an array of objects, you can group each array item by a specified property.

For example, given an array of Turing students:

let students = [
  { name: "Louisa", module: "4FE", track: "frontEnd" },
  { name: "Nathaniel", module: "3FE", track: "frontEnd" },