I hereby claim:
- I am wa9ace on github.
- I am wa9ace (https://keybase.io/wa9ace) on keybase.
- I have a public key ASCxK2rH4QBpF_O_i6K2bkM8XHbyNBectPB4In9qb7YyvAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #NoTrayIcon | |
| #Persistent | |
| global hWSL | |
| /* Setup Tray icon and add item that will handle | |
| * double click events | |
| */ | |
| Menu Tray, Icon | |
| Menu Tray, Icon, C:\Program Files\WindowsApps\CanonicalGroupLimited.UbuntuonWindows_1604.2017.922.0_x64__79rhkp1fndgsc\images\icon.ico |
I hereby claim:
To claim this, I am signing this object:
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <link rel="icon" href="data:;base64,iVBORw0KGgo="> | |
| <title>Hello World WASM</title> | |
| </head> | |
| <body> |
| document.addEventListener("DOMContentLoaded", main) | |
| function log(offset, length) { | |
| const bytes = new Uint8Array(memory.buffer, offset, length) | |
| const string = new TextDecoder('utf8').decode(bytes) | |
| console.log(string) | |
| } | |
| var memory = new WebAssembly.Memory({ initial : 20 }); |
| module | |
| (import "stdlib" "print" (func $print (param i32 i32))) | |
| (import "js" "mem" (memory 20)) | |
| (data (i32.const 0) "Hello World") | |
| (func (export "main") | |
| i32.const 0 ;; pass offset 0 to log | |
| i32.const 20 ;; pass length 20 to log | |
| call $print)) |
| class Router { | |
| constructor (routes = [], root = '/') { | |
| this.routes = routes | |
| this.root = root | |
| window.addEventListener('hashchange', this._handler.bind(this)) | |
| } | |
| start (initialRoute) { | |
| this._handler() | |
| } |
| { | |
| "theme": "Afterglow-blue.sublime-theme", | |
| "color_inactive_tabs": true, | |
| "color_scheme": "Packages/Theme - Afterglow/Afterglow.tmTheme", | |
| // "color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
| "font_face": "Monaco", | |
| "font_size": 14, | |
| "ignored_packages": | |
| [ | |
| "Vintage" |
| ; This allows you to use alt+` to switch between windows of the same application akin to OS X's CMD+` | |
| !`:: ; Next window | |
| WinGetClass, ActiveClass, A | |
| WinSet, Bottom,, A | |
| WinActivate, ahk_class %ActiveClass% | |
| return |