Skip to content

Instantly share code, notes, and snippets.

View barbaracassani's full-sized avatar

Barbara Cassani barbaracassani

View GitHub Profile
@barbaracassani
barbaracassani / radoteur.ts
Created September 5, 2020 17:58
Le radoteur: a script to invent new words.
// Inspired by Le Radoteur, invented by Roland Moreno and described in La theorie du bordel ambiant
// Replace the content of input with whatever words you want to use as inspiration and run it with typescript from the command line. Only caveat, it works better if all the input is in the same language.
// The longer the input, the better the output that will appear in the console
const input = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua';
type LetterTuple = [string, number]
class Radoteur {
protected input: string
import React, { useEffect } from "react";
import { useDispatch, useSelector } from "react-redux";
import { fetchUsers } from "./usersSlice";
import { RootState } from "../../app/store";
export default function () {
const dispatch = useDispatch();
useEffect(() => {
dispatch(fetchUsers());
@barbaracassani
barbaracassani / !Gallery.tsx
Last active August 12, 2020 18:11
Simple gallery in React & Typescript, where images are loaded dynamically from an external list

Keybase proof

I hereby claim:

  • I am barbaracassani on github.
  • I am barbaracassani (https://keybase.io/barbaracassani) on keybase.
  • I have a public key whose fingerprint is 5CE9 7842 8CD3 F6B6 FD5B 31C7 868D 9114 C3B4 514D

To claim this, I am signing this object: