This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
OlderNewer