Skip to content

Instantly share code, notes, and snippets.

View Bigalan09's full-sized avatar
๐ŸŽ†
On fire.

Alan Gardner Bigalan09

๐ŸŽ†
On fire.
View GitHub Profile
@Bigalan09
Bigalan09 / index.html
Last active October 8, 2025 08:08
Modern css reset and basic styling with support for light and darm mode
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>The Art of Modern Web Design</title>
<script>
(function () { const t = localStorage.getItem('theme') || 'light'; document.documentElement.setAttribute('data-theme', t) })();
</script>
@Bigalan09
Bigalan09 / Gradual Increment
Created May 27, 2022 18:21
Gradual increment calculation
function getGradualValue(value) {
// Gradually increments
return Math.ceil(Math.floor(value * 3.1 * Math.pow(1.67, Math.log2(value))) / 27.3);
}
@Bigalan09
Bigalan09 / gitx.go
Last active February 12, 2021 14:45
A git branch switching extension written in Go. I use this for when git bash auto complete isn't working. usage: gitx branch <search term>
package main
import (
"fmt"
"os"
"os/exec"
"sort"
"strings"
"github.com/manifoldco/promptui"

Keybase proof

I hereby claim:

  • I am bigalan09 on github.
  • I am bigalan (https://keybase.io/bigalan) on keybase.
  • I have a public key ASBkw8MMcQwgl0U_1ldfFyIFp60SfpgRjyqWX9Ni_AJYDgo

To claim this, I am signing this object:

@Bigalan09
Bigalan09 / P5.js Bootstrap
Created April 19, 2018 07:56
P5 Processing v0.6.0
<html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.6.0/p5.js"></script>
<script src="sketch.js"></script>
</head>
<body>
</body>
</html>