Skip to content

Instantly share code, notes, and snippets.

View northy's full-sized avatar
💭
🐦

Alexsandro Thomas northy

💭
🐦
View GitHub Profile

Elm-lang cheat sheet

This cheat sheet was created for an assignment. Various sources were combined such as the Elm-lang's introduction guide and Elm-lang's documentation.

This cheat sheet's goal is by no means to be a complete guide to Elm, but to serve as a sufficient introduction to create basic applications, and to make you able to grasp the basics in order to continue learning.

Elm is a functional language, and as such, basic knowledge about functional programming (with another language such as Haskell) is going to help a lot when using Elm.

TOC

@northy
northy / cpp-cheat-sheet.md
Created June 23, 2021 00:20
C++ cheat sheet
@northy
northy / pggrid.py
Last active August 15, 2021 15:24
PyGame Grid
import sys,pygame
class PGGrid(object) :
class PGNode(pygame.sprite.Sprite) :
def __init__(self, i:int, j:int, w:int, h:int, x:int, y:int, color:tuple, group:pygame.sprite.Group, extraProprieties:dict) :
pygame.sprite.Sprite.__init__(self, group)
self.image = pygame.Surface((w,h))
self.image.fill(color)
self.rect = self.image.get_rect()
self.rect.x = x

Keybase proof

I hereby claim:

  • I am northy on github.
  • I am the_northy (https://keybase.io/the_northy) on keybase.
  • I have a public key whose fingerprint is CDC8 0A8E FA72 94BD 1D19 D1C1 FCD2 3E9C D7C6 45AB

To claim this, I am signing this object: