From c34ae6fed8503c6f8b27b4bd55cf26bb3f47ad23 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Wed, 18 Jul 2018 23:46:06 +0100 Subject: init commit --- content/projects/c-stuff.md | 22 +++++++++++++++++++++ content/projects/dotfiles.md | 6 ++++++ content/projects/minecurses.md | 8 ++++++++ content/projects/the-tk.com.md | 45 ++++++++++++++++++++++++++++++++++++++++++ content/projects/vav.md | 6 ++++++ 5 files changed, 87 insertions(+) create mode 100644 content/projects/c-stuff.md create mode 100644 content/projects/dotfiles.md create mode 100644 content/projects/minecurses.md create mode 100644 content/projects/the-tk.com.md create mode 100644 content/projects/vav.md (limited to 'content/projects') diff --git a/content/projects/c-stuff.md b/content/projects/c-stuff.md new file mode 100644 index 0000000..b310844 --- /dev/null +++ b/content/projects/c-stuff.md @@ -0,0 +1,22 @@ +$name c-stuff +$source https://github.com/EliteTK/c-stuff + +c-stuff is a large collection of small projects and snippets of +code. Numerous people have shown interest in these various snippets so +although this is not a project itself, it gets a notable mention. Most +of the code is licensed under the GNU GPLv3. + +$desc + +## Notable Mentions + +### timer + +timer is a simple command line beeping countdown timer. It has a very +simple interface: `timer n{s,m,h,D,M,Y}...` Despite this simplicity, +it's an incredibly useful tool, the source for it can be found +[here][timer-src] and there is even an AUR package which can be found +[here][timer-aur]. + +[timer-src]: https://github.com/EliteTK/c-stuff/blob/master/timer.c "c-stuff/timer at master · EliteTK/c-stuff" +[timer-aur]: https://aur.archlinux.org/packages/timer-git/ "timer-git" diff --git a/content/projects/dotfiles.md b/content/projects/dotfiles.md new file mode 100644 index 0000000..8c239e3 --- /dev/null +++ b/content/projects/dotfiles.md @@ -0,0 +1,6 @@ +$name dotfiles +$source http://github.com/EliteTK/dotfiles/ + +These are the files from my .config directory, the only things which are +actually useful may be the vimrc, i3 config and i3blocks config. These are +severely out of date. diff --git a/content/projects/minecurses.md b/content/projects/minecurses.md new file mode 100644 index 0000000..855ed59 --- /dev/null +++ b/content/projects/minecurses.md @@ -0,0 +1,8 @@ +$name minecurses +$source https://github.com/EliteTK/minecurses/ +$aur minecurses-git + +minecurses is a clone of minesweeper written in C using ncurses. The +code is quite awful in the current master branch and the redo branch is +not in any way able to be compiled. However, in the future this might +possibly improve. diff --git a/content/projects/the-tk.com.md b/content/projects/the-tk.com.md new file mode 100644 index 0000000..dc87f43 --- /dev/null +++ b/content/projects/the-tk.com.md @@ -0,0 +1,45 @@ +$name the-tk.com +$source https://the-tk.com/cgit/the-tk.com/ + +This website is an ongoing project of mine, an attempt at writing a simple to +maintain static website with html which tries to avoid putting
s +everywhere. I also hope that at least some of the stuff I write about can be +useful to some people. + +$desc + +## Older Versions + +The website is actually on its 4th revision. The files for the 1st revision may +be lost somewhere (probably for the best) but can find the source for v2 and v3 +of the website in the GitHub repository located [here][old-gh], the "old" branch +holds v2. v3 of the website relies on a slightly customized liquid, the nature +of this customization can be found [here][liquid-patch]. + +## IP Echo Server + +An IP echo server is hosted at http://ip.the-tk.com/. Before I was informed that +you could implement this functionality entirely within nginx (using +`return 200 $remote_addr`) I had written this short simple fastcgi IP echo +program in C: + +~~~.c +#include +#include +#include + +int main(void) +{ + while (FCGI_Accept() >= 0) { + puts("Content-type: text/plain; charset=UTF-8"); + puts("Status: 200 OK"); + puts(""); + printf("%s", getenv("REMOTE_ADDR")); + } + + return EXIT_SUCCESS; +} +~~~ + +[old-gh]: https://github.com/EliteTK/the-tk.com/ "EliteTK/the-tk.com · GitHub" +[liquid-patch]: https://github.com/EliteTK/liquid/tree/replace_newlines "EliteTK/liquid at replace_newlines" diff --git a/content/projects/vav.md b/content/projects/vav.md new file mode 100644 index 0000000..786c6cd --- /dev/null +++ b/content/projects/vav.md @@ -0,0 +1,6 @@ +$name VAV +$source https://github.com/EliteTK/vav/ + +VAV is a C library which aims to provide neat looking vectors in C. These might +not be entirely practical since they cause quite an overhead in the creation and +calculations using vectors, but the code can be a source of interesting ideas. -- cgit v1.2.3-54-g00ecf