Lisp in Rust links
| Lisp | Stars | Link |
|---|---|---|
| Rust LISP | 187 | https://github.com/brundonsmith/rust_lisp |
| LLRL | 131 | https://github.com/yubrot/llrl |
| Lisprs | 97 | https://github.com/vishpat/lisp-rs |
| blisp | 35 | https://github.com/deciduously/blispr |
Lisp in Rust links
| Lisp | Stars | Link |
|---|---|---|
| Rust LISP | 187 | https://github.com/brundonsmith/rust_lisp |
| LLRL | 131 | https://github.com/yubrot/llrl |
| Lisprs | 97 | https://github.com/vishpat/lisp-rs |
| blisp | 35 | https://github.com/deciduously/blispr |
| (ns weather.core | |
| (:require [tablecloth.api :as api]) | |
| (:gen-class)) | |
| (defonce weather | |
| (api/dataset "https://vega.github.io/vega-lite/examples/data/seattle-weather.csv" | |
| {:key-fn keyword})) | |
| (defn avg [data] | |
| (double (/ (reduce + data) (count data)))) |
| #![allow(unused)] // silence unused warnings while exploring (to comment out) | |
| use std::{error::Error, str}; | |
| use s3::bucket::Bucket; | |
| use s3::creds::Credentials; | |
| use s3::region::Region; | |
| use s3::BucketConfiguration; | |
| // Youtube Walkthrough - https://youtu.be/uQKBW8ZgYB8 |
| FROM alpine:3.11.3 | |
| RUN apk update && apk add curl ca-certificates unzip && rm -rf /var/cache/apk/* | |
| RUN curl -L 'https://github.com/babashka/babashka/releases/download/v0.2.10/babashka-0.2.10-linux-static-amd64.zip' -o /tmp/bb.zip && \ | |
| unzip /tmp/bb.zip && \ | |
| mv bb /usr/bin/bb && \ | |
| chmod +x /usr/bin/bb | |
| RUN mkdir -p /app |
| #!/usr/bin/env bb | |
| (ns vidwiz.main | |
| "This is a prototype script for automating a portion of my video editing using ffmpeg." | |
| (:require [clojure.java.shell :refer [sh]] | |
| [clojure.string :as st] | |
| [cheshire.core :refer [parse-string]])) | |
| ;; util | |
| (defn get-extension |
| #!/usr/bin/env bb | |
| (ns github-graphql-api-client | |
| (:require | |
| [babashka.curl :as curl] | |
| [cheshire.core :as cheshire] | |
| [clojure.pprint :refer [pprint]])) | |
| (def auth-token (System/getenv "AUTH_TOKEN")) | |
| (def graphql-query |
All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.
| (ns scrape | |
| (:require [babashka.pods :as pods] | |
| [clojure.walk :as walk])) | |
| (pods/load-pod "bootleg") ;; installed on path, use "./bootleg" for local binary | |
| (require '[babashka.curl :as curl]) | |
| (def clojure-html (:body (curl/get "https://en.wikipedia.org/wiki/Clojure"))) |
| # First let's update all the packages to the latest ones with the following command | |
| sudo apt update -qq | |
| # Now we want to install some prerequisite packages which will let us use HTTPS over apt | |
| sudo apt install apt-transport-https ca-certificates curl software-properties-common -qq | |
| # After that we will add the GPG key for the official Docker repository to the system | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
| # We will add the Docker repository to our APT sources |