↓ Skip to Main Content

[Vratislav].[Hut][Sky].[Net]

Main Navigation

  • Home

Category: Programming

Gettext translations

By Vratislav Hutsky Posted on 29. 12. 2015 Posted in Programming, Web-related Tagged with php, shell, web

Gettext is a great way to localize and internationalize (simply put, to translate) your (web)applications. It’s especially useful when you’re building a multi-language application because you can separate the code from the translation process effectively. all strings that need to …

Gettext translations Read more »

Yii CRUD generator and plural forms

By Vratislav Hutsky Posted on 7. 2. 2015 Posted in Programming, Web-related Tagged with framework, php, yii

Yii framework has a really nice CRUD generator that can speed up building back-end applications, which tend to be rather similar and therefore repetitive. If you prepare reasonable taxonomy of the underlying database tables, it also manages the page headers …

Yii CRUD generator and plural forms Read more »

Check the WordPress version of several sites at once

By Vratislav Hutsky Posted on 2. 1. 2015 Posted in Programming, Web-related Tagged with perl, web, wordpress

I’ve got this blog of mine where I log in every now and then, so whenever there is a new version of WordPress, I see the update reminder message. There is, however, over a dozen other blogs under my wings …

Check the WordPress version of several sites at once Read more »

Grep result to a shell variable – no line breaks

By admin Posted on 3. 12. 2014 Posted in Programming Tagged with linux, shell, web

There was this website containing regularly updated content I wanted to follow. Unfortunately, they had no RSS feed available and I didn’t feel like checking on the website every now and then. Also, what I needed was just the posts …

Grep result to a shell variable – no line breaks Read more »

Subdirectory Checkout with git sparse-checkout

By Vratislav Hutsky Posted on 18. 9. 2014 Posted in Programming Tagged with git

It’s very convenient, even necessary, to use a version control system, e.g. CVS or Git. One can go back in history and easily trace the changes (especially) when something goes wrong. Git, being a distributed system, can be used to …

Subdirectory Checkout with git sparse-checkout Read more »

Git – show all files modified between two commits

By Vratislav Hutsky Posted on 11. 4. 2014 Posted in Programming

It’s always best to commit your work only once it’s done. Sometimes the changes span over days or weeks and this is where stashing comes useful. Sometimes, however, I start work at the office and then I want to go …

Git – show all files modified between two commits Read more »

Python os.sytem() and Windows Program Files directory

By admin Posted on 2. 4. 2011 Posted in Operating systems, Programming Tagged with python, windows

I ran across a problem when trying to run a program located in “Program Files” directory from within a Python application using os.system(). It was obvious that the problem was caused by the space character in the name of the …

Python os.sytem() and Windows Program Files directory Read more »

MySql – get names of columns and put them in an array

By admin Posted on 26. 3. 2011 Posted in Programming, Web-related Tagged with mysql, php

Sometimes I need to get all the names of the columns in an sql table, most often to use the names of the columns as names of variables as it’s easier to use than simple $row[1], $row[2], etc. Let’s take …

MySql – get names of columns and put them in an array Read more »

Kohana php framework – part 1.

By admin Posted on 26. 1. 2010 Posted in Programming Tagged with framework, kohana, php

Learning a framework seems to be inevitable.

Read more ›

About me

linkedinMy name is Vratislav Hutsky. I work as Senior Manager at Red Hat. Before that, I was a freelance server admin and developer.

Categories

  • Games (7)
  • General thoughts (13)
  • Hardware (9)
  • jQuery (3)
  • Mobile web (1)
  • Operating systems (34)
  • Programming (9)
  • Web-related (9)

Other links

  • atomicbee.cz
  • github
  • Mastodon

Tags

ajax apache awk browser centos css debian desktop dosbox email ERP framework games git gnome hardware html javascript jQuery kohana kvm ldap linux LXDE mate Mobile web mysql NAS networking nginx opensolaris OS perl php postgresql python remote desktop RHEL rpg shell ubuntu vim web windows yii
Copyright © 2025 [Vratislav].[Hut][Sky].[Net] | Powered by Responsive Theme