Posted: September 2nd, 2010 | Author: Michal Holub | Filed under: Uncategorized | No Comments »
//php if ($i % 3 == 0) adsensem_ad('main'); ?>
I’m using cross-domain concept for two applications both written in different backends.
I ran across a problem where application A serializes certain classes to session and application B needs to access some information from those serialized classes.
Read the rest of this entry »
Posted: July 28th, 2010 | Author: Michal Holub | Filed under: goodies | No Comments »
//php if ($i % 3 == 0) adsensem_ad('main'); ?>
I’m sure you’ll find reviews on many different web prototyping tools out there, but a review is not what I want.
My path to FlairBuilder looks sort of like this…
Read the rest of this entry »
Posted: July 27th, 2010 | Author: Michal Holub | Filed under: bash, linux, oneliners | No Comments »
//php if ($i % 3 == 0) adsensem_ad('main'); ?>
find /usr/local/hrm/cache* -mtime +x -exec rm {} \;
Posted: July 23rd, 2010 | Author: Michal Holub | Filed under: Uncategorized | No Comments »
//php if ($i % 3 == 0) adsensem_ad('main'); ?>
List of tools I wouldn’t survive development on daily basis…for Windows only. I’ll skip the obvious ones and go to less known pieces.
Read the rest of this entry »
Posted: July 22nd, 2010 | Author: Michal Holub | Filed under: bash, linux, oneliners | No Comments »
//php if ($i % 3 == 0) adsensem_ad('main'); ?>
Another oneliner…
du -s ./* | sort -n| cut -f 2-|xargs -i du -sh {}
Posted: July 21st, 2010 | Author: Michal Holub | Filed under: nette, php | 1 Comment »
//php if ($i % 3 == 0) adsensem_ad('main'); ?>
For a portal project we needed some way of sharing session data between different domains. Session id is typically stored in a cookie. To put it generic, we need to be able to have a cookie that’s accessible to different domains.
Read the rest of this entry »
Posted: July 21st, 2010 | Author: Michal Holub | Filed under: bash, linux, oneliners | No Comments »
//php if ($i % 3 == 0) adsensem_ad('main'); ?>
Simple tip, if tar and others refuse to do the job giving out Argument list too long, try find instead…
find -name '*' -exec tar -cvf doc.tgz {} \;
Will tar everything in the current directory. If that fails try to save the files in a filelist
find -name '*' -print > fileList.txt && tar czvf files.tgz --files-from fileList.txt
Posted: June 16th, 2010 | Author: Michal Holub | Filed under: browser, jQuery | No Comments »
//php if ($i % 3 == 0) adsensem_ad('main'); ?>
Finalizing work on project www.pickwilsbrain.com I came across two interesting issues in IE7. Most of my work is around intranet systems so I can afford the luxury of recommended browser. Unfortunately not always.
Read the rest of this entry »
Posted: May 16th, 2010 | Author: Michal Holub | Filed under: php | No Comments »
//php if ($i % 3 == 0) adsensem_ad('main'); ?>
One project required a serie of connected sliders, so why not to share…
It uses the standard jQuery UI slider, so UI Core and Slider must be both included.
Read the rest of this entry »
Posted: April 16th, 2010 | Author: Michal Holub | Filed under: php | Tags: nette, php | 3 Comments »
//php if ($i % 3 == 0) adsensem_ad('main'); ?>
A simple component for Nette Framework that adds up/down buttons next to a standard text field for easier numeric input. Based on JQuery SpinButton plugin.
Read the rest of this entry »