Jay Taylor's notes

back to listing index

Blogging Platform for Hackers

[web search]
Original source (bionicspirit.com)
Tags: scala jekyll heroku bionicspirit.com
Clipped on: 2012-11-09

Blogging Platform for Hackers

Published: 05 Jan 2012

Image (Asset 1/4) alt=config.ru, line 73
---
def a_redirect_exists and redirect = CONFIG['redirects'].find{|x| path == x['from']}...end

  • internetwork solutions

    I think CDN solution also work similar to his as that is also a free DNS server.
    certified ethical hacker program in thailand

  • Luigi Montanez

    An alternative free CDN solution, which is also a free DNS service, is Cloudflare:

    http://www.cloudflare.com/

  • Alex N.

    @0db5aeb4cf9fc1e8e411a1d9eda82917:disqus - thanks, I had no idea about CloudFlare until now. I already activated it for this website and seems to be doing fine for now.

    It's also a complement to GAE. It isn't a traditional CDN, but more like a proxy which caches content and behaves like a CDN. This means that it is a complement to my current setup, saving me some bandwidth on GAE - we'll see how it goes.

  • Steven Seagal

    If you have to spend a lot of time on building from scratch you might as well go with nanoc, which I've found to be much more easily customized than Jekyll (but kind of a pain to setup).

  • Alex N.

    @c38290dee7d699f640f841989944babb:disqus I started out by just cloning an existing Jekyll website. See:
    https://github.com/mojombo/jek...

    (I never tried nanoc, I may still try it though)

  • Jon

    Nice, doesn't seem to offer much on top of using ikiwiki (.info)

    (PS your URL and email validators both need some work! auto-prefix http:// and accept ' ' as a valid character. In fact you have an XSS vector there, the round-trips to a space character)

  • Miguel Ping

    I highly recommend using octopress, a custom distro of jekyll that has some goodies configured, such as rake tasks to deploy and create new posts. Nice post though.

  • Alex N.

    Octopress is great, but customizing it (especially the default theme) takes as much effort as building from scratch on Jekyll. It's great though and I already mentioned it.

  • David Switch

    Nice hack, I hate to say this but if all I was doing is blogging Id pay the 3 dollars a month or whatever at hostgator and install wordpress :-)

  • Alex N.

    I am already paying $20 for a Linode instance. I did this for fun. I also like control and shared hosting doesn't hold a candle to this setup. 

  • Samuel

    You should try vim as well see http://vim.org/ great editor I switched to it when uni tried to make me use emacs which has way too many key to rem! hope this helps

  • Alex N.

    Both Vim and Emacs are great, it's just a matter of learning their capabilities and living with them. Both are much more productive the a stupid in-browser WYSIWYG textarea

  • 4 Stars
    • 14 comments

    Image (Asset 2/4) alt=
    Marc Ignacio 2 months ago
    • Note that using the provided rack config (config.ru) without using at least one redirects in _config.yml will result in a error. It took me a while to figure that out. I wrote something like this to fix that:

      ---
      config.ru, line 73
      ---
      def a_redirect_exists and redirect = CONFIG['redirects'].find{|x| path == x['from']}...end

        I think CDN solution also work similar to his as that is also a free DNS server.
        certified ethical hacker program in thailand

          An alternative free CDN solution, which is also a free DNS service, is Cloudflare:

          http://www.cloudflare.com/

        • If you have to spend a lot of time on building from scratch you might as well go with nanoc, which I've found to be much more easily customized than Jekyll (but kind of a pain to setup).