Welcome to my site!
+I am Balakrishnan Balasubramanian (a) balki. Nothing much here. +Checkout the nav bar above for interesting stuff.
+diff --git a/.gitignore b/.gitignore deleted file mode 100644 index ddc7384..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/dist -/build diff --git a/build/index-content.html b/build/index-content.html new file mode 100644 index 0000000..643519b --- /dev/null +++ b/build/index-content.html @@ -0,0 +1,3 @@ +
Welcome to my site!
+I am Balakrishnan Balasubramanian (a) balki. Nothing much here. +Checkout the nav bar above for interesting stuff.
diff --git a/build/index.html b/build/index.html new file mode 100644 index 0000000..270e0b5 --- /dev/null +++ b/build/index.html @@ -0,0 +1,38 @@ + + + + + + + + +Welcome to my site!
+I am Balakrishnan Balasubramanian (a) balki. Nothing much here. +Checkout the nav bar above for interesting stuff.
+Simple python script to see diff off two directories with diff of
+each file in a vim tab. Typically used to replace
+git difftool
Project | +vimtabdiff | +
Tags | +#python, #vim, #git | +
Github | +https://github.com/balki/vimtabdiff | +
Gitea | +https://gitea.balki.me/balki/vimtabdiff | +
Telegram bot to manage lists.
+Project | +grocery_guy | +
Tags | +#golang, #telegram | +
Gitea | +https://gitea.balki.me/balki/telegram-chklistbot | +
Telegram | +https://t.me/grocery_guy_bot | +
Simple python script to see diff off two directories with diff of
+each file in a vim tab. Typically used to replace
+git difftool
Project | +vimtabdiff | +
Tags | +#python, #vim, #git | +
Github | +https://github.com/balki/vimtabdiff | +
Gitea | +https://gitea.balki.me/balki/vimtabdiff | +
Telegram bot to manage lists.
+Project | +grocery_guy | +
Tags | +#golang, #telegram | +
Gitea | +https://gitea.balki.me/balki/telegram-chklistbot | +
Telegram | +https://t.me/grocery_guy_bot | +
Welcome to my site!
+I am Balakrishnan Balasubramanian (a) balki. Nothing much here. +Checkout the nav bar above for interesting stuff.
+Simple python script to see diff off two directories with diff of
+each file in a vim tab. Typically used to replace
+git difftool
Project | +vimtabdiff | +
Tags | +#python, #vim, #git | +
Github | +https://github.com/balki/vimtabdiff | +
Gitea | +https://gitea.balki.me/balki/vimtabdiff | +
Telegram bot to manage lists.
+Project | +grocery_guy | +
Tags | +#golang, #telegram | +
Gitea | +https://gitea.balki.me/balki/telegram-chklistbot | +
Telegram | +https://t.me/grocery_guy_bot | +
barf
barf is a minimal and suckless-inspired blog generator. It is a tweaked and slightly patched version of Karl Bartel's fantastic blog.sh.
+This project was created by me, Bradley Taunt, out of frustration with overly complex and bloated blogging options. I tried so many "minimal" generators but each one ended up having some glaring issue or heavy reliance on dependencies.
+I wanted to have a system that I could easily replicate on any Linux machine. Something that didn't require me to download half the internet just to get up and running. I'm a sucker for keeping things simple.
+ \ No newline at end of file diff --git a/wtmp/barf/build/atom.xml b/wtmp/barf/build/atom.xml new file mode 100644 index 0000000..8fbf9fd --- /dev/null +++ b/wtmp/barf/build/atom.xml @@ -0,0 +1,294 @@ + +2023-03-07
+The default barf
site generator now supports basic dark mode functionality. This has been achieved by including the standard color-scheme
meta tag in the core header.html
file:
<meta name="color-scheme" content="dark light">
+
+This change also ships with some minor updates to the default blockquote
design. You can see an example below:
+This is a really cool blockquote
+
Unfortunately, Safari still has minor ahref
/ link color issue when defaulting to browser dark mode. If this is a problem for your own build of barf
, take a look at a solution I wrote about here.
Personally, I can't be bothered to add that extra code to this project. The Safari team needs to get their shit together and fix such a simple bug. Plus, you shouldn't be using Safari anyway - it's proprietary garbage.
+ \ No newline at end of file diff --git a/wtmp/barf/build/index.html b/wtmp/barf/build/index.html new file mode 100644 index 0000000..b29d427 --- /dev/null +++ b/wtmp/barf/build/index.html @@ -0,0 +1,138 @@ + + + + + + + +barf is an extremely minimal blog generator.
+The entire build script is less than 100 lines of shell.
+It could almost be called "suckless", but probably isn't. It was created for those focused on writing, not tinkering.
+You can learn more by reading the official README.
+You can also view the generated Atom feed here
++barf
+Blogs Are Really Fun
+
barf
on MacOS2023-01-18
+The barf
project was built on Linux and was catered towards Linux users. The core of the project will remain focused on Linux/GNU tools, but that doesn't mean MacOS needs to be left out in the cold.
There are some very minor changes you'll need to make in the main barf
script if you plan to run it on MacOS.
This walkthrough assumes that you already have homebrew installed on your machine.
+You will need to install the GNU versions of both date
and sed
in order to avoid breaking things when barf
tries to build.
brew install coreutils
+brew install gnu-sed
+
+Now open the main barf
file in your project and replace all instances of sed
with gsed
.
Then change the following variable:
+published_date=$(date -d $basic_date +%FT%TZ)
+
+to this:
+published_date=$(gdate -d $basic_date +%FT%TZ)
+
+After that everything should work perfectly fine. There is probably a cleaner way to do this, but I like to keep things simple.
+ \ No newline at end of file diff --git a/wtmp/barf/build/markdown-examples/index.html b/wtmp/barf/build/markdown-examples/index.html new file mode 100644 index 0000000..d98d063 --- /dev/null +++ b/wtmp/barf/build/markdown-examples/index.html @@ -0,0 +1,358 @@ + + + + + + + +2023-01-05
+This following was lifted from https://github.com/karlb/smu
+smu
Syntaxsmu was started as a rewrite of +markdown but became something +more lightweight and consistent. It differs from CommonMark in the following ways:
+<hr>
) must use - - -
as syntaxPatches that increase the CommonMark compatibility are welcome as long as they don't increase the code complexity significantly.
+This project is a fork of the original smu by +Enno Boland (gottox). The main differences to the +original smu are:
+There are several patterns you can use to highlight your text:
+Emphasis
+ +*
or _
to get emphasised text:
+This *is* cool.
+This _is_ cool, too.
+
+**
or __
to get strong text:
+This **is** cool.
+This __is__ cool, too.
+
+***
or ___
to get strong and emphasised text:
+This ***is*** cool.
+This ___is___ cool, too.
+
+***Hello** you*
+
+This is a wontfix bug because it would make the source too complex. +Use this instead: +
+***Hello*** *you*
+
+inline Code
+You can produce inline code by surrounding it with backticks.
+Use `rm -rf /` if you're a N00b.
+Use ``rm -rf /`` if you're a N00b.
+Use ```rm -rf /``` if you're a N00b.
+
+Double and triple backticks can be used if the code itself contains backticks.
+Creating titles in smu is very easy. There are two different syntax styles. The +first is underlining with at least three characters:
+Heading
+=======
+
+Topic
+-----
+
+This is very intuitive and self explaining. The resulting sourcecode looks like +this:
+<h1>Heading</h1>
+<h2>Topic</h2>
+
+Use the following prefixes if you don't like underlining:
+# h1
+## h2
+### h3
+#### h4
+##### h5
+###### h6
+
+The simplest way to define a link is with simple <>
.
<http://s01.de>
+
+You can do the same for E-Mail addresses:
+<yourname@s01.de>
+
+If you want to define a label for the url, you have to use a different syntax
+[smu - simple mark up](http://s01.de/~gottox/index.cgi/proj_smu)
+
+The resulting HTML-Code
+<a href="http://s01.de/~gottox/index.cgi/proj_smu">smu - simple mark up</a></p>
+
+Defining lists is very straightforward:
+* Item 1
+* Item 2
+* Item 3
+
+Result:
+<ul>
+<li>Item 1</li>
+<li>Item 2</li>
+<li>Item 3</li>
+</ul>
+
+Defining ordered lists is also very easy:
+1. Item 1
+2. Item 2
+3. Item 3
+
+Only the first number in a list is meaningful. All following list items are +continously counted. If you want a list starting at 2, you could write:
+2. Item 1
+2. Item 2
+2. Item 3
+
+and get the following HTML which will render with the numbers 2, 3, 4:
+<ol start="2">
+<li>Item 1</li>
+<li>Item 2</li>
+<li>Item 3</li>
+</ol>
+
+Use the >
as a line prefix for defining blockquotes. Blockquotes are
+interpreted as well. This makes it possible to embed links, headings and even
+other quotes into a quote:
> Hello
+> This is a quote with a [link](http://s01.de/~gottox)
+
+Result: +
+<blockquote><p>
+Hello
+This is a quote with a <a href="http://s01.de/~gottox">link</a></p>
+</blockquote>
+
+You can define a code block with a leading Tab or with 4 leading spaces
+ this.is(code)
+
+ this.is(code, too)
+
+Result: +
+<pre><code>this.is(code)</code></pre>
+<pre><code>this.is(code, too)
+</code></pre>
+
+Please note that you can't use HTML or smu syntax in a code block.
+Another way to write code blocks is to use code fences:
+```json
+{"some": "code"}
+```
+
+This has two advantages:
+ +language-
class nameTables can be generated with the following syntax:
+| Heading1 | Heading2 |
+| -------- | -------- |
+| Cell 1 | Cell2 |
+
+Aligning the columns make the input nicer to read, but is not necessary to get +correct table output. You could just write
+| Heading1 | Heading2 |
+| --- | --- |
+| Cell 1 | Cell2 |
+
+To align the content of table cells, use |:--|
for left, |--:|
for right
+and |:--:|
for centered alignment in the row which separates the header from
+the table body.
| Heading1 | Heading2 | Heading3 |
+| :------- | :------: | -------: |
+| Left | Center | Right |
+
+to insert a horizontal rule simple add - - -
into an empty line:
Hello
+- - -
+Hello2
+
+Result: +
+<p>
+Hello
+<hr />
+
+Hello2</p>
+
+Any ASCII punctuation character may escaped by precedeing them with a +backslash to avoid them being interpreted:
+!"#$%&'()*+,-./:;<=>?@[]^_`{|}~\
+
+To force a linebreak simple add two spaces to the end of the line:
+No linebreak
+here.
+But here is
+one.
+
+You can include arbitrary HTML code in your documents. The HTML will be
+passed through to the resulting document without modification. This is a good
+way to work around features that are missing in smu. If you don't want this
+behaviour, use the -n
flag when executing smu to stricly escape the HTML
+tags.
barf
Send an email to brad [at] bt [dot] ht if you would like me to add your barf-generated website to this list.
+ + \ No newline at end of file diff --git a/wtmp/barf/footer.html b/wtmp/barf/footer.html new file mode 100644 index 0000000..3e9fa2a --- /dev/null +++ b/wtmp/barf/footer.html @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/wtmp/barf/header.html b/wtmp/barf/header.html new file mode 100644 index 0000000..fcd6c4d --- /dev/null +++ b/wtmp/barf/header.html @@ -0,0 +1,118 @@ + + + + + + + ++ + +You can define a code block with a leading Tab or with __4__ leading spaces + + this.is(code) + + this.is(code, too) + +Result: ++ Hello + This is a quote with a link
+
this.is(code)
+ this.is(code, too)
+
+
+Please note that you can't use HTML or smu syntax in a code block.
+
+Another way to write code blocks is to use code fences:
+
+ ```json
+ {"some": "code"}
+ ```
+
+This has two advantages:
+* The optional language identifier will be turned into a `language-` class name
+* You can keep the original indentation which helps when doing copy & paste
+
+Tables
+------
+
+Tables can be generated with the following syntax:
+
+ | Heading1 | Heading2 |
+ | -------- | -------- |
+ | Cell 1 | Cell2 |
+
+Aligning the columns make the input nicer to read, but is not necessary to get
+correct table output. You could just write
+
+ | Heading1 | Heading2 |
+ | --- | --- |
+ | Cell 1 | Cell2 |
+
+To align the content of table cells, use `|:--|` for left, `|--:|` for right
+and `|:--:|` for centered alignment in the row which separates the header from
+the table body.
+
+ | Heading1 | Heading2 | Heading3 |
+ | :------- | :------: | -------: |
+ | Left | Center | Right |
+
+Other interesting stuff
+-----------------------
+
+* to insert a horizontal rule simple add `- - -` into an empty line:
+
+ Hello
+ - - -
+ Hello2
+
+ Result:
+ + Hello +
This is a para
+ bye!! diff --git a/wtmp/filter.sh b/wtmp/filter.sh new file mode 100644 index 0000000..a79cde3 --- /dev/null +++ b/wtmp/filter.sh @@ -0,0 +1,4 @@ +#!/usr/bin/bash + + +tee tmp.json diff --git a/wtmp/hugo.log b/wtmp/hugo.log new file mode 100644 index 0000000..e69de29 diff --git a/wtmp/tmp.json b/wtmp/tmp.json new file mode 100644 index 0000000..22446ca --- /dev/null +++ b/wtmp/tmp.json @@ -0,0 +1 @@ +{"pandoc-api-version":[1,23],"meta":{},"blocks":[{"t":"Header","c":[1,["some-cool-stuff-i-built",[],[]],[{"t":"Str","c":"Some"},{"t":"Space"},{"t":"Str","c":"cool"},{"t":"Space"},{"t":"Str","c":"stuff"},{"t":"Space"},{"t":"Str","c":"I"},{"t":"Space"},{"t":"Str","c":"built"}]]},{"t":"Header","c":[2,["vimtabdiff",[],[]],[{"t":"Str","c":"vimtabdiff"}]]},{"t":"Para","c":[{"t":"Str","c":"Simple"},{"t":"Space"},{"t":"Str","c":"python"},{"t":"Space"},{"t":"Str","c":"script"},{"t":"Space"},{"t":"Str","c":"to"},{"t":"Space"},{"t":"Str","c":"see"},{"t":"Space"},{"t":"Str","c":"diff"},{"t":"Space"},{"t":"Str","c":"off"},{"t":"Space"},{"t":"Str","c":"two"},{"t":"Space"},{"t":"Str","c":"directories"},{"t":"Space"},{"t":"Str","c":"with"},{"t":"Space"},{"t":"Str","c":"diff"},{"t":"Space"},{"t":"Str","c":"of"},{"t":"Space"},{"t":"Str","c":"each"},{"t":"Space"},{"t":"Str","c":"file"},{"t":"Space"},{"t":"Str","c":"in"},{"t":"Space"},{"t":"Str","c":"a"},{"t":"Space"},{"t":"Str","c":"vim"},{"t":"Space"},{"t":"Str","c":"tab."},{"t":"Space"},{"t":"Str","c":"Typically"},{"t":"Space"},{"t":"Str","c":"used"},{"t":"Space"},{"t":"Str","c":"to"},{"t":"Space"},{"t":"Str","c":"replace"},{"t":"Space"},{"t":"Code","c":[["",[],[]],"git difftool"]}]},{"t":"Div","c":[["",["table"],[]],[{"t":"Table","c":[["",[],[]],[null,[]],[[{"t":"AlignDefault"},{"t":"ColWidth","c":0.1388888888888889}],[{"t":"AlignDefault"},{"t":"ColWidth","c":0.6111111111111112}]],[["",[],[]],[]],[[["",[],[]],0,[],[[["",[],[]],[[["",[],[]],{"t":"AlignDefault"},1,1,[{"t":"Plain","c":[{"t":"Str","c":"Project"}]}]],[["",[],[]],{"t":"AlignDefault"},1,1,[{"t":"Plain","c":[{"t":"Str","c":"vimtabdiff"}]}]]]],[["",[],[]],[[["",[],[]],{"t":"AlignDefault"},1,1,[{"t":"Plain","c":[{"t":"Str","c":"Tags"}]}]],[["",[],[]],{"t":"AlignDefault"},1,1,[{"t":"Plain","c":[{"t":"Str","c":"#python,"},{"t":"Space"},{"t":"Str","c":"#vim,"},{"t":"Space"},{"t":"Str","c":"#git"}]}]]]],[["",[],[]],[[["",[],[]],{"t":"AlignDefault"},1,1,[{"t":"Plain","c":[{"t":"Str","c":"Github"}]}]],[["",[],[]],{"t":"AlignDefault"},1,1,[{"t":"Plain","c":[{"t":"Link","c":[["",["uri"],[]],[{"t":"Str","c":"https://github.com/balki/vimtabdiff"}],["https://github.com/balki/vimtabdiff",""]]}]}]]]],[["",[],[]],[[["",[],[]],{"t":"AlignDefault"},1,1,[{"t":"Plain","c":[{"t":"Str","c":"Gitea"}]}]],[["",[],[]],{"t":"AlignDefault"},1,1,[{"t":"Plain","c":[{"t":"Link","c":[["",["uri"],[]],[{"t":"Str","c":"https://gitea.balki.me/balki/vimtabdiff"}],["https://gitea.balki.me/balki/vimtabdiff",""]]}]}]]]]]]],[["",[],[]],[]]]}]]},{"t":"Header","c":[2,["grocery_guy",[],[]],[{"t":"Str","c":"grocery_guy"}]]},{"t":"Para","c":[{"t":"Str","c":"Telegram"},{"t":"Space"},{"t":"Str","c":"bot"},{"t":"Space"},{"t":"Str","c":"to"},{"t":"Space"},{"t":"Str","c":"manage"},{"t":"Space"},{"t":"Str","c":"lists."}]},{"t":"Div","c":[["",["table"],[]],[{"t":"Table","c":[["",[],[]],[null,[]],[[{"t":"AlignDefault"},{"t":"ColWidth","c":0.1527777777777778}],[{"t":"AlignDefault"},{"t":"ColWidth","c":0.7361111111111112}]],[["",[],[]],[]],[[["",[],[]],0,[],[[["",[],[]],[[["",[],[]],{"t":"AlignDefault"},1,1,[{"t":"Plain","c":[{"t":"Str","c":"Project"}]}]],[["",[],[]],{"t":"AlignDefault"},1,1,[{"t":"Plain","c":[{"t":"Str","c":"grocery_guy"}]}]]]],[["",[],[]],[[["",[],[]],{"t":"AlignDefault"},1,1,[{"t":"Plain","c":[{"t":"Str","c":"Tags"}]}]],[["",[],[]],{"t":"AlignDefault"},1,1,[{"t":"Plain","c":[{"t":"Str","c":"#golang,"},{"t":"Space"},{"t":"Str","c":"#telegram"}]}]]]],[["",[],[]],[[["",[],[]],{"t":"AlignDefault"},1,1,[{"t":"Plain","c":[{"t":"Str","c":"Gitea"}]}]],[["",[],[]],{"t":"AlignDefault"},1,1,[{"t":"Plain","c":[{"t":"Link","c":[["",["uri"],[]],[{"t":"Str","c":"https://gitea.balki.me/balki/telegram-chklistbot"}],["https://gitea.balki.me/balki/telegram-chklistbot",""]]}]}]]]],[["",[],[]],[[["",[],[]],{"t":"AlignDefault"},1,1,[{"t":"Plain","c":[{"t":"Str","c":"Telegram"}]}]],[["",[],[]],{"t":"AlignDefault"},1,1,[{"t":"Plain","c":[{"t":"Link","c":[["",["uri"],[]],[{"t":"Str","c":"https://t.me/grocery_guy_bot"}],["https://t.me/grocery_guy_bot",""]]}]}]]]]]]],[["",[],[]],[]]]}]]}]} \ No newline at end of file diff --git a/wtmp/trace.log b/wtmp/trace.log new file mode 100644 index 0000000..259bb0f Binary files /dev/null and b/wtmp/trace.log differ