↓ Skip to Main Content

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

Main Navigation

  • Home
Home › Archive for Programming

Category: Programming

Gettext translations

By Vratislav Hutsky Posted on 29. 12. 2015 Posted in Programming, Web-related

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 »

Tagged with: php, shell, web

Yii CRUD generator and plural forms

By Vratislav Hutsky Posted on 7. 2. 2015 Posted in Programming, Web-related

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 »

Tagged with: framework, php, yii

Check the WordPress version of several sites at once

By Vratislav Hutsky Posted on 2. 1. 2015 Posted in Programming, Web-related

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 »

Tagged with: perl, web, wordpress

Grep result to a shell variable – no line breaks

By admin Posted on 3. 12. 2014 Posted in Programming

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 »

Tagged with: linux, shell, web

Subdirectory Checkout with git sparse-checkout

By Vratislav Hutsky Posted on 18. 9. 2014 Posted in Programming

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 »

Tagged with: git

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 No Comments

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 »

Tagged with: python, windows

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

By admin Posted on 26. 3. 2011 Posted in Programming, Web-related No Comments

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 »

Tagged with: mysql, php

Kohana php framework – part 1.

By admin Posted on 26. 1. 2010 Posted in Programming No Comments

Learning a framework seems to be inevitable.

Read more ›

Tagged with: framework, kohana, php

About me

linkedinMy name is Vratislav Hutsky. I work as Associate Manager at Red Hat. Before that, I was a freelance server admin and developer for quite a few years.

Categories

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

Other links

  • atomicbee.cz
  • github

Tags

ajax apache awk browser centos css debian desktop dosbox 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 wordpress yii
© 2021 [Vratislav].[Hut][Sky].[Net] | Powered by Responsive Theme