Posts
- nginx, ghost 0.3.3 and modsecurity
In my previous post, Ghost on Amazon EC2 without using sudo, I was proposing some way of running ghost without having to use sudo and with at least a minimal eye on security.
If you have followed one of the guides that I suggested, namely Dude Looks Like a Ghost, or you have installed your own modsecurity configuration you should have received a big page announcing an Error 403 right after the update of your ghost to version 0.3.3.
2 min read - Oct 18, 2013 - ghiOStSeven
Here we go. On github is finally available a new responsive ghost theme inspired by iOS7 look.
It is still a very preliminary version, a cleaning of the stylesheet and some additional tweaks are in progress.
In the next few days I will add a style for forms elements to look like they do in iOS7 and the social/rss icons on the boottom bar, aligned right.
In the meanwhile you can play with it (and may be pull some update for merging) going to github.com/mseri/ghiosSeven.
1 min read - Oct 10, 2013 - Save your battery life
Yesterday, by pure chance, I ended up reading an interview with a Li-Ion battery specialist. I was quite impressed (and scared) to hear that continuous full charge/discharege of the battery will ruin their life, and that is a best practice to plug it before it goes under 20% of the charge and unplug it when it reaches 80% charge.
I wanted to post a link to that source but in some way I cannot find it anymore. With google anyway I’ve found many trustable sources with suggestions on how to preserve the life of li-ion or li-ion polymer batteries. A short summary of their tips is listed below, I hope it can be of help to other people.
3 min read - Sep 29, 2013 - Ghost on Amazon EC2 without using sudo
I’ve been thinking since yesterday’s post how to run the ghost blog at the user level, wihout the need of using sudo.
# Use Nginx
In a production environment I would probably run ghos as a nginx subdomain (i.e. ghost.mseri.me), eventually forwarding the domain to the same address (e.g. typing mseri.me you would end up automatically in ghost.mseri.me). For this purpose you either know by hearth how to do it, or you can follow one of the many tutorial available online. I think this is a very neat and effective way of proceeding.
4 min read - Sep 24, 2013 - Ghost up and running on Amazon EC2
I had my free Amazon EC2 instance waiting for this moment since my last use of it.
I spent my few free hours setting up a decent (I hope) theme for Ghost, and reading around what to do and what not to do to have it up and running. My main reference was the nice blog post How to set up an Amazon EC2 instance to host ghost for free.
I followed more or less all the steps suggested in the guide but there was still something missing: I wanted my Ghost blog to be running even when I am not logged in the EC2 instance.
2 min read - Sep 23, 2013 - Welcome to Ghost
Update: this site is now statically served using Pelican. I had problems with my VPS provider and finally decided to simplify the management and opted for a statically generated website. Ghost was very light and did well its job, if I had a multi-user environment I would be sticking with it. I still keep all the content from the previous blog, including this post.
That’s just the welcome post of a succesful ghost installation. I like to keep it and have a look of what one can do with Markdown.
3 min read - Sep 22, 2013