Skip to content

Instantly share code, notes, and snippets.

View merelinguist's full-sized avatar
👩‍🌾

Kat merelinguist

👩‍🌾
View GitHub Profile
@merelinguist
merelinguist / Histogram Demo.py
Created September 22, 2017 15:35
Demo of the python matplotlib histogram (hist) function with a few features.
# coding: utf-8
'''
Demo of the histogram (hist) function with a few features.
In addition to the basic histogram, this demo shows a few optional features:
* Setting the number of data bins
* The ``normed`` flag, which normalizes bin heights so that the integral of the histogram is 1. The resulting histogram is a probability density.
* Setting the face color of the bars
* Setting the opacity (alpha value).
<!DOCTYPE html>
<html>
<head>
<title>Page not found - ProgSoc</title>
<meta charset="utf-8">
<style>
*, *:before, *:after {
box-sizing: border-box;
}

Maths

E2.2

Use language, notation and Venn diagrams to describe sets and represent relationshops between sets.

E1.12

Calculate percentage increase or decrease. Carry out calculations involving reverse percentages.

@merelinguist
merelinguist / start.md
Created March 29, 2018 11:25
Favorite Song site

Favorite Song site

1. Open Glitch

Open Glitch, click on "hello-webpage", and click "Remix your own."

2. Start your HTML

HTML is the language we use to write webpages. Every website you've ever visited uses HTML, and yours is no different.

<!DOCTYPE html>
<!--[if IE 8]><html class="lt-ie10 lt-ie9"> <![endif]-->
<!--[if IE 9]><html class="lt-ie10"> <![endif]-->
<!--[if gt IE 9]><!--> <html> <!--<![endif]-->
<head>
{MobileAppHeaders}
<meta charset="utf-8">
<title>{Title}{block:SearchPage} ({lang:Search results for SearchQuery}){/block:SearchPage}{block:PermalinkPage}{block:PostSummary} — {PostSummary}{/block:PostSummary}{/block:PermalinkPage}</title>
{block:Description}
<meta name="description" content="{MetaDescription}">
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@adamwathan">
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
wOFFnÿdFFTMm‰|,[$GDEF`¿cä
” eGPOSbP înR§"^GSUBa$+b3ÎÒOS/2 N`h©©"cmap†û˙öä[÷cvt
DAÄ/Éwfpgm@p
m=é|gasp`∏glyfxL‰ôpü1headî66
hheaà $∑ hmtx\D÷Îê"[loca
àÓÓ∞ç†maxpÏ cxname\\€UËpost^lJ2
Ä~4prep ∞í£œ0iA$ß}_<ıË”¡!Õ‘F†0˛`ˇ1gÆxúc`d``~˚flÇÅÅ•˙_¬ˇñt†
¯
ï4∆ˆGö¨ã!fxúc`fícú¿¿ ¿¿‘≈¡¿¿‡
°„åuÄ|ê ∞3 ÅPÔp?^%!fÖˇ gôfl2úP``ò íc¸¬t H)00œì ”xúmì1hSQܡ{o´4öDh∞Ñ–T©µ
import { useRef } from "react";
import { MouseEvent } from "react";
import { Header } from "../components/Header";
import { Main } from "../components/Main";
export default () => {
const boardRef = useRef<HTMLDivElement>(null);
const handleClick = (e: MouseEvent<HTMLDivElement>) => {
.cells div::before {
content: "";
padding-bottom: 100%;
display: inline-block;
vertical-align: top;
}
import Link from "next/link";