Released solr_pager 0.2.1, an feature update with improved first/last page navigation. Now they appear in result only when first/last page is not visible in generated paging list. This version can be found on http://devel.dob.sk/solr_pager, for more informations about how it works see this post.
Just released passwd_exp version 1.2.11 with small feature fix for email seding. Download here. passwd_exp is a highly customizable but easy to setup email password/account expiration notifier.
I’ve just published solr_pager a search component for Solr that should make paging easier. It’s main use should be by XSLT transformation (using XSLT writer), so one should not bother anymore with slow recursive XSLT hacks and only apply fast templates on paging list in search result. Initial version 0.2.0 can be found on http://devel.dob.sk/solr_pager. […]
I was dealing with problem how to remotely access subversion server in secure way. There are (as far i know) two basic ways to do this and I was not satisfied with neither of them, due to some security and hard-to-setup-or-maintain problems. So I have created my own way how to remotely access subversion repository […]
Simple solution for not-so-trivial problem of copying xml node with all its attributes, but without child nodes. Without the last condition, solution is easy, one would use <xsl:copy-of>, but with it things are a bit harder, you should do smt. like: <xsl:copy select=”.”> <!– this copies element name –> <xsl:copy-of select=”@*”/> <!– this copies all […]
Quick guide to use free and widelly accepted (week ago Microsoft added StartSSL certificates to known authorities !) SSL certificate on nginx webserver. create certificate on startssl.com download certificate (ssl.pem) and generated key (remove password from key using: openssl rsa -in ssl.key-pass -out ssl.key) download helper certificates (from http://www.startssl.com/certs/ (according to your class level, usually […]
Just released initial release of dmlquery tool, for doing DML queries on SQL database (or anything perl DBI abstraction layer can handle) via formated XML files. Very useful for XML pipelining. With this and XML/XSLT transformations you can do very powerful thinks, like whole ETL tools for extracting data from one source (database, web…), transform […]
If you are administering you own server, you may have already solving problem how to return to previous configuration, because now you have made some ‘important’ changes and this changes work perfect, but nothing else works 😉 And now you pray: ‘if i ever could return to my configuration done X days ago’. You can […]
In previous post I’ve tried to present my solution for solving max(count()) problem. The solution was slightly suboptimal and I’ve needed to speed it up a bit, because I’m using it now in some statistical calculations and every millisecond is important. This is original solution. CREATE VIEW data_view_source AS SELECT DISTINCT ON (dp_id) dp_id, ds_id […]
This is simple way how-to generate time table (list of consequencing timestamps, or timeline) in PostgreSQL. Nothing spectacular, but might help you ,when trying to do some time based statistical selects (can feel like OLAP :-)). Code: CREATE OR REPLACE FUNCTION gen_time_list( tim IN TIMESTAMP, tim_stop IN TIMESTAMP, step IN INT) RETURNS TABLE(ts1 TIMESTAMP, ts2 […]