Why blogging

Why blogging at all? IT knowledge is so wide and wast

  • there is no chance I could remember all of it. Often it happens I learn something and the skill is not used later for longer time. If had not written it down, I would have forgotten it. So I developed some ways of storing the information. Starting with plain files, spread over my Oracle Virtualbox VM. Then I peeked my friend taking notes in the Google Docs. It had file versioning, rich format cabapilities. It could be even shared among friends. I started taking notes there as well. But sharing among friends is not enough I wanted to share most of them publicly.

Considering above I moved to blogging instead, and choose Blogspot as my platform. I created a couple of posts during over a year but soon I discovered this is not my choice. Blogspot was too heavy for me, too slow, too stiff. I could not breath. And despite I usually like Google products (it is owned by Google) I did not like Blogspot at all.

Recently I have found Jekyll, it is static website rendered from text templates. Posts can be written in markdown or textile. Both formats are good enough for me, allow for rich format and media sharing. The content is under git (actually github) version control. Looks like it is the solution I was looking for. Geekish enough, easy to edit, I can take the whole site with me and a single git push is enough to publish my changes.

Jekyll

Markdown syntax is simpler than HTML and Jekyll supports it out of the box. There are myriad extensions for other formats as well including Textile.

Jekyll also offers powerful support for code snippets:

from sgmllib import SGMLParser

class URLLister(SGMLParser):
	def reset(self):
		SGMLParser.reset(self)
		self.urls = []

	def start_a(self, attrs):
		href = [v for k, v in attrs if k=='href']
		if href:
			self.urls.extend(href)

Check out the Jekyll docs for more info on how to get the most out of Jekyll. File all bugs/feature requests at Jekyll’s GitHub repo. If you have questions, you can ask them on Jekyll’s dedicated Help repository.

  1. Jekyll can be also deployed directly to S3.
  2. Jekyll multiple languages
  3. Jekyll Themes
  4. Jekyll News
  5. Collections: Baleter’s introduction and original Jekyll’s docs on collections.

Liquid

Some day I discovered Flask and its Jinja templates. And this was a great template system for the web.

Later on, when I found Jekyll and its template system – Liquid, it came to me, they (Liquid-Jinja) are similar in syntax.

Posts in Polish:

  1. Opony motocyklowe

  2. Lód i mikst góry książki

  3. Miejsce przy stole góry książki

  4. Wspinanie climbing góry

  5. Czerwone Wierchy

  6. Nostalgia

  7. Złapałem gumę przygody

  8. Ogon Smoka

  9. Synchronizacja Gaźników

  10. Motocykl moto

Sass

Sass is an extension to CSS, a preprocessor which allows to use variables, nesting, arithmetic operators. It also allows to share a set of CSS properties from one selector to another (@extend). Here is Sass Reference.

CoffeeScript

Markdown

  1. Markdown Syntax
  2. Python Markdown Extensions
  3. PHP Markdown Extensions
  4. pandoc Markdown Extension - versatile unix tool to convert between text formats.
  5. Textile Syntax