I hereby claim:
- I am stevemolloy on github.
- I am sdmolloy (https://keybase.io/sdmolloy) on keybase.
- I have a public key whose fingerprint is 6376 D880 F844 2C67 7D16 8DA1 298E 5CF9 6E76 0149
To claim this, I am signing this object:
| import toga | |
| from colosseum import CSS | |
| class Duvet(toga.App): | |
| def startup(self): | |
| main_window = toga.Window(self.name, size=(1024, 768)) | |
| main_window.app = self | |
| main_box = toga.Box() |
| def conditional_decorator(input_decorator, condition): | |
| def output_decorator(func): | |
| if not condition: | |
| return func | |
| return input_decorator(func) | |
| return output_decorator |
| defmodule Numbers do | |
| def prime?(2), do: :true | |
| def prime?(num) do | |
| last = num | |
| |> :math.sqrt | |
| |> Float.ceil | |
| |> trunc | |
| notprime = 2..last | |
| |> Enum.any?(fn a -> rem(num, a)==0 end) |
I hereby claim:
To claim this, I am signing this object: