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"))) |
HackerNews discussed this with many alternative solutions: https://news.ycombinator.com/item?id=24893615
I already have my own domain name: mydomain.com
. I wanted to be able to run some webapps on my Raspberry Pi 4B running
perpetually at home in headless mode (just needs 5W power and wireless internet). I wanted to be able to access these apps from public Internet. Dynamic DNS wasn't an option because my ISP blocks all incoming traffic. ngrok
would work but the free plan is too restrictive.
I bought a cheap 2GB RAM, 20GB disk VM + a 25GB volume on Hetzner for about 4 EUR/month. Hetzner gave me a static IP for it. I haven't purchased a floating IP yet.