This file contains 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 ./x.py build --stage 1 src/libtest | |
cd .. | |
export RUSTC="/home/ryan/lib_reloading_bisect/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" | |
cd ./tiny-live-code-example/ | |
echo $RUSTC |
This file contains 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
module Flatten | |
def flatten(array) | |
result = [] | |
array.each do |element| | |
if element.is_a? Array | |
flatten(element).each { |inner_element| result.push(inner_element) } | |
else | |
result.push(element) | |
end |
This file contains 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
module Main exposing (..) | |
import Date exposing (Month(..)) | |
compareMonth : Month -> Month -> Order | |
compareMonth m1 m2 = | |
case m1 of | |
Jan -> | |
case m2 of |
This file contains 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
module Main exposing (..) | |
type BoardId | |
= ZeroZero | |
| ZeroOne | |
| ZeroTwo | |
| OneZero | |
| OneOne | |
| OneTwo |
This file contains 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
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
This file contains 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
module Main exposing (..) | |
import Color exposing (..) | |
import Math.Vector3 exposing (..) | |
import Math.Matrix4 exposing (..) | |
import WebGL exposing (..) | |
import Html.App as Html | |
import AnimationFrame | |
import Html.Attributes exposing (width, height) | |
import Debug exposing (log) |
This file contains 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
-- this creates a Trivial Graph Format representaion of the | |
-- require-based dependancies of the lua files in the current directory, | |
-- then saves it to <containing folder name>_deps.tgf | |
-- run in the directory you want to graph like this: | |
-- lua dependanciesTGF.lua | |
--requires Penlight | |
local file = require "pl.file" |
NewerOlder