Skip to content

Instantly share code, notes, and snippets.

Avatar
🚀

Alexander Schwartzberg aeksco

🚀
View GitHub Profile
@aeksco
aeksco / TodoList.tsx
Created Jul 12, 2019
React + TypeScript + React.Hooks ToDo List
View TodoList.tsx
import * as React from "react";
type Item = {
id: string,
label: string,
done: boolean,
}
const TodoList = () => {
const [newLabel, setNewLabel] = React.useState('');
@aeksco
aeksco / README.md
Last active Mar 18, 2018
Printrbot Start / End GCODE
View README.md

This is the start and end GCODE I use with my modified Printrbot Simple Metal. The Purge Line GCODE in the start.gcode file may be useful elsewhere.

View gist:747b11d7b2afddbbc7170ff785118635
# Install VirtualBox + Vagrant
sudo echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" >> /etc/apt/sources.list
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install -y virtualbox-5.1
sudo apt-get install -y vagrant