Wordpress has a interesting oddity, it stores site path with domain name in its settings in database. If you are moving your WP site, you have to change that setting before! I do not judge is it a good or bad decision, but it works this way. If you forget to change Siteurl, WP installation won't work on new location. Here is how to fix it! Continue reading
Month: September 2012
ImageMagic library not without reason is called magic, it can handle image operations like scale,resize,rotate,filter,clip and 1000+ others.
PDF -> JPEGHere is simple CLI command to extract one page from PDF file and save it as JPEG image
convert -density 300 doc.pdf page.jpgWhere
- 300 is DPI, more better quality
-  is page number, starting from zero. Can be list [0,1,2] or range [1-10]
- page.jpg is output file, image type is based on extension
CodeIgniter is great framework by its simplicity. But when I moved from CakePHP, I really missed layout pattern. CodeIgniter documentations offers this way to include non-changing site header and footer
$this->load->view('header'); $this->load->view('template'); $this->load->view('footer');For sure it isn't flexible and does not show page structure in a clear way. For many years I use layout pattern. Layout describes whole page as a template with blocks for header, menu, content, etc like on figure below. On page rendering these blocks are filled with data. Continue reading
Tool for marketing realty via several sources Craigslist, Facebook, etc...
The suite was designed with both front and back-end users in mind. Our ad creation, end-user marketing, and analytics tools are just as visually appealing and powerful as the front-end platform used to deliver them to renters themselves.Continue reading
Clustering markers on GoogleMap is a very useful think in case of thousands of markers displayed. It makes the map look nice and fancy, instead of marker mess. In my previous post I told how to use MarkerClusterer library. Today I want to add some advanced techniq how to use different styles, in case there are several datasources available. Continue reading