Skip to content

Instantly share code, notes, and snippets.

View Yuffster's full-sized avatar
🕳️
ᕕ( ᐛ ) ᕗ

Michelle Steigerwalt Yuffster

🕳️
ᕕ( ᐛ ) ᕗ
View GitHub Profile
@codePrincess
codePrincess / .swift
Last active August 10, 2018 18:26
Basic doodling with Apple Pencil
import Foundation
import UIKit
public class DoodleCanvas : UIImageView {
let pi = CGFloat(Double.pi)
let forceSensitivity: CGFloat = 4.0
var pencilTexture = UIColor(patternImage: UIImage(named: "PencilTexture")!)
let defaultLineWidth : CGFloat = 6
@kgersen
kgersen / setup-lxd for crostini.txt
Created February 28, 2019 04:24
setup lxd client in penguin crostini vm (requires ChromeOS linux apps)
source: https://discuss.linuxcontainers.org/t/using-lxd-on-your-chromebook/3823
ctrl-alt-t to access crosh
vsh termina (or vmc start termina)
lxc config set core.https_address :8443
lxc config set core.trust_password some-password
# create an Ubuntu container
lxc launch ubuntu:18.04 c1
# copy the lxc command from it