Skip to content

Instantly share code, notes, and snippets.

View Antigen-1's full-sized avatar
🥰

Hao Zhang Antigen-1

🥰
  • NanChang
View GitHub Profile
@Antigen-1
Antigen-1 / typed-kn.rkt
Last active June 2, 2024 05:43
k-nucleotide
#lang typed/racket/base
(require/typed racket/sequence (sequence-ref (All (E) (-> (Sequenceof E) Natural E))))
;;;
;;; The Computer Language Benchmarks Game
;;; https://salsa.debian.org/benchmarksgame-team/benchmarksgame/
;;; contributed by Matthew Flatt, modified by
;;; modified by James Bergstra
;;; further modified by Hao Zhang
@Antigen-1
Antigen-1 / gist:2632be494add142fbe281ae5fb709059
Created October 23, 2022 14:09
Make Rash your default shell
`sudo chsh --shell <rash-bin-path>/rash-repl $USER && sudo reboot`