Skip to content

Instantly share code, notes, and snippets.

View oaluna's full-sized avatar
💭
Job hunting!

Oscar Luna oaluna

💭
Job hunting!
View GitHub Profile
@oaluna
oaluna / index.html
Created December 8, 2020 18:43
Stripe Website Gradient Animation
<html>
<head>
<title>Stripe Gradient</title>
</head>
<body>
<canvas id="gradient-canvas" data-js-darken-top data-transition-in>
<!--
Remove data-js-darken-top to keep the same brightness in the upper part of the canvas
-->
</canvas>
@oaluna
oaluna / Reducers.js
Created January 18, 2020 07:53
Reducers resource for React Redux.
import { combineReducers } from 'redux'
import {
ADD_TODO,
TOGGLE_TODO,
SET_VISIBILITY_FILTER,
VisibilityFilters
} from './actions'
const { SHOW_ALL } = VisibilityFilters
function visibilityFilter(state = SHOW_ALL, action) {
@oaluna
oaluna / System Design.md
Created January 3, 2020 04:12 — forked from vasanthk/System Design.md
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@oaluna
oaluna / cloudSettings
Last active July 6, 2021 01:12 — forked from scottdomes/app.css
React Audio Tutorial
{"lastUpload":"2021-07-06T01:12:24.654Z","extensionVersion":"v3.4.3"}
https://repl.it/@oaluna/validate-object-keys-drill-1
https://repl.it/@oaluna/find-by-id-drill-1
https://repl.it/@oaluna/Enroll-in-summer-school-drill-1
https://repl.it/@oaluna/Make-student-reports-drill-1
https://repl.it/@oaluna/Object-creator-drill-1
https://repl.it/@oaluna/Object-updater-drill-1
https://repl.it/@oaluna/Self-reference-drill-1
https://repl.it/@oaluna/Deleting-keys-drill-1
@oaluna
oaluna / gist:e1918c3b7dc47bfb157d7c4eaec6a2aa
Created November 6, 2019 23:06
Arrays And Loops Drills
https://repl.it/@oaluna/fizzbuzz-drill-js-1
https://repl.it/@oaluna/min-and-max-without-sort-drill-1
https://repl.it/@oaluna/average-drill-1
https://repl.it/@oaluna/Array-copying-I-drill
https://repl.it/@oaluna/Array-copying-II-drill-2
https://repl.it/@oaluna/Squares-with-map-drill-2
https://repl.it/@oaluna/Sort-drill-1
https://repl.it/@oaluna/Filter-drill-1
https://repl.it/@oaluna/Find-drill-1
https://repl.it/@oaluna/Creating-arrays-drill-1
https://repl.it/@oaluna/Adding-array-items-drills-1
https://repl.it/@oaluna/Accessing-array-items-drill-1
https://repl.it/@oaluna/Array-length-and-access-drill-1
https://Traffic-lights-drill-1--oaluna.repl.co
https://repl.it/@oaluna/Error-alert-drill-1