Skip to content

Instantly share code, notes, and snippets.

I am attesting that this GitHub handle DonKarlssonSan is linked to the Tezos account tz1ZzZmioy5Ej3kpsec2rMz1temewbt1UcSz for tzprofiles
sig:edsigtrho3rrGD73sCWGucVThiH6tEHpm4FDEVDEAbhF32wsmKjhV7VKJ1tAPv9Una8CXo31ZhGuGZjHvDcBRp1yqbPgCfokMCQ
@DonKarlssonSan
DonKarlssonSan / gist:1c713ebaa267ad43350e52cf5b86d66b
Created November 18, 2021 06:18
Tezos Profiles Verification
I am attesting that this GitHub handle DonKarlssonSan is linked to the Tezos account tz1ZzZmioy5Ej3kpsec2rMz1temewbt1UcSz for tzprofiles
sig:edsigtrho3rrGD73sCWGucVThiH6tEHpm4FDEVDEAbhF32wsmKjhV7VKJ1tAPv9Una8CXo31ZhGuGZjHvDcBRp1yqbPgCfokMCQ
@DonKarlssonSan
DonKarlssonSan / complex.glsl
Last active May 10, 2023 11:34
Complex Number Math In GLSL
// Hyperboloc functions by toneburst from
// https://machinesdontcare.wordpress.com/2008/03/10/glsl-cosh-sinh-tanh/
// These are missing in GLSL 1.10 and 1.20, uncomment if you need them
/*
/// COSH Function (Hyperbolic Cosine)
float cosh(float val)
{
float tmp = exp(val);
float cosH = (tmp + 1.0 / tmp) / 2.0;
<!DOCTYPE html>
<html>
<head>
<title>Facebook Login JavaScript Example</title>
<meta charset="UTF-8">
</head>
<body>
<script>
// This is called with the results from from FB.getLoginStatus().
function statusChangeCallback(response) {
<html>
<body>
<input id="image" type="file" accept="image/*" />
<script>
(function () {
var image = document.getElementById("image");
image.addEventListener("change", function (event) {
var files = event.target.files;
if (files.length > 0) {
@DonKarlssonSan
DonKarlssonSan / index.html
Last active August 29, 2015 14:09
Analyze the frequency of the sound from the microphone
<!DOCTYPE html>
<html>
<head>
<title>Frequency Analyser - Web Audio API Demo</title>
</head>
<body>
<canvas id="theCanvas" width="1024" height="256"></canvas> <br/>
<button id="startButton" type="button">Start</button>
<script>
@DonKarlssonSan
DonKarlssonSan / index.html
Created October 17, 2014 19:12
Hello World!
<html>
<h3>Hello, world!</h3>
</html>