Skip to content

Instantly share code, notes, and snippets.

View paytonrules's full-sized avatar

Eric Smith paytonrules

View GitHub Profile
@paytonrules
paytonrules / Makefile
Last active August 27, 2021 17:03
A Cheat Sheet for a bunch of the stuff we did I my Makefile talk
# 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

Keybase proof

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:

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)]))
@paytonrules
paytonrules / notsonasty.fs
Created March 22, 2017 13:07
I actually like this code
let leftLaser = Entity.updateXPos
<| laser
<| (float Constraints.Bounds.Left)
|> Laser.updateProperties
<| laserProperties
@paytonrules
paytonrules / notsonasty.fs
Created March 22, 2017 13:07
I actually like this code
let leftLaser = Entity.updateXPos
<| laser
<| (float Constraints.Bounds.Left)
|> Laser.updateProperties
<| laserProperties
@paytonrules
paytonrules / practice.md
Last active March 9, 2017 22:18
Practice for the kiddos today
  • Warmup - 5 min
  • Huddle, say hi to the team. Make sure they all know your name
  • Stretching.
  • Neck rotations
  • Arm circles
  • Arm Across each side
  • Waist rotations
  • Toe Touches
  • Hamstring stretches
  • Get the sillies out