Skip to content

Instantly share code, notes, and snippets.

View Freakwill's full-sized avatar
🧪
Dreaming the strong AI

William Song Freakwill

🧪
Dreaming the strong AI
View GitHub Profile
@Freakwill
Freakwill / Base.hs
Created October 2, 2018 10:13
FuckHaskell created by Freakwill - https://repl.it/@Freakwill/FuckHaskell
module Base
(sepline)
where
_sepline :: String -> String
_sepline x = let l = replicate 8 '-' in l ++ x ++ l
sepline :: String -> IO ()
sepline = putStrLn . _sepline
@Freakwill
Freakwill / mywidgets.py
Last active September 6, 2018 06:32
pyqt
# -*- coding: utf-8 -*-
from PyQt5 import QtCore
from PyQt5.QtWidgets import *
from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas
# from matplotlib.figure import Figure