I hereby claim:
- I am carl-ellis on github.
- I am carlc75 (https://keybase.io/carlc75) on keybase.
- I have a public key ASCjywuOrWqR_zZsQitRCrQRLLylSB5NYLxhQ3GTm2p2KAo
To claim this, I am signing this object:
import sys | |
class Passage: | |
def __init__(self, raw): | |
self.raw = raw | |
self.title = raw[0][3:].split("{.prepub_hidden}")[0].strip() # ## Summit {.prepub_hidden} | |
self.no = raw[1][4:].strip() # ### 21 | |
self.text = ''.join(raw[3:]) |
I hereby claim:
To claim this, I am signing this object:
Simple code review for git projects
Works really well if you are working on forks of the project, but not essential. Remote name conventions: origin -> Your fork, upstream -> Master Repo
7 simple steps:
Pixelise! | |
========= | |
This has two pixelising function, a straight average of the colour channels in a given block, or a weighted mean based | |
upon a two dimensional normal distribution. | |
The code uses the weighted version, but the other is kept on for display purposes. | |
Name your image "input.png" and run the program. |