Skip to content

Instantly share code, notes, and snippets.

View teksrc's full-sized avatar
🛫
deploy

Frank Carvajal teksrc

🛫
deploy
View GitHub Profile
@teksrc
teksrc / domHighlighter.js
Last active April 18, 2019 16:58
TamperMonkey Dom Highlighter
// ==UserScript==
// @name ShowDS Component
// @match https://qa.dialsource.com/*
// @match http://localhost:3000/*
// ==/UserScript==
// Using TamperMonkey, this custom DOM Highlighter script inserts CSS into whatever page is loaded.
// Then all attributes with an sqa-ID are rendered with an outline style.
// It shows what elements have the ID and what ones still need it.
// And on mouse over I can just read the ID. I don't have to search for it on Dev tools
@teksrc
teksrc / readme.md
Last active March 23, 2019 00:57
React app from scratch with Babel & Webpack

mkdir ex-project cd ex-project npm init -y mkdir src touch webpack.config.js .babelrc

cd src touch index.html index.js cd .. npm i react react-dom --save

Even or odd

function isEven(value){
  if (value % 2 == 0){
    return true;
  }
  else
    return false;
}

Use recursion to solve the following problems. These problems can also be solved non-recursively; you'll be tempted to use tools that you already understand more deeply, but you must solve each one using recursion. For the first part of these exercises, without using any code, you are expected to identify the followings:

  1. What is the input to the program
  2. What is the output of the program
  3. What is the input to each recursive calls
  4. What is the output of each recursive calls
https://glitch.com/edit/#!/future-draw
Interest calculator I: Connecting
https://glitch.com/edit/#!/flawless-spider
Interest calculator II: Dispatching
https://glitch.com/edit/#!/silent-cabbage
i18n state :
github.com/hexishacks/7.1.1
CRUD reducer:
github.com/hexishacks/7.1.2
Surprise!
https://glitch.com/edit/#!/six-color
Hourly Rate Calculator
https://glitch.com/edit/#!/bouncy-pickle
Live Search
Navigation Bar:
glitch.com/edit/#!/join/bb377c64-07a7-478a-9367-c9511ee9e98a
Address Book:
glitch.com/edit/#!/join/e0406271-de06-42d6-a5f1-7d26984509c7