I hereby claim:
- I am paytonrules on github.
- I am paytonrules (https://keybase.io/paytonrules) on keybase.
- I have a public key ASBn5GFZBYF9uvgP1fHuFF1mHQAiiFmAC5-URE7og8-hGgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| # I haven't tried this bugt I don't want to lose thie idea, a self documenting Makefile | |
| # https://marmelab.com/blog/2016/02/29/auto-documented-makefile.html | |
| # When I try it I'll update this, hopefully. | |
| # Basic Syntax | |
| target: dependency dependency2 ... | |
| command1 | |
| command2 | |
| some_file: *.c | |
| # create the binary | |
| *.c: | |
| touch f1.c | |
| touch f2.c | |
| clean: | |
| rm -f *.c |
Person p = new Person();
Land l = new Land.Builder
.newInstance()
.wonder()
.winter()
.build();
p.walkIn(p);| class Stats: | |
| pass | |
| ob = Stats() | |
| ob.weight = -100 # weight set to a negative value, legal but wrong. | |
| class Stats: | |
| def setWeight(self, weight): | |
| if weight < 0: |
| (-> moves | |
| (convert-to-board) | |
| (take-computer-turn) | |
| (interleave)) | |
| ; So why did this cause me issues for 30 minutes... | |
| (defn- hash->sablono [h] | |
| (clojure.core/remove nil? [(:elem h) (:attrs h) (:data h)])) |
| let leftLaser = Entity.updateXPos | |
| <| laser | |
| <| (float Constraints.Bounds.Left) | |
| |> Laser.updateProperties | |
| <| laserProperties |
| let leftLaser = Entity.updateXPos | |
| <| laser | |
| <| (float Constraints.Bounds.Left) | |
| |> Laser.updateProperties | |
| <| laserProperties |