Lifehacks - My Collection
I like solving strange problems with my computer. But what i also like is finding cool tricks and hacks in real life.
This page will contain a collection of life hacks i know.
|Den ganzen Beitrag lesen...
I like solving strange problems with my computer. But what i also like is finding cool tricks and hacks in real life.
This page will contain a collection of life hacks i know.
|Den ganzen Beitrag lesen...
Today i found a error in a tiny script i was working on.
The error Message looked like this:
First i found a few hints about repairing or optimizing MySQL tables, but this did not work out.
After a few debugging outputs a realized that the query was not properly written.
|Den ganzen Beitrag lesen...
I had a wierd problem with my notebook and a fresh Windows 7 installation.
For saving battery power a changes the minimum CPU speed to 1%, but somehow this settings was "forgotten" and resettet with the default value 100%.
But i managed to find out what happened really.
|Den ganzen Beitrag lesen...
For all of you who liked phpMyAdmin2 where all relevant information was visible at any time, sould be annoyed be the new slider effects in phpMyAdmin3.
I did a short search for the config value to change this and found this solution.
Add this to your config.inc.php:
And your sliders will start in visible state.
phpMyAdmin download:
http://www.phpmyadmin.net/home_page/downloads.php
A workmate mentioned, that floor($i) could be replaced with (int)$i.
I found this very interresting and did some researched about that.
floor($i); will return a float that will have the lower value of $i.
A cast will just convert $i to an integer which will cut of all decimals.
So by symptoms, these two methods are equivalent. Even if floor returns a float, PHP does dynamic casting of its variables.
In a PHP Project i am currently helping out, i found this function:
It is a simple function for replacing chars. It works quite well, but was mainly only used for checking [^a-z0-9]. So i tested the speed of this code.
|Den ganzen Beitrag lesen...
I decided to create a simple mirror for software i recently use.
Currently you can find download.geany.org and www.lighttpd.net/download/.
Url is:
http://juliusbeckmann.de/mirror/
Just in case the project sites get down or older files get deleted there.
Hopy you enjoy it.
In a current project of mine i needed the use of a universal caching system.
After testing a little bit with APC i found memcache that will do the job perfectly.
So i wrote a few tiny functions for easy memcache handling.
|Den ganzen Beitrag lesen...
Ich biete 6 Domains im Paket an. Es sind folgende Domains beinhaltet:
Ideal um sein eigenes Verzeichnis wie z.B. StudiVZ oder Facebook aufzubauen.
Paketpreis ist 200 Euro.
Anfragen bitte per Email.
English:
I sell the mentioned domain names for a package price of 200 Euro. Contact please via Email.