Main repository for's blog. Peek at our shitty source code!

Jay 208f279cb6 Alec Baldiwn For Prison 2 weeks ago
_includes 6d5de9c6da testing something3 3 weeks ago
_layouts f1bebb92f4 fix ascii 4 months ago
_sass dd3841a6d1 at least make it look more like code 3 weeks ago
assets 971b3fcd63 testing something4 3 weeks ago
blog 208f279cb6 Alec Baldiwn For Prison 2 weeks ago
dev 7a05d451f4 i give up. 3 weeks ago
pbx 7c35f17d39 bleh 3 months ago e099f3b1d8 Try again. 5 months ago
Gemfile 3052e25c6d Initial Commit 5 months ago
Gemfile.lock 3052e25c6d Initial Commit 5 months ago dbfd22e7d1 update readme 4 months ago
_config.yml a808b7f88c update footer 3 weeks ago be9436dac5 not-so-static anymore 5 months ago 4b799d2039 more enhancements 5 months ago fd878dab10 testing again 3 weeks ago 7c35f17d39 bleh 3 months ago 9846e01c2e PHP Changes 5 months ago 0f8a0ce47a I make 100000 changes a day 5 months ago 0f8a0ce47a I make 100000 changes a day 5 months ago 9f4f6f4a5c testing something2 3 weeks ago ec60d32acd let's try that 5 months ago 0f8a0ce47a I make 100000 changes a day 5 months ago
placeholder.list 6d015ce062 backend development 4 months ago 4a26c256b2 remove that post 4 months ago
taglines.txt 9846e01c2e PHP Changes 5 months ago
tails.txt 6bb09f3edc Let's Do It Again! 5 months ago Jekyll source

This is the main repository for's website. All the posts and custom code Jekyll uses to build the site.

The site is automatically built when I push stuff to the repository.

The VyprVPN page in /pbx is not generated by Jekyll. This is actually run by a different bash script and not part of this repository.

Modifications To Theme

This uses jekyll-theme-console by b2a3e8 with a few modifications:

  • _sass/base.scss has list bulleting code removed
  • _sass/base.scss has had formatting changes (wider display, bigger text, more header sizes!)
  • assets/list.scss now contains the list bullet code
  • _includes/head.html modified to search for "list: bullet" in front matter
  • _includes/header.html modified to look for page titled "/git" to display non-relative URL.
  • _layouts: page and post html file have had title added using h1 tag
  • _layouts: default.html has * added to img-src CSP since hosts images

All other changes are made in the markdown. I broke CSS and most of my changes aren't working. Must fix sometime.

Organization Of Site

The concept of posts and pages the way they were with Wordpress are out the window. All posts are posts. All pages are posts.

I'm taking advantage of the fact I can make a folder, put a _posts folder under it, and Jekyll automatically categorizes those posts. This means there are three main types/categories of posts/pages:

  • /blog: all general blogging type posts
  • /pbx: all Asterisk related stuff
  • /dev: all development based stuff

Post images or external resources ARE NOT stored in this repository. You think I'm crazy?

Use of PHP

Despite being a static site generator; has usually had some form of random text line on it's pages since it's inception. To this effect I have specified permalinks on everything using a new format so Jekyll outputs .php files.

taglines.txt and tails.txt is not the same one used on the site. That one is stored externally and symlinked when the site is built.

Vypr Blacklist

Currently (as of 10-SEP-2022), I am providing a list of IP's from VyprVPN that are attcking SIP servers. This is NOT generated by Jekyll directly. It exists as chunks of files that are catted together with iptables output in the middle. This automatically updates every 4 hours via CRON and the githook reincludes this file every time the site is rebuilt. is a bash script becuase I'm lazy. It creates a file populated with front matter:


Post categories are determined by sub-folders automatically; in fact no posts exist in the default _posts folder for that reason. It also copies the file to the right spot based on what you tell it.

user@host:~/blogsite$ ./ blog Post Title Here

It's the blog category followed by the title. You don't have to enclose the title, the script automatically assumes every word after the first is the title.

Permalink is set to output .php extensions under /category/year/MON/day-title.php - modify how you need.