summaryrefslogtreecommitdiff
path: root/content/projects/lolcat-c
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-10-14 13:03:20 +0200
committerjaseg <git@jaseg.de>2023-10-14 13:03:20 +0200
commitd3129f384f2a7313d7d2259b09c4d46661597ed7 (patch)
tree030c1e62fe05d93ae95b678b9546d95de7d70da8 /content/projects/lolcat-c
parent2cdeee2a3c728a42dc1b9fe9d6892ea647402e1c (diff)
parent74d7f5c965c55be28ea6da0e0e33f7f0fd5478f9 (diff)
downloadblog-d3129f384f2a7313d7d2259b09c4d46661597ed7.tar.gz
blog-d3129f384f2a7313d7d2259b09c4d46661597ed7.tar.bz2
blog-d3129f384f2a7313d7d2259b09c4d46661597ed7.zip
deploy.py auto-commit
Diffstat (limited to 'content/projects/lolcat-c')
-rw-r--r--content/projects/lolcat-c/LOLCat-Rainbow.jpgbin42785 -> 0 bytes
-rw-r--r--content/projects/lolcat-c/index.rst107
-rw-r--r--content/projects/lolcat-c/screenshot.pngbin198032 -> 0 bytes
-rw-r--r--content/projects/lolcat-c/sl.gifbin1466027 -> 0 bytes
4 files changed, 0 insertions, 107 deletions
diff --git a/content/projects/lolcat-c/LOLCat-Rainbow.jpg b/content/projects/lolcat-c/LOLCat-Rainbow.jpg
deleted file mode 100644
index 9524d26..0000000
--- a/content/projects/lolcat-c/LOLCat-Rainbow.jpg
+++ /dev/null
Binary files differ
diff --git a/content/projects/lolcat-c/index.rst b/content/projects/lolcat-c/index.rst
deleted file mode 100644
index 858f6de..0000000
--- a/content/projects/lolcat-c/index.rst
+++ /dev/null
@@ -1,107 +0,0 @@
----
-title: "lolcat-c"
-external_links:
- - name: Sources
- url: "https://git.jaseg.de/lolcat.git"
- - name: Github
- url: "https://github.com/jaseg/lolcat"
- - name: Issues
- url: "https://github.com/jaseg/lolcat/issues"
-summary: >
- lolcat-c is a small, high-performance re-implementation of the
- `lolcat <https://github.com/busyloop/lolcat>`__
- rainbow cat utility. lolcat-c is meant as a lolcat that you can actually use in production. It is fast, not slowing
- down whatever you pipe through it, and it robustly handles real-world terminal output including escape sequences.
----
-
-What?
-=====
-
-.. image:: LOLCat-Rainbow.jpg
-
-Screenshot
-==========
-
-.. image:: screenshot.png
-
-.. image:: sl.gif
-
-Installation
-============
-
-Archlinux
----------
-
-There's an `AUR package <https://aur.archlinux.org/packages/c-lolcat>`__:
-
-.. code:: sh
-
- $ git clone https://aur.archlinux.org/packages/c-lolcat
- $ cd c-lolcat
- $ makepkg -csi
-
-Fedora
-------
-
-.. code:: sh
-
- $ dnf install lolcat
-
-Ubuntu (Snap)
--------------
-
-See `this awesome blog post by a kind person from the internet <https://blog.simos.info/how-to-make-a-snap-package-for-lolcat-with-snapcraft-on-ubuntu/>`__:
-
-.. code:: sh
-
- $ snap install lolcat-c
-
-Mac
----
-
-Build loclcat with:
-
-.. code:: sh
-
- $ make lolcat
-
-...and put the resulting binary at a place of your choice.
-
-Others
-------
-
-.. code:: sh
-
- $ make && sudo make install
-
-Why?
-====
-
-This `lolcat` clone is an attempt to reduce the world's carbon dioxide emissions by optimizing inefficient code. It's
->10x as fast and <0.1% as large as the original one.
-
-.. code:: sh
-
- newton~/d/lolcat <3 dmesg>foo
- newton~/d/lolcat <3 time upstream/bin/lolcat foo
- 13.51user 1.34system 0:15.99elapsed 92%CPU (0avgtext+0avgdata 10864maxresident)k
- 0inputs+0outputs (0major+1716minor)pagefaults 0swaps
- newton~/d/lolcat <3 time ./lolcat foo
- 0.02user 0.00system 0:00.09elapsed 34%CPU (0avgtext+0avgdata 1936maxresident)k
- 0inputs+0outputs (0major+117minor)pagefaults 0swaps
-
-Bonus comparison with `python-lolcat <https://github.com/tehmaze/lolcat/>`__:
-
-.. code:: sh
-
- newton~/d/lolcat <3 dmesg>foo
- $ time python-lolcat foo
- 12.27user 0.00system 0:12.29elapsed 99%CPU (0avgtext+0avgdata 11484maxresident)k
- 0inputs+0outputs (0major+1627minor)pagefaults 0swaps
- $ time c-lolcat foo
- 0.29user 0.00system 0:00.30elapsed 98%CPU (0avgtext+0avgdata 468maxresident)k
- 0inputs+0outputs (0major+21minor)pagefaults 0swaps
-
-(Read: `c-lolcat << python-lolcat << ruby-lolcat`)
-
-
diff --git a/content/projects/lolcat-c/screenshot.png b/content/projects/lolcat-c/screenshot.png
deleted file mode 100644
index 56282af..0000000
--- a/content/projects/lolcat-c/screenshot.png
+++ /dev/null
Binary files differ
diff --git a/content/projects/lolcat-c/sl.gif b/content/projects/lolcat-c/sl.gif
deleted file mode 100644
index 9d994e8..0000000
--- a/content/projects/lolcat-c/sl.gif
+++ /dev/null
Binary files differ