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
| import dom | |
| type | |
| Canvas* = ref CanvasObj | |
| CanvasObj {.importc.} = object of dom.Element | |
| CanvasContext2d* = ref CanvasContext2dObj | |
| CanvasContext2dObj {.importc.} = object | |
| font*: cstring | |
| globalAlpha*: float |
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
| -- JSON correspondant (à parser) : | |
| -- { | |
| -- "keywords": [ | |
| -- { "uid": 6, "url": "...", "keyword": "..." }, | |
| -- { "uid": 55, "url": "...", "keyword": "..." }, | |
| -- { "uid": 462, "url": "...", "keyword": "..." } | |
| -- ], | |
| -- | |
| -- "records": { | |
| -- UN_TIMESTAMP: [ |
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
| # | |
| # Portage pur | |
| # | |
| type | |
| lhMutex = object | |
| id: int64 | |
| lhWindow = object | |
| id: int64 | |
| x: int |
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
| import tables | |
| type | |
| GroupName = enum | |
| None | |
| Purple | |
| LightBlue | |
| Pink | |
| Orange | |
| Red |
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
| import Array | |
| import String | |
| import Html.App as Html | |
| import Json.Decode as Json | |
| import Array exposing (Array) | |
| import Html.Events exposing (keyCode, on, onClick, onInput, targetValue) | |
| import Html exposing (..) |
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
| ### | |
| const map = [ | |
| [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ], | |
| [ 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ], | |
| [ 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ], | |
| [ 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ], | |
| [ 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ], | |
| [ 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ], | |
| [ 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ], | |
| [ 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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
| shopt -s globstar | |
| skewc src/**/*.sk --output-file=app.js --target=js --message-limit=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
| class Point { | |
| var x double | |
| var y double | |
| } | |
| namespace Game { | |
| const GRID = 16 | |
| var hero Entity | |
| } |
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
| class Vector2D { | |
| var x double | |
| var y double | |
| def new { | |
| self.x = 0 | |
| self.y = 0 | |
| } | |
| def new(x double, y double) { |
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
| rock --libpath=libhang-c/src --incpath=libhang-c/include -lhang |
NewerOlder