I hereby claim:
- I am dejay on github.
- I am dheaney (https://keybase.io/dheaney) on keybase.
- I have a public key ASByfljUPMocbLhaAK6pgtzZch7mloi3LvB5kZgbnZ98Kwo
To claim this, I am signing this object:
| /home/node4/.local/lib/python3.8/site-packages/setuptools/dist.py:463: UserWarning: Normalizing '1.1.0.dev' to '1.1.0.dev0' | |
| warnings.warn(tmpl.format(**locals())) | |
| running bdist_wheel | |
| running build | |
| running bazel_build | |
| Extracting Bazel installation... | |
| Starting local Bazel server and connecting to it... | |
| WARNING: Download from https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/624b5d59dfb45672d4239422fa1e3de1822ee110.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found | |
| WARNING: Download from https://mirror.bazel.build/github.com/pybind/pybind11/archive/v2.3.0.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found | |
| DEBUG: Rule 'libmysqlclient' indicated that a canonical reproducible form can be obtained by modifying arguments commit = "34f8887af03d022416dd6593de91d0706e57f46b", shallow_since = "1545150882 +0100" and dropping ["tag"] |
| import Data.Maybe | |
| import Data.List | |
| data Exp = NullOp Integer | UnOp Integer Exp | BinOp Integer Exp Exp | Var Integer deriving Eq | |
| data ExpEq = VE Integer Exp | VV Integer Integer deriving Eq | |
| data SubstitutionSet = SS [Exp] [ExpEq] deriving Eq | |
| data Relation = R Exp Exp deriving Eq | |
| instance Show ExpEq where | |
| show (VE n exp) = "v" ++ show n ++ " = " ++ show exp |
| from Tkinter import * | |
| import glob | |
| class MyWindow(object): | |
| def __init__(self): | |
| self.label = None | |
| self.root = Tk() | |
| self.i = 0 | |
| self.files = glob.glob('./*.png') + glob.glob('./*.jpg') + glob.glob('./*.jpeg') |
| # from Tkinter import * | |
| # http://effbot.org/tkinterbook/ | |
| #root = Tk() | |
| #photo = PhotoImage(file="Desktop/sphx_glr_simple_plot_001.png") | |
| #w = Label(root, image=photo) |
| from Tkinter import * | |
| from PIL import Image, ImageTk | |
| import glob | |
| # https://stackoverflow.com/questions/17351524/tkinter-pil-resize-an-image-to-fit-a-label | |
| class MyWindow(object): | |
| def __init__(self): | |
| self.image = None |
| #include <stdio.h> | |
| #include "hello.h" | |
| void hello() { | |
| printf("HELLO\n"); | |
| } |
I hereby claim:
To claim this, I am signing this object:
| using System; | |
| using System.Data.SqlClient; | |
| using System.Xml; | |
| using Gtk; | |
| public partial class MainWindow: Gtk.Window | |
| { | |
| private XmlDocument doc; | |
| private XmlNodeList nodes; |
| # -*- coding: utf-8 -*- | |
| # Written by David Heaney on 21 January 2016 | |
| # This software is in the public domain. | |
| import curses | |
| stdscr = curses.initscr() | |
| curses.noecho() | |
| curses.cbreak() |
| def sin(n): | |
| # Since we're approximating with a polynomial, | |
| # we need to artificially limit our domain to | |
| # [-pi, pi]. That's kind of how trig works | |
| # anyway, so it makes perfect sense. | |
| # I just copy-pasted math.pi from the interpreter | |
| # to save a tiny bit of load time. | |
| if n > 3.141592653589793: | |
| return sin(n - 2*3.141592653589793) |