This file contains 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
" github.com/honix | |
" VIM CONFIGURATION | |
set nocompatible | |
""" VISUALS | |
" Visualy combos | |
set showcmd | |
" Display line numbers on the left | |
set number |
This file contains 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
(defun weak-tripo (n) | |
(case n | |
(0 0) | |
(1 0) | |
(2 1) | |
(t (+ (weak-tripo (- n 1)) | |
(weak-tripo (- n 2)) | |
(weak-tripo (- n 3)))))) | |
(let ((table (make-hash-table))) |
This file contains 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
(ql:quickload :sketch) | |
(in-package :sketch) | |
(defstruct point | |
(x 0.0 :type short-float) | |
(y 0.0 :type short-float)) | |
(defparameter *pen* (make-pen :fill +black+ | |
:stroke +black+ |
This file contains 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
from tkinter import * | |
from math import sin, cos | |
master = Tk() | |
c = Canvas(master, width=230, height=230) | |
c.pack() | |
def create_good_rectangle(c, x1, y1, x2, y2, feather, res=5, color='black'): | |
points = [] |
NewerOlder