HackerRank has this delightful technical problem-solving quiz based around this programming language they call "Grid". One Gist and some digging around later, I find out that it's just Befunge with some extras. This is a HackerRank-flavored Befunge interpreter that we'll just call Grid here on out. By no means does this pretend to be any form of official implementation. It is a toy to waste time with.
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
{ | |
"COMMENT": "update this to work with your email account." | |
"read": { | |
"url": "imap://imap.gmail.com:993", | |
"user": "user@gmail.com", | |
"password": "app password", | |
"sslType": "SSL", | |
"enableXOAuth2": false, | |
"disableCertificateCheck": false, | |
"timeout": "30 s" |
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
#!/usr/bin/env amm | |
import $ivy.`com.lightbend::emoji:1.3.0` | |
import com.lightbend.emoji._, Emoji._ | |
import scala.util.Random | |
val bomb = 0x1f4a3.emoji | |
val metal = 0x1f396.emoji | |
val esc = '\u001b' |
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
#lang typed/racket | |
(require/typed json | |
[#:opaque JSExpr jsexpr?] | |
[read-json (-> Input-Port JSExpr)] | |
[string->jsexpr (-> String JSExpr)]) | |
(require/typed net/http-client | |
[http-sendrecv (-> String String | |
[#:method String] |
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
set-option -ga terminal-overrides ",xterm-256color:Tc" | |
set-option -g mouse on | |
set-option -s set-clipboard off | |
set-option -g prefix C-z | |
unbind-key C-b | |
bind-key C-z send-prefix | |
set-option -g status-style bg=blue,fg=white | |
set-option -g status-position top |
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
(ns speechjammer.core | |
(:use [overtone.live] | |
[overtone.core])) | |
(def -delay- (atom 0)) | |
(definst jammer [del 0] | |
(delay-n (sound-in) 1.0 (/ del 1000.0))) | |
(defn set-delay [delta] |