Skip to content

Instantly share code, notes, and snippets.

View kfahn22's full-sized avatar

Kathy kfahn22

View GitHub Profile
@kfahn22
kfahn22 / julia.frag
Created August 6, 2023 17:25
LYGIA Julie set example
#ifdef GL_ES
precision mediump float;
#endif
uniform vec2 u_resolution;
#include "lygia/color/palette/spectral.glsl"
#include "lygia/color/palette/fire.glsl"
#include "lygia/color/palette/hue.glsl"
#include "lygia/color/palette/water.glsl"
@kfahn22
kfahn22 / gear.frag
Last active August 2, 2023 18:53
gearSDF example
#ifdef GL_ES
precision highp float;
#endif
uniform vec2 u_resolution;
#include "lygia/draw/fill.glsl"
#include "lygia/sdf/gearSDF.glsl"
void main()
@kfahn22
kfahn22 / mandelbulb.frag
Last active August 1, 2023 16:18
Example frag file for mandelbulb
#ifdef GL_ES
precision highp float;
#endif
uniform vec2 u_resolution;
uniform vec2 u_mouse;
uniform float u_time;
//#define PLATFORM_WEBGL
@kfahn22
kfahn22 / us-state-ansi-fips.csv
Created March 11, 2021 17:06 — forked from dantonnoriega/us-state-ansi-fips.csv
csv file of us state ansi fips codes that follows the us census variable names
stname st stusps
Alabama 01 AL
Alaska 02 AK
Arizona 04 AZ
Arkansas 05 AR
California 06 CA
Colorado 08 CO
Connecticut 09 CT
Delaware 10 DE
District of Columbia 11 DC
@kfahn22
kfahn22 / mysql_cheat_sheet.md
Created January 20, 2021 15:26 — forked from bradtraversy/mysql_cheat_sheet.md
MySQL Cheat Sheet

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH

// XPath CheatSheet
// To test XPath in your Chrome Debugger: $x('/html/body')
// http://www.jittuu.com/2012/2/14/Testing-XPath-In-Chrome/
// 0. XPath Examples.
// More: http://xpath.alephzarro.com/content/cheatsheet.html
'//hr[@class="edge" and position()=1]' // every first hr of 'edge' class