Skip to content

Instantly share code, notes, and snippets.

View stephanlensky's full-sized avatar
🌼

Stephan Lensky stephanlensky

🌼
View GitHub Profile
@stephanlensky
stephanlensky / gs.py
Last active January 25, 2019 20:10
Build script for personal blog. More information available here: http://blog.slensky.com/2016/12/hello-world.html
#!/usr/bin/python3
from pathlib import Path
from shutil import copy, copytree, rmtree
from datetime import datetime
from dateutil.parser import parse
from mako.template import Template
from feedgen.feed import FeedGenerator
import re
import markdown2
import sys
@stephanlensky
stephanlensky / lib220.d.ts
Last active February 17, 2022 01:40
Ocelot IDE Sudo Mod (v0.3)
interface Canvas {
/**
* The drawLine function draws a line on the canvas that stretches from a designated
* start point to a designated endpoint.
* @param x1 The location on the x-axis of the desired start point of the line
* @param y1 The location on the y-axis of the desired start point of the line
* @param x2 The location on the x-axis of the desired end point of the line
* @param y2 The location on the y-axis of the desired end point of the line
* @param color The desired color of the line given as a tri-color pixel
*/