Hackvalue - Tales from the trenches of specialized web hosting and development
Hackvalue is the corporate blog of Loco, a company that does lots of
interesting stuff gravitating around Free and Open Source software and
licensing, web development, and anything else that we find
interesting.
In this particular part of the blog all content is English,
but if you have no problems reading Dutch, then the Dutch part of this blog might also be interesting for
you. It caters to a slightly different crowd.
If you're wondering why we use
the name Hackvalue, please read the FAQ.
Digging deeper into AWstats
Tags: administration, awstats, web, webdevelopment
Armijn Hemel, January 21, 2011, 3086 views.
AWstats is a popular program to analyze logfiles. The AWstats files themselves are neat little databases from which you can extract a wealth of information.
Finding out what hardware is in a box with lshw
Tags: administration, hardware, linux
Joor Loohuis, January 4, 2011, 3249 views.
Sometimes you need to know what hardware is in a system, but you don't have specs, or you don't have access to the system. Being able to extract this information directly from the system would then be extremely useful, and this is exactly what lshw does.
Requesting remote JSON or XML from a Smarty template
Tags: JSON, PHP, smarty, webdevelopment, XML
Joor Loohuis, December 19, 2010, 2330 views.
Occasionally it is necessary to get data from another domain to display on a webpage. Using Smarty templates it is very easy to fetch and display remote data in JSON or XML format.
Adding sequences in phpPgAdmin
Tags: administration, postgresql
Armijn Hemel, November 15, 2010, 2934 views.
PostgreSQL is a very powerful database engine. A helpful tool for managing PostgreSQL databases is phpPgAdmin. Although it is a good tool some things are a bit quirky.
Static assignment of arrays in Smarty templates
Tags: development, PHP, smarty, web, webdevelopment
Joor Loohuis, November 13, 2010, 2474 views.
Occasionally, you need to fill an array with values for use in a Smarty template without explicitly assigning it in your PHP code. Here are some tricks for creating arrays directly in a template.