Skip to content

Instantly share code, notes, and snippets.

View gravitinos's full-sized avatar

Valentino Espinoza gravitinos

View GitHub Profile
@gravitinos
gravitinos / Happy Birthday Jorge
Created April 24, 2015 04:03
Thing for Jorge's Birthday
* THE GAME OF DEATH
* https://ancient-scrubland-7307.herokuapp.com/
* Improved UI. Oauth twitter, and the userpage is coming along.
* The Css seemed a bit difficult, just getting things to work the way I wanted. No huge issues.
* By Tuesday I plan to have the map have points populated by the API, along with tweaking all of the pages to look very polished. (Navbar depending on logged in or not, log in and out buttons, style map page more)

Keybase proof

I hereby claim:

  • I am xvalentino on github.
  • I am tino (https://keybase.io/tino) on keybase.
  • I have a public key whose fingerprint is 1434 DD0D B872 B717 BE83 0048 4118 2EF2 C894 68DD

To claim this, I am signing this object:

@gravitinos
gravitinos / Learn to not Hate math
Created June 1, 2015 21:55
Why math is important to programmers
# Math Rules
* Statistics on math?
* How does math apply to programming?
* How doesn't it?
* What can I do to like math?

Keybase proof

I hereby claim:

  • I am xvalentino on github.
  • I am tino (https://keybase.io/tino) on keybase.
  • I have a public key ASBlqBpK7zjP477bFGoK6dCSQuyacSlhvCEDNreE7dIyBwo

To claim this, I am signing this object:

@gravitinos
gravitinos / UnitTesting.md
Created October 4, 2018 17:57
Specifically around Jest

Testing Trophy

#testing

Unit

  • Unit test small modules of code.
  • Mock all dependencies with exceptions (React, Alm.queryBuilder)
  • Small snapshot tests
  • Make sure stubs are called if you want side effects of components
  • Avoid testing react internals

Picante Unit Testing

jest.mock('utils/Namespacing');
import React from 'react';
import ColorDot from '../ColorDot';
import { shallow } from 'enzyme';

const defaultProps = { color: 'red' };
const renderColorDot = newProps => {
 const props = { ...defaultProps, ...newProps };
@gravitinos
gravitinos / Accessibility_tips.md
Last active April 28, 2023 17:11
Developing for accessibility overview
@gravitinos
gravitinos / quizlet-to-csv.js
Created May 24, 2023 03:43 — forked from pigeonburger/quizlet-to-csv.js
Quizlet to CSV file
/*
Converts a Quizlet set to a CSV file and downloads it to your computer.
HOW TO USE:
1. Open your browser's console
2. Copy all the below code into it, and press enter.
3. The list will be saved to your downloads as a CSV file!
*/
const terms = document.getElementsByClassName('SetPageTerms-term');
@gravitinos
gravitinos / Finley Care.md
Last active September 11, 2023 01:21
Finley Care.md

Finley Care

Finley is a 7-year-old, 60 lb Keeshond with a laid-back temperament. While he enjoys his walks and playtime, he also loves relaxing and staying cool.

  • ❤️ Health
    • 🥣 Allergies
      It has been discovered that Finley had a yeast infection in his ear and has been treated for it via some drops that we got from the store you go to in Littleton. They recommended to finish the bottle. Please add 6 drops per meal (12 a day) into his food.

    • 🐰 Past Medical Issues
      He's neutered and has had a growth removed from his eye and a skin tag from his abdomen. There are no ongoing issues from these procedures.