Skip to content

Instantly share code, notes, and snippets.

@meganehouser
meganehouser / httpd.py
Created February 29, 2020 14:07 — forked from daimatz/httpd.py
SimpleHTTPServer with custom headers (Python3)
#!/usr/bin/env python3
import sys
from http.server import (
SimpleHTTPRequestHandler,
HTTPServer,
test,
)
@meganehouser
meganehouser / stars.py
Created December 2, 2019 04:09
stars
import itertools
stars = []
class Point:
def __init__(self, x, y):
self.x = x
self.y = y
@meganehouser
meganehouser / snowflake.py
Last active December 2, 2019 15:29
snowflake
def draw_branch(branch_len, direction):
pushMatrix()
rotate(direction * PI / 3)
line(0, 0, branch_len, 0)
popMatrix()
def setup():
size(500, 500)
background(30, 30, 255)
strokeCap(ROUND)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@meganehouser
meganehouser / MeguroLYAHFGG-3.ipynb
Created May 19, 2019 05:06
Meguro.LYAHFGG#3 Note.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@meganehouser
meganehouser / MeguroLYAHFGG-3.ipynb
Created May 19, 2019 05:06
Meguro.LYAHFGG#3 Note.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@meganehouser
meganehouser / MeguroLYAHFGG-3.ipynb
Created May 19, 2019 05:06
Meguro.LYAHFGG#3 Note.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@meganehouser
meganehouser / MeguroLYAHFGG#2.ipynb
Last active April 3, 2019 15:17
MeguroLYAHFGG#2(すごいHaskell本を原書で読む会 )のノート。@nnm_techさんがまとめたものに実行結果と補足を追加したものです。
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@meganehouser
meganehouser / techlunch.md
Last active March 26, 2019 02:46
LT slides for Tech Lunch
marp
true

この世界の片隅で使われている言語