Skip to content

Instantly share code, notes, and snippets.

Profession Number of Female Leaders / Contributors Number of Male Leaders / Counterparts Context and Sources
Presidents At least 22 women have served as the president or head of state of their respective countries (as of 2021). Approximately 220 men have served as the president or head of state of their respective countries (as of 2021). https://en.wikipedia.org/wiki/List_of_female_heads_of_state_and_government
Chefs There are at least 150 female chefs with Michelin stars (as of 2021). There are over 2,700 Michelin-starred restaurants worldwide (as of 2021). https://www.michelinstar-restaurants.com/awards/michelin-star-female-chefs-2021/
Beer Brewers At least 15 female brewers have won medals at the Great American Beer Festival. Unknown number of male brewers, but the majority of brewers are male. https://www.craftbeer.com/craft-beer-muses/women-in-craft-beer-a-growing-presence
Company Leaders 38 women serve as CEOs of Fortune 500 com
@afkatja
afkatja / scrolltop.js
Last active October 16, 2017 09:08
smooth vertical scrolling using rAF
function scrollToTop(position, scrollDuration) {
let scrollCount = 0;
let oldTimestamp = performance.now();
function step(newTimestamp) {
scrollCount += Math.PI / (scrollDuration / (newTimestamp - oldTimestamp));
const scrollTop = Math.round(position + (position * Math.cos(scrollCount)));
document.documentElement.scrollTo(0, scrollTop);
if (window.scrollY === 0) return;
console.log('position achieved', document.documentElement.scrollTop);
oldTimestamp = newTimestamp;
@afkatja
afkatja / react-grid.js
Created September 16, 2017 08:40
Create grid of N * N ES6
const rows = 3;
const cols = 3;
const str = '*';
const arr = [...Array(rows)].map(() => [...Array(cols)]);
arr.map(row => row.map(col => str));

Keybase proof

I hereby claim:

  • I am afkatja on github.
  • I am afkatja (https://keybase.io/afkatja) on keybase.
  • I have a public key ASDTePfOJMiDaOIc5EvFcJR-2kTK8UUzt9Fj3v3Emk08dgo

To claim this, I am signing this object:

@afkatja
afkatja / tictactoe.css
Created January 26, 2016 15:39
Styling for the tic tac toe Girl Code meets meteor workshop
html, body {
height: 100%;
}
body {
font-family: 'Amatic SC', cursive;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: #444;