extends base.pug

block meta_description
    meta(name='description' content="Here I share my programs, scripts, articles, may be other stuff.")

block append head
    link(rel='canonical' href='/stuff')

block nav
    a(href='/') Home
    a(href='/mindflow') Mindflow
    a(href='/about') About
    a(href='/guestbook') Guestbook
    h1 Stuff

block content
    :go:func Stuff(title, git_site, files_site string, metadata []ArticleMetadata)
    p.center Here lies everything I've made that I'm willing to share.
    section#articles
        h2 Articles
        p These articles are more like the sysadmin's notes. I describe those parts here that I did myself. The date here represents when article was updated last time.
        table
            each entry in metadata
                tr
                    td
                        time(datetime=entry.Date.Format("2006-01-02")) #{entry.Date.Format("02 January 2006")}
                    td
                        a(href=entry.URL) #{entry.Title}
    section#programs-scripts
        h2 Programs and scripts
        p.center Simple, yet useful (at least for me) programs and scripts I made.
        table
            tr
                td httpr
                td 0.2.0 (27 May 2023)
                td Go
                td MIT
                td
                    a(href=git_site+'/Arav/httpr') source
                    a(href=git_site+'/Arav/httpr/releases') releases
            tr
                td(colspan='5')
                    p A simple HTTP router that supports having both regular and parametrised path's parts at the same level, like #[code /assets/*filepath] and #[code /:a/:b] in the same HTTP method.
                    p Yeah, not as efficient as httprouter is, but in my case no performance loose was noticed (on a small amount of paths). Yet I gained prettiness because it allowed me, for example, to ditch #[code /f/] part and leave just #[code /:hash/:name] instead of #[code /f/:hash/:name] in a dwelling-upload service.
            tr
                td justguestbook
                td 1.3.2 (22 May 2023)
                td Go
                td MIT
                td
                    a(href=git_site+'/Arav/justcaptcha') source
            tr
                td(colspan='5')
                    p A simple guestbook with owner's replies implementation made into a library.
            tr
                td justcaptcha
                td 2.0.2 (6 May 2023)
                td Go
                td MIT
                td
                    a(href=git_site+'/Arav/justcaptcha') source
            tr
                td(colspan='5')
                    p A simple CAPTCHA implementation that can work as a standalone service or as a library.
            tr
                td kwh-cost
                td 1.0.0 (24 December 2021)
                td C
                td MIT+NIGGER
                td
                    a(href=git_site+'/Arav/kwh-cost') source
            tr
                td(colspan='5')
                    p KWh cost calculator in C.
            tr
                td httpprocprobed
                td 2.0.1 (4 February 2023)
                td Go
                td MIT+NIGGER
                td
                    a(href=git_site+'/Arav/httpprocprobed') source
            tr
                td(colspan='5')
                    p It returns a list of processes and if they are running in a JSON, XML or plain text format via HTTP GET request on /processes endpoint. Under the hood it searches a /proc/ directory. It is being used on about page to show wether service's running or not.
            tr
                td ScrapTheChan
                td 0.5.0 (3 May 2021)
                td Python
                td MIT
                td
                    a(href=git_site+'/Arav/ScrapTheChan') source
                    | 
                    a(href=git_site+'/Arav/ScrapTheChan/releases') releases
            tr
                td(colspan='5')
                    p Imageboards file scraper using theirs JSON API. Currently supported: 4chan.org, lainchan.org, 2ch.hk and 8kun.top.
            tr
                td OpenNIC active domains extraction script
                td 10 July 2020
                td Bash
                td MIT
                td
                    a(href=git_site+'/Arav/opennic-extract-domains') source
            tr
                td(colspan='5')
                    p Bash script for BIND9 that extracts domains from zone files of OpenNIC and forms a list of domains that have an IP-address.
            tr
                td PiggyBank
                td 1.0.0 (8 July 2020)
                td Python
                td MIT
                td
                    a(href=git_site+'/Arav/PiggyBank') source
                    | 
                    a(href=git_site+'/Arav/PiggyBank/releases') releases
            tr
                td(colspan='5')
                    p A program to help you to keep track of your piggy bank.
    section#music
        h2 Music
        p There was a period in my life when I was playing with audio sequencers. I lost all project files and only 3 tracks survived in mp3 that #[a(href=files_site+"/music/My%20tracks,%20that%20survived/") you can get here].