Skip to content

Instantly share code, notes, and snippets.

Elior Tabeka eliortabeka

Block or report user

Report or block eliortabeka

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
eliortabeka / counter.function.js
Created Oct 9, 2018 — forked from saintplay/counter.function.js
Add counter for Firestore Collection
View counter.function.js
// functions/income/counter.function.js
'use strict'
const functions = require('firebase-functions')
const admin = require('firebase-admin')
// Prevent firebase from initializing twice
try { admin.initializeApp(functions.config().firebase) } catch (e) {}
eliortabeka / crayola.json
Created Jan 24, 2017 — forked from jjdelc/crayola.json
Crayola colors in JSON format
View crayola.json
"hex": "#EFDECD",
"name": "Almond",
"rgb": "(239, 222, 205)"
"hex": "#CD9575",
"name": "Antique Brass",
"rgb": "(205, 149, 117)"
eliortabeka /
Created Jan 24, 2017 — forked from ljharb/
Array iteration methods summarized

While attempting to explain JavaScript's reduce method on arrays, conceptually, I came up with the following - hopefully it's helpful; happy to tweak it if anyone has suggestions.


JavaScript Arrays have lots of built in methods on their prototype. Some of them mutate - ie, they change the underlying array in-place. Luckily, most of them do not - they instead return an entirely distinct array. Since arrays are conceptually a contiguous list of items, it helps code clarity and maintainability a lot to be able to operate on them in a "functional" way. (I'll also insist on referring to an array as a "list" - although in some languages, List is a native data type, in JS and this post, I'm referring to the concept. Everywhere I use the word "list" you can assume I'm talking about a JS Array) This means, to perform a single operation on the list as a whole ("atomically"), and to return a new list - thus making it much simpler to think about both the old list and the new one, what they contain, and

View Remix CodePen Challenge.markdown
View Button Hover Effect with box-shadow.markdown
View Triangle-Loading-animation-using-clip-path.markdown
eliortabeka / Circle-Loading-animation-using-clip-path.markdown
Last active Aug 29, 2015
Circle Loading animation using clip-path
View Circle-Loading-animation-using-clip-path.markdown
eliortabeka / Square-Loading-animation-using-clip-path.markdown
Last active Aug 29, 2015
Square Loading animation using clip-path
View Square-Loading-animation-using-clip-path.markdown
You can’t perform that action at this time.