| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Mon, 22 Dec 2025 19:02:51 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100214090307
location: https://web.archive.org/web/20100214090307/https://github.com/trotter/bert-clj
server-timing: captures_list;dur=1.329293, exclusion.robots;dur=0.066245, exclusion.robots.policy;dur=0.051792, esindex;dur=0.011843, cdx.remote;dur=53.962144, LoadShardBlock;dur=336.703093, PetaboxLoader3.datanode;dur=206.944146, PetaboxLoader3.resolve;dur=53.078865
x-app-server: wwwb-app223-dc8
x-ts: 302
x-tr: 433
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app223; path=/
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Mon, 22 Dec 2025 19:02:52 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Sun, 14 Feb 2010 09:03:07 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "e319d20edac78c77afa1b97b58996a87"
x-archive-orig-x-runtime: 94ms
x-archive-orig-content-length: 21876
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 14 Feb 2010 09:03:07 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: TLA-20100214062202-00695-00704-ia360920-20100214134402-00000-c/TLA-20100214080912-00800-ia360906.us.archive.org.warc.gz
server-timing: captures_list;dur=0.622298, exclusion.robots;dur=0.019018, exclusion.robots.policy;dur=0.009152, esindex;dur=0.010844, cdx.remote;dur=6.430627, LoadShardBlock;dur=96.582286, PetaboxLoader3.datanode;dur=110.597168, PetaboxLoader3.resolve;dur=366.568054, load_resource;dur=460.121487
x-app-server: wwwb-app223-dc8
x-ts: 200
x-tr: 624
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
trotter's bert-clj at master - GitHub
This service is courtesy of Pledgie.
trotter / bert-clj
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
-
Branches (1)
- master ✓
- Tags (0)
Sending Request…
Enable Donations
Pledgie Donations
Once activated, we'll place the following badge in your repository's detail box:
Bert implementation in Clojure — Read more
bert-clj /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Thu Dec 17 15:57:39 -0800 2009 | Fix circular dependency [trotter] |
| |
README.textile | Sun Dec 20 10:13:21 -0800 2009 | Added support for streams of berts [trotter] |
| |
pom.xml | Sat Dec 05 09:26:55 -0800 2009 | Fix typo [trotter] |
| |
scripts/ | Sat Dec 12 14:19:41 -0800 2009 | Start of bert decoder [trotter] |
| |
src/ | Mon Dec 21 10:47:54 -0800 2009 | Fix some erronous lengths [trotter] |
README.textile
bert-clj is an implementation of mojombo’s bert in clojure. It is currently ready for use, but not tested in a real environment. Please try it out and file bug reports. I’m happy to fix anything that’s wrong with it.
Usage
There are two ways to use bert-clj. One, you can just add bert-clj/src/main/clojure to your classpath. If you take that route, you can then do the following:
> (require '[com.trottercashion.bert-clj.bert :as bert]) > (bert/encode 72) ;; => (-125 97 72) > (bert/decode '(-125 97 72)) ;; => 72 > (bert/decode-seq '(-125 97 72 -125 97 53)) ;; => (72 53)
Alternatively, you can use maven to assemble a jar that can then be added to your classpath. On the command line, do the following:
$ mvn assembly:assembly $ java -cp target/bert-clj-1.0-jar-with-dependencies.jar clojure.lang.Repl > (require '[com.trottercashion.bert-clj.bert :as bert]) > (bert/encode 72) ;; => (-125 97 72) > (bert/decode '(-125 97 72)) ;; => 72 > (bert/decode-seq '(-125 97 72 -125 97 53)) ;; => (72 53)
Author
Trotter Cashion (cashion@gmail.com)
