Skip to content

Instantly share code, notes, and snippets.

View quasilyte's full-sized avatar
🕵️

quasilyte quasilyte

🕵️
View GitHub Profile
// SPDX-License-Identifier: 0BSD
package font
import (
"image"
"image/color"
"golang.org/x/image/font"
"golang.org/x/image/math/fixed"
@empijei
empijei / errhandle.md
Last active August 17, 2018 14:48
Considerations on error handling

Considerations on error handling

The impact

The first language I used to build something more than just school exercises was VisualBasic.Net. There are some good things and bad things in it, but I don't want to discuss that today. I switched to C# after that and Java and Python after it.

This is to say that basically up until three years ago I knew one and only one way to handle errors which is expressed in the following pseudocode:

try:
	# dostuff
except: # or catch

Aligning images

This is a guide for aligning images.

See the full Advanced Markdown doc for more tips and tricks

left alignment

@s3ththompson
s3ththompson / e2e-wasm.md
Last active September 20, 2016 16:25
WebAssembly "Hello World" in V8

WebAssembly "Hello World" in V8

🏁 This document aims to show the end-to-end WebAssembly toolchain working in the V8 engine, starting with a "hello world" C source file and ending with code executing at native speed in V8.

This guide is now out of date. See Step by Step on the WebAssembly site for up-to-date instructions.