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": "ips stands for items per second. spi stands for seconds per item (reciprocal for ips).", | |
"belt": { | |
"ultra_high_speed": { "ips": 45 }, | |
"high_speed": { "ips": 30}, | |
"normal": { "ips": 15 } | |
}, | |
"item": { | |
"intermediate_product": { | |
"copper_cable": { "psi": 0.5, "recipe": [{ "name": "copper_plate", "amount": 1}], "yield": 2 }, |
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
sealed trait Nat | |
final object One extends Nat | |
final case class Succ(val nat: Nat) extends Nat | |
final case class Odd(val nat: Nat) | |
final case class Even(val nat: Nat) | |
object Main extends App{ | |
// 自然数の足し算を考えることができる |
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
/* | |
女騎士「体が熱い…貴様何を!」 | |
オークA「ククク……」 | |
オークB「ククク……」 | |
オークA「俺が女騎士に媚薬を飲ませた」 | |
オークB「オークA、Cは二人とも嘘つきだ」 | |
オークC「女騎士に媚薬を飲ませたのは嘘つきだ」 | |
オークD「オークB、Eの内片方は嘘つきだ」 | |
オークE「俺は媚薬を飲ませてない」 | |
女騎士「オークの内正直なのは二人だけだと分かっている時、私に媚薬を持ったオークとして適当なのは誰だ!?」 |
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
#!/bin/sh | |
#|-*- mode:lisp -*-|# | |
#| | |
exec ros -Q -- $0 "$@" | |
|# | |
(progn ;;init forms | |
(ros:ensure-asdf) | |
#+quicklisp(ql:quickload '(:prove) :silent t) | |
) |
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
; file: /app/quicklisp/dists/quicklisp/software/ironclad-v0.36/src/sbcl-opt/x86oid-vm.lisp | |
; in: DEFINE-VOP (SALSA-CORE-FAST) | |
; (SB-X86-64-ASM::EA (SB-VM::I) | |
; (SB-X86-64-ASM::MAKE-EA :DWORD :BASE SB-VM::BUFFER :DISP | |
; (+ (- (* SB-VM:N-WORD-BYTES SB-VM:VECTOR-DATA-OFFSET) SB-VM:OTHER-POINTER-LOWTAG) (* 4 SB-VM::I)))) | |
; | |
; caught ERROR: | |
; Lock on package SB-X86-64-ASM violated when binding EA as a local function while in package SB-VM. | |
; See also: | |
; The SBCL Manual, Node "Package Locks" |
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
<a href="https://github.com/hamukazu/lets-get-arrested"> | |
<img src="https://img.shields.io/badge/Let's%20get-arrested-red.svg" alt="Let's get arrested badge"> | |
</a> |
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
package main | |
import ( | |
"github.com/JGrotex/GrovePi/Software/Go/grovepi" | |
"fmt" | |
) | |
func runDirt() string { | |
var g grovepi.GrovePi |
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
#include <Keyboard.h> | |
#define LEFT_PAD PD0 | |
#define MID_PAD PD1 | |
#define RIGHT_PAD PD2 | |
#define LEFT_LED PB0 | |
#define MID_LED PB1 | |
#define RIGHT_LED PB2 | |
bool leftState = false; |
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
#!/bin/sh | |
#|-*- mode:lisp -*-|# | |
#| | |
exec ros -Q -- $0 "$@" | |
|# | |
(progn ;;init forms | |
(ros:ensure-asdf) | |
#+quicklisp (ql:quickload '(:cffi :lispbuilder-sdl :lispbuilder-sdl-binaries) :silent t) | |
) |
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
FROM ubuntu:16.04 | |
ENV libs 'automake libcurl4-gnutls-dev make gcc curl bzip2 locales libev-dev bison libbison-dev' | |
RUN apt-get update \ | |
&& apt-get install -y ${libs} | |
ENV roswell_archive_url 'https://github.com/roswell/roswell/archive/release.tar.gz' | |
RUN echo 'install roswell' \ | |
&& curl -SL ${roswell_archive_url} \ | |
| tar -xzC /tmp/ \ |