Total Pageviews

Showing posts with label racket. Show all posts
Showing posts with label racket. Show all posts

Friday, 31 March 2023

Build your own X

 Master programming by recreating your favorite technologies from scratch. 

https://codecrafters.io/

Table of Contents

This repository is a compilation of well-written, step-by-step guides for re-creating our favorite technologies from scratch.

What I cannot create, I do not understand — Richard Feynman.

It's a great way to learn.

Tutorials

Build your own 3D Renderer

Build your own Augmented Reality

Build your own BitTorrent Client

Build your own Blockchain / Cryptocurrency

Build your own Bot

Build your own Command-Line Tool

Build your own Database

Build your own Docker

Build your own Emulator / Virtual Machine

Build your own Front-end Framework / Library

Build your own Game

Build your own Git

Build your own Network Stack

Build your own Neural Network

Build your own Operating System

Build your own Physics Engine

Build your own Programming Language

Build your own Regex Engine

Build your own Search Engine

Build your own Shell

Build your own Template Engine

Build your own Text Editor

Build your own Visual Recognition System

Build your own Voxel Engine

Build your own Web Browser

Build your own Web Server

Uncategorized

Contribute

Origins & License

CC0

This repository is the work of many contributors. It was started by Daniel Stefanovic, and is now maintained by CodeCrafters, Inc. To the extent possible under law, CodeCrafters, Inc. has waived all copyright and related or neighboring rights to this work.

from https://github.com/codecrafters-io/build-your-own-x

 

Saturday, 18 March 2017

使用基于racket的pollen启动静态服务器

wget http://mirror.racket-lang.org/installers/6.0.1/racket-6.0.1-i386-linux-debian-squeeze.sh
sh racket-6.0.1-i386-linux-debian-squeeze.sh
(安装路径选择/usr/local/racket)
export PATH=$PATH:/usr/local/racket/bin
echo 'export PATH=$PATH:/usr/local/racket/bin'  >>  /etc/profile
 (这样,racket就装好了。其他系统,见这里:
http://download.racket-lang.org/)

raco pkg install pollen
这样pollen就装好了。

cd到某个静态网站的根目录,比如/usr/local/frog-site:
cd /usr/local/frog-site
root@AR:/usr/local/frog-site# ls
About.html  blog  feeds  index-2.html  js        tags
_src        css   img     index.html    sitemap.txt
root@AR:/usr/local/frog-site# raco pollen start . 34563 > /dev/null &

访问http://bright.biz.st:34563,即可看到静态网站的效果。

项目地址:https://github.com/mbutterick/pollen
http://docs.racket-lang.org/pollen/quick-tour.html
http://docs.racket-lang.org/pollen/first-tutorial.html (5.4.1和5.4.2部分)

pollen还是一个电子书(静态网站)生成器,演示网站:http://practicaltypography.com/

相关帖子:http://briteming.blogspot.com/2014/05/linux-vpsracket-frog.html
 

Tuesday, 20 December 2016

基于racket的静态网站/电子书生成程序Pollen

book-publishing system in Racket
 Build Status
A book-publishing system written in Racket. This is the software I use to publish & maintain my web-based books Practical Typography, Typography for Lawyers, and the forthcoming Beautiful Racket.
If you think documents should be programmable, you’ll love it.
If not, you can move along.
Pollen gives you access to a full programming language (Racket) with a text-based syntax that makes it easy to embed code within your documents.
Using Racket 6.0+, install from the command line:
(先按此文http://briteming.blogspot.com/2014/05/racket.html编译racket)
raco pkg install pollen
And update like so:
raco pkg update --update-deps pollen
Official mailing list: http://groups.google.com/forum/#!forum/pollenpub

from https://github.com/mbutterick/pollen

相关贴子:http://briteming.blogspot.com/2014/05/racket.html

Tuesday, 27 May 2014

编译racket

wget http://mirror.racket-lang.org/installers/6.0.1/racket-6.0.1-src.tgz
tar zxvf racket-6.0.1-src.tgz
cd racket-6.0.1
cd src
./configure
make
make install

注:如果make install失败,往往是你的vps内存耗尽的缘故,重启vps,再次make install就能成功。而且需先安装libcairo2:
 apt-get install libcairo2 libcairo2-dev libpango-1.0-0 libpango1.0-0 libpango1.0-dev libpangocairo-1.0-0   ,否则在运行make install时,会遇到提示:找不到libcairo.so.2,libpango-1.0.so.0文件。

root@localhost:~# find / -name raco
/usr/share/doc/racket/raco
/usr/share/racket/collects/raco
/usr/share/racket/collects/scribblings/raco
/root/racket-6.0.1/doc/raco
/root/racket-6.0.1/collects/raco
/root/racket-6.0.1/share/pkgs/racket-doc/scribblings/raco
/root/racket-6.0.1/bin/raco
root@localhost:~# echo "export PATH=$PATH:/root/racket-6.0.1/bin" >> /etc/profile                                                                        
root@localhost:~# . /etc/profile
root@localhost:~#

搞了差不多2个小时,才编译成功。

Sunday, 16 March 2014

racket-lang

https://github.com/plt/racket
The Racket repository:
http://racket-lang.org/

This is the source code for the main Racket distribution.  See
"INSTALL.txt" for information on building Racket.