I hereby claim:
- I am cesarblum on github.
- I am cblum (https://keybase.io/cblum) on keybase.
- I have a public key whose fingerprint is 02B5 72E4 5B1D D1B7 95E6 67D0 2B73 5260 B6FE CB84
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| $ sudo scutil --get ComputerName | |
| Cesar's MacBook Air | |
| $ sudo scutil --get LocalHostName | |
| Cesars-MacBook-Air | |
| $ sudo scutil --get HostName | |
| Alaska |
| ;; TinyWM is written by Nick Welch <mack@incise.org>, 2005. | |
| ;; Ported to Chicken by César L. B. Silveira <cesarbs@gmail.com>, 2011. | |
| ;; | |
| ;; Original TinyWM website: http://incise.org/tinywm.html | |
| ;; | |
| ;; This software is in the public domain | |
| ;; and is provided AS IS, with NO WARRANTY. | |
| (require-extension xlib) |
| #include <iostream> | |
| template <int N> struct P | |
| { | |
| P() | |
| { | |
| P<N - 1>(); | |
| std::cout << N << std::endl; | |
| } | |
| }; |
| % Nondeterministic finite automaton implementation | |
| % | |
| % Author: Cesar L. B. Silveira <cesarbs@gmail.com> | |
| % | |
| % This is public domain code. | |
| % | |
| % Usage: | |
| % | |
| % nfa(INPUT_STRING, DESCRIPTION, INITIAL_STATE, FINAL_STATES). | |
| % |
| import PIL.Image | |
| import sys | |
| def stitching(image, shred_width, left_shred, right_shred): | |
| """Calculate the cost of stitching two shreds. | |
| Arguments: | |
| image -- grayscale image | |
| shred_width -- width of a shred | |
| left_shred -- index of the left shred |