Blog
Smugofile is born
2012 March 19 at 12:49 (12:49 PM) | categories: Smugofile | View CommentsSmugofile is a collection of scripts to create galleries for Blogofile from public SmugMug galleries. Smugofile galleries link images on SmugMug directly instead of downloading them. An example of a Smugofile gallery can be found here.
You can find more information in the download section.
W3C validator does not like css3
2012 February 20 at 22:15 (10:15 PM) | categories: www | View Comments
If you use a referer url
(http://jigsaw.w3.org/css-validator/check/referer) to the w3c
validator for your css3, the validator will tell you that you have a broken css.
This is because css3 is not a finished standard (from w3c point of view) and the
validator will assume that you use css 2.1 by default. I discovered this when I
added css3
media queries to my blogs css and the validation returned errors. However
you can force the w3c validator to validate css3 by appending
?profile=css3 to the referer url like this:
http://jigsaw.w3.org/css-validator/check/referer?profile=css3
Responsive Design and CSS3 Media Queries
2012 February 18 at 13:45 (01:45 PM) | categories: Inspiration | View CommentsToday I added responsive design to my little corner on the web. The idea with responsive design is to have a web page layout that changes with the screen size of the device the viewer is currently using to display the web page.
Do you want to see how it works? Well, the resize width of the web browser window you are using to browse this site and let it be narrower than the content and the sidebar (the sidebar contains the last 5 posts and the categories). You will now see that the sidebar is relocated to be just bellow the title banner of this web page.
Do you want to read more? A good starting point is this grate blog post by Dean Hume.
Sshguard needs a test run
2011 November 04 at 13:36 (01:36 PM) | categories: Sysadmin | View CommentsAfter posting about Fail2ban yester day I remembered that there is one more cool tool. The tool is Sshguard and is similar to Fail2ban. However, Sshguard is implemented in C and not a scripting language like Fail2ban (python). Sshguard also increases the ban time exponentially ... and that is nice.
I have not tested Sshguard yet but one of my friends highly recommends it.
Fail2ban is good stuff
2011 November 03 at 22:25 (10:25 PM) | categories: Sysadmin | View Comments
Fail2ban is a handy little script for
anyone who wants to protect them self from hackers brute force attacks.
Fail2ban scans log files like /var/log/pwdfail or
/var/log/apache/error_log and bans IP that makes too many password
failures. It updates firewall rules to reject the IP address. It works with SSH,
HTTP, FTP, Mail services etc.
Next Page ยป