Skip to content

Instantly share code, notes, and snippets.

View canfan's full-sized avatar

Kostadin Krajcev canfan

View GitHub Profile
@josephg
josephg / README.md
Last active June 7, 2024 09:37
Getting Zig compiling to WASM

In case anyone else wants to play with Zig on webassembly, here's what you need to do to make it work on a mac today.

1. Get LLVM 7 compiled with webassembly support.

You'll need LLVM to output to the WASM target. This has just been added by default in trunk, so if LLVM >7 is available, you might be able to just brew install llvm.

If you have wasm support already you should see:

$ llc --version
@bantic
bantic / new_computer_steps.md
Created August 24, 2012 20:50
steps to set up a new computer

I recently got a new computer. These are my notes on what I had to do to get it up and running.

get my passwords available

  • download chrome (set as default browser)
  • reset dropbox password into my email
  • download and install dropbox
  • pause dropbox syncing (to allow faster downloads of other stuff)
  • download 1password app
  • download 1password agilekeychain and replace the un-synced one in my dropbox with it
@eskimoblood
eskimoblood / NoiseWave.js
Created August 18, 2011 10:02
port of Noise Wave by Daniel Shiffman from processing to plask. Using Sean McCulloughs perlin noise implentation and convert it to work as commonJS module https://gist.github.com/304522 a
/**
* port of Noise Wave
* by Daniel Shiffman from processing to plask
*
* Using Perlin Noise to generate a wave-like pattern.
*/
var plask = require('plask');
var noise = require('./classicalNoise').noise;