Skip to content

Instantly share code, notes, and snippets.

Avatar

Mat Lipe lipemat

View GitHub Profile
@lipemat
lipemat / team.js
Created Mar 16, 2019
React Column Aware Layout
View team.js
import React, {useState, useRef, useMemo, useCallback, useEffect} from 'react';
import {hot} from 'react-hot-loader/root';
import {ITEMS} from "../globals/config";
import Item from "../components/team/Item";
import Slide_And_Scroll from "../components/transitions/Slide_And_Scroll";
import Current from "../components/team/Current";
import chunk from 'lodash/chunk';
import debounce from 'lodash/debounce';
const getCurrentFromHash = () => {
View move turtle via arrows
import turtle;
t = turtle.Turtle();
w = turtle.Screen();
def right():
t.right(45);
def left():
t.left(45);