Finally they are arrived and they are awesome. Still waiting for coasters.
Btw you can get these at http://www.fractureme.com
[See the full gallery on Posterous]10
more ...Found this one hanging out in the garden today.
Miķelis pointed out that this little guy seems to be newt, not lizard and seems to be found in the red book - rare and endangered species of plants and animals that can be found in Latvia.
http://www.google.lv/search?gcx=w&sourceid=chrome&ie=UTF-8&q=cres...
[See the full gallery on Posterous]8
more ...This has been very useful code for me, so I thought I would share it, maybe somebody else also find it useful:
// Register handlers
set_error_handler('custom_error_handler', E_ALL);
set_exception_handler('custom_exception_handler');
register_shutdown_function('send_php_errors');
// Array containing errors
$php_errors = array();
// Error handling function
function custom_error_handler($errno, $errstr)
{
global $php_errors;
$php_errors[] = func_get_args();
return FALSE;
}
// Exception handling function
function custom_exception_handler($exception)
{
global $php_errors;
$php_errors[] = (array)$exception;
}
// Send php errors on shutdown
function send_php_errors()
{
global $php_errors;
if (!empty($php_errors))
{
mail('Place your e-mail here', '!!! PHP error !!!', print_r($php_errors, TRUE), "Content-Type: text/plain; charset=utf-8");
}
}
We got this error today. It is not very self explaining, so I thought I will leave here a link explaining it: http://ryan.ifupdown.com/2008/08/17/warning-mkdir-too-many-links/
more ...It turns out, that navigation bar back button is set from parent controller that pushed new view controller. So if you want to hide back button you have to hide it in first view controller and then push the new one.
But if you have many places where you need to push new view controllers and have back button, but only one place where it needs to be set it is not very efficient to set it every time to not hidden. The solution is this code called from view controller pushed:
[self.navigationController.parentViewController.navigationItem setHidesBackButton:YES];
Don't forget to show it when view disapears.
It also applies to custom back buttons - you have to apply it to first view controller, not the one is being pushed on.
more ...Of course I would like to have my site viewed as much as posterous says, but I think I can be sure, that google analytics is more correct. Anyway difference ir very large so I assume, that posterous don't filter any kind of requests. I mean search engines, and so on.
[See the full gallery on Posterous]5
more ...