From 925ffd28b21a88bced5656b2d15c05ea63242048 Mon Sep 17 00:00:00 2001 From: DogeyStamp Date: Mon, 11 Apr 2022 18:58:17 -0400 Subject: [PATCH] Reorganise services and elaborate on certain things --- src/about.md | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++-- src/index.md | 12 ++----- src/priv.md | 11 +++++++ 3 files changed, 102 insertions(+), 13 deletions(-) create mode 100644 src/priv.md diff --git a/src/about.md b/src/about.md index 16858eb..27a701f 100644 --- a/src/about.md +++ b/src/about.md @@ -7,11 +7,97 @@ ### competitive programming I participate in some programming contests like the University of Waterloo's [CCC.](https://cemc.uwaterloo.ca/contests/computing.html) -In 2021's contest, I got a score of 48/75 in the senior division. [Here's](https://cemc.uwaterloo.ca/contests/computing.html) a repo with my solutions. +In 2021's contest, I got a score of 48/75 in the senior division. [Here's](https://github.com/dogeystamp/waterlooccc) a repo with my solutions. -### random projects +### projects -There's a few miscellaneous projects I've done before, some of which have have articles in my blog. +In my free time I do programming projects, some of which have have full articles in my blog. + +#### [minrss](posts/minrss.html) + +This is a minimal RSS/Atom feed reader I made using C. It relies mostly on libcurl for multi-threaded downloads of RSS feeds, and libxml2 for XML parsing. + +The main feature of this program is that it represents feeds as folders with +articles as files within them. + +``` +rss +|--news +| |--article1 +| `--article2 +`--blog + |--post + `--other_post + +``` + +This is similar to suckless.org's programs +[ii](http://tools.suckless.org/ii/) and [sic](http://tools.suckless.org/sic/). +As such, reading is done via other shell utilities. + +#### suckless contributions + +[suckless.org](http://suckless.org/) is an organisation dedicated to efficient, minimal, and high-quality software. + +They allow patches to be sent in via a world-readable git server. + +Although minor, I have uploaded a few patches to suckless.org for [dwm](http://dwm.suckless.org/), a window manager for X11. These are written in C. + +- [rearrangebar](http://dwm.suckless.org/patches/rearrangebar/) places dwm's bar items in spots I liked more. +- [blanktags](http://dwm.suckless.org/patches/blanktags/) makes dwm's tag list a series of neat geometric shapes, rather than a list of numbers. + +excerpt from blanktags: + +``` +@@ -716,11 +716,11 @@ drawbar(Monitor *m) + } + x = 0; + for (i = 0; i < LENGTH(tags); i++) { +- w = TEXTW(tags[i]); ++ w = bh; + drw_setscheme(drw, scheme[m->tagset[m->seltags] & 1 << i ? SchemeSel : SchemeNorm]); +- drw_text(drw, x, 0, w, bh, lrpad / 2, tags[i], urg & 1 << i); ++ drw_text(drw, x, 0, bh, bh, 0, "", urg & 1 << i); + if (occ & 1 << i) +- drw_rect(drw, x + boxs, boxs, boxw, boxw, ++ drw_rect(drw, x+boxw,boxw, w-boxw*2, w-boxw*2, + m == selmon && selmon->sel && selmon->sel->tags & 1 << i, + urg & 1 << i); + x += w; +-- +2.31.1 +``` + +My [gitea](../git/) instance hosts all my personal builds of [dwm](../git/dogeystamp/dwm), [st](../git/dogeystamp/st), and other suckless utilities. These include other people's patches, as well as my own modifications. + +#### homeserver ansible playbook + +This server is configured automatically using an [Ansible playbook.](../git/dogeystamp/homeserver-ansible) + +After flashing the device with Arch Linux ARM, Ansible takes over. This includes bootstrapping Python and configuring network settings. +Users, groups and permissions are also handled. + +Here's a brief summary of services installed: + +- Gitea +- Matrix Synapse +- Nginx webserver +- MediaWiki farm +- Firewall + +For a more extensive list, check the README file. + +#### python + +I have some experience using Python too, mostly for small scripts. Here's some of them: + +- [cdn](../git/dogeystamp/cdn): Small file upload service made in Python/Flask +I wrote this as part of the BrebeufHx 2022 hackathon. This is a component of a chat application. + +- [dwg](../git/dogeystamp/dwg): Convert coordinates to and from words. By default, using the regular Diceware dictionary, +it can get to around meter precision using 4 words. + +- [calendar-tool](../git/dogeystamp/calendar-tool): Generates a .csv file calendar for my school schedule. Because it is a 6-day cycle, weekly recurring events would have to be changed very often, and as such I wanted to make this tool. ### art diff --git a/src/index.md b/src/index.md index c83287d..8afafb2 100644 --- a/src/index.md +++ b/src/index.md @@ -1,20 +1,12 @@ ## welcome to my website! -This is a place where I host random services and pages. +This is a place where I host some services and a blog. For more info about me, including contact info, check out [my about page.](about.html) ## services ### [gitea](../git/) -Local git server, along with frontend. - -### [rockwell wiki](../rw/) (private) - -MediaWiki for friends only. - -### [bepp wiki](../wiki/) (private) - -Another MediaWiki, also private. +Local git server, along with frontend. This hosts the majority of the projects I have done in the past. ## blog articles diff --git a/src/priv.md b/src/priv.md new file mode 100644 index 0000000..adebf81 --- /dev/null +++ b/src/priv.md @@ -0,0 +1,11 @@ +# private services + +Other than the services listed on the index page, here are some reserved for friends only. + +### [rockwell wiki](../rw/) + +Rockwell Mansion canon wiki + +### [bepp wiki](../wiki/) (private) + +Bepp satire wiki