Skip to content

Instantly share code, notes, and snippets.

View culas's full-sized avatar

Lucas Schnüriger culas

  • Zühlke Engineering AG
  • Switzerland
View GitHub Profile
@culas
culas / 01-signal.html
Last active April 26, 2024 13:00
Homemade Signals and a Signal-based framework
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Basic Homemade Signals: Implementation</title>
<style>
html {
font-family: sans-serif;
}
</style>
@culas
culas / preact-signal.html
Last active February 2, 2024 17:38
Basic Homemade Signals
<html>
<body></body>
<script type="module">
import { signal, effect } from "https://cdn.jsdelivr.net/npm/@preact/signals-core@1.5.1/+esm";
const count = signal(0);
const button = document.createElement("button");
button.innerText = "click me";
const paragraph = document.createElement("p");
@culas
culas / keybase.md
Created October 11, 2017 11:15
Keybase prove

Keybase proof

I hereby claim:

  • I am culas on github.
  • I am celeptor (https://keybase.io/celeptor) on keybase.
  • I have a public key ASB1kKZ2wh53gUfLzTc8fYTepd_c-a5O09uogYgvUOabbwo

To claim this, I am signing this object: