This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Renumerate Pricing Model</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <style> | |
| input[type="number"] { -moz-appearance: textfield; } | |
| input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Ponderings</title> | |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> | |
| <script src="script.js"></script> | |
| <script src="ponderings.js"></script> | |
| </head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from __future__ import print_function | |
| M = 5 | |
| N = 10 | |
| w = [ | |
| [0,1,0,1,1,0,0,1,0,1], | |
| [0,1,0,1,1,0,0,1,0,1], | |
| [0,1,0,1,1,0,0,1,0,1], | |
| [0,1,0,1,1,0,0,1,0,1], | |
| [0,1,0,1,1,0,0,1,0,1], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """Python implementation of Conway's Game of Life | |
| Somewhat inspired by Jack Diederich's talk `Stop Writing Classes` | |
| http://pyvideo.org/video/880/stop-writing-classes | |
| Ironically, as I extended the functionality of this module it seems obvious | |
| that the next step would be to refactor board into a class with advance and | |
| constrain as methods and print_board as __str__. | |
| """ |