Skip to content

Instantly share code, notes, and snippets.

@sleexyz
sleexyz / scripts.nix
Created May 27, 2023 00:04
wrapper around just that always nix develops
self: super: {
just-wrapper = super.writeShellScriptBin "just" ''
# Check if path argument is provided
if [ -z "$1" ]; then
echo "Usage: just <path> [extra_arguments]"
exit 1
fi
# Split the path into $DIRECTORY and $COMMAND
DIRECTORY=$(dirname "$1")
@pdamoc
pdamoc / Pong.elm
Last active October 16, 2016 20:07
Pong Example
-- See this document for more information on making Pong:
-- http://elm-lang.org/blog/pong
import Color exposing (..)
import Collage exposing (..)
import Element exposing (..)
import Keyboard
import Text
import Time exposing (..)
import Window exposing (Size)
import Html.App as App