Skip to content

Instantly share code, notes, and snippets.

View theory-of-soul's full-sized avatar

Tatiana theory-of-soul

View GitHub Profile
@ggascoigne
ggascoigne / react-table.d.ts
Created December 3, 2019 03:29
Typescript definitions for react-table 7.0.0-beta.23
// TypeScript Version: 3.5
// reflects react-table@7.0.0-beta.23
// note that if you are using this you might well want to investigate the use of
// patch-package to delete the index.d.ts file in the react-table package
declare module 'react-table' {
import {
ComponentType,
DependencyList,
@robhrt7
robhrt7 / MySQL_5-7_macOS.md
Last active February 28, 2024 03:48 — forked from nrollr/MySQL_macOS_Sierra.md
Install MySQL 5.7 on macOS using Homebrew

This is a fork of original gist https://gist.github.com/nrollr/3f57fc15ded7dddddcc4e82fe137b58e, with slight changes on pointing to 5.7 version branch, instead of 8 (latest default of MySQL in Hombrew).

Install MySQL 5.7 on macOS

This procedure explains how to install MySQL using Homebrew on macOS (Sierra 10.12 and up)

Install Homebrew

  • Installing Homebrew is effortless, open Terminal and enter :
    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.
@felipefialho
felipefialho / border-color-parent-color.md
Created December 5, 2016 15:44
[CSS Trick] Border-color with the same color of parent font dynamically

Border-color with the same color of parent font dynamically

.foo
  border-color currentColor
  color tomato

!important, It works with all elements inside of parent.

@marlun78
marlun78 / Number.isFinite.js
Last active February 10, 2017 08:39
Number.isFinite polyfill
/**
* Number.isFinite
* Copyright (c) 2014 marlun78
* MIT License, https://gist.github.com/marlun78/bd0800cf5e8053ba9f83
*
* Spec: http://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.isfinite
*/
if (typeof Number.isFinite !== 'function') {
Number.isFinite = function isFinite(value) {
// 1. If Type(number) is not Number, return false.