Skip to content

Instantly share code, notes, and snippets.

@fbmnds
fbmnds / index.html
Created August 23, 2021 11:19
react hooks useState
<div id="root"></div>
@fbmnds
fbmnds / index.html
Created August 23, 2021 11:19
react hooks useState
<div id="root"></div>
@fbmnds
fbmnds / index.html
Created August 23, 2021 11:13
react hooks useState
<div id="root"></div>
@fbmnds
fbmnds / index.html
Created August 23, 2021 11:13
react hooks useState
<div id="root"></div>
@fbmnds
fbmnds / emacs.txt
Created September 27, 2020 09:21
Emacs 27.1
./configure --prefix=/home/pi/.local --with-sound=yes --with-x-toolkit=yes --with-wide-int --with-cairo --with-modules --with-mailutils --with-x
sudo apt-get update
sudo apt install \
libx11-dev \
libtiff-dev \
libgtk2.0-dev \
libncurses-dev \
mailutils-imap4d \
@fbmnds
fbmnds / esp8266-toolchain.nix
Created August 18, 2019 20:21
ESP8266_RTOS_SDK
{ stdenv, fetchurl, makeWrapper, buildFHSUserEnv }:
let
fhsEnv = buildFHSUserEnv {
name = "esp8266-toolchain-env";
targetPkgs = pkgs: with pkgs; [ zlib ];
runScript = "";
};
in
@fbmnds
fbmnds / default-esp8266.nix
Created August 18, 2019 20:19
ESP8266_RTOS_SDK
{ nixpkgs ? import <nixpkgs> {} }:
let
inherit (nixpkgs) pkgs;
in
pkgs.stdenv.mkDerivation {
name = "esp8266-env";
buildInputs = with pkgs; [
gawk gperf gettext automake bison flex texinfo help2man libtool autoconf ncurses5 cmake
@fbmnds
fbmnds / esp32-toolchain.nix
Last active September 7, 2019 13:24
ESP-IDF
{ stdenv, fetchurl, makeWrapper, buildFHSUserEnv }:
let
fhsEnv = buildFHSUserEnv {
name = "esp32-toolchain-env";
targetPkgs = pkgs: with pkgs; [ zlib ];
runScript = "";
};
in
@fbmnds
fbmnds / default.nix
Last active September 7, 2019 13:23
ESP-IDF
{ nixpkgs ? import <nixpkgs> {} }:
let
inherit (nixpkgs) pkgs;
in
pkgs.stdenv.mkDerivation {
name = "esp-idf-env";
buildInputs = with pkgs; [
cmake gawk gperf gettext automake bison flex texinfo help2man libtool autoconf ncurses5 cmake
@fbmnds
fbmnds / _about.md
Created September 11, 2017 21:57 — forked from sgoguen/_about.md
A Small Elm-like DSL in F#

Making Toys with F# - A Small Elm-like DSL in F#

A Small Elm-Like DSL in F#

I've been working on a talk about the virtues of building toy examples for the purpose of communicating ideas with simple interactive examples.

The toys I talk about in my presentation are based my interest in tools that allow programmers to quickly build web applications that allow them to explore their architecture. So to kickstart this series off, I want to introduce a simple