Skip to content

Instantly share code, notes, and snippets.


Alexander Schwartzberg aeksco

View GitHub Profile
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 /
Last active Mar 18, 2018
Printrbot Start / End GCODE

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 xenial contrib" >> /etc/apt/sources.list
wget -q -O- | sudo apt-key add -
wget -q -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install -y virtualbox-5.1
sudo apt-get install -y vagrant