Startseite »
TechnikBlogs »
Blog über Computer und Programieren.
Blog über Computer und Programieren.
In diesem Blog schreibe ich über Dinge die ich im täglichen Umgang mit Computern und beim Programmieren stolpere. Gern mach ich mal den ein oder anderen Benchmark um der Sache auf den Grund zu gehen, herauszufinden warum das so [...]
|
|
PHP: Universal NULL Object
geschrieben am 23.07.11 - 17:15 UhrWhen working with interfaces you sometimes need a object as parameter. Thats why i wrote this primity universal null object that does nothing at all and does not throw any errors: <?php /** * Universal NULL object. * * Will throw no error messages so can be used as universal [...]
The project triangle
geschrieben am 19.06.11 - 12:25 UhrAnybody of you who worked in a (bigger) project, might have noticed that there are always problems about specific factors like time, money and quality. While getting my Scrum Master certificate, our teacher told us about something called the "project triangle". There is a [...]
PHP: Doing some cool things with references
geschrieben am 18.06.11 - 19:56 UhrNot everybody of you might know, that there are references in PHP too, like in many other languages. I wondered if there is something these references might be really good for and came up with the following concept. References Maybe i should first tell you something about [...]
Ubuntu: Create own or fix broken samba
geschrieben am 30.05.11 - 12:28 UhrI recently wanted to create a shared folder with the attribute hidden, but did not want to change the /etc/samba/smb.cnf. So i searched where the shares created by the gnome folder-properties window where saved. The directory is: /var/lib/samba/usershares/ This is also the [...]
Kubuntu: Connect to hidden WLAN
geschrieben am 30.05.11 - 12:10 UhrSomehow the Network-Manager in Kubuntu can not connect to hidden wireless lan. But i found a simple workaround in the kubuntuforums.net: Go in the Kubuntu Network-Manager and add a new connection with all the details of the hidden WLAN. Now open a terminal and run this command: [...]
Linux: Count lines of code
geschrieben am 19.05.11 - 11:41 UhrI found a cool programm, that can count lines of code for several programming languages. You can find it here: http://cloc.sourceforge.net/ Install On a debian based box, installing is very easy: sudo apt-get install cloc Howto Usage: cloc --help File/s: cloc *java Directory: [...]
Whiz: Simple cURL PHP wrapper class
geschrieben am 04.05.11 - 17:08 UhrI worked on a project where i needed to handle a lot with cURL request. At first i tried to use ZendHttpClient, but it was too limited for my purpose. So i wrote my own cURL handler php class. I tried to keep the class as simple as possible, but it should be universal and [...]
Ubuntu: Backup/Copy network settings in
geschrieben am 02.05.11 - 22:17 UhrI did a clean install of Ubuntu 11.04 and copied all the needed configs from my old 10.10 installation. But i could not find the needed folders for the network and wireless settings, so i searched for them and this is what i found. To backup or copy the network settings under [...]
Linux: Slow dd because of default blocksize
geschrieben am 01.05.11 - 21:53 UhrToday is backed up my SSD so i can install Ubuntu 11.04 fearlessly. Problem was that dd was very slow, but i found a solution. By default dd seems to use 512 Byte as default blocksize. This means copying 10 GB lets dd move 20 million blocks. This is very stressful for the [...]
Ubuntu: Install on a Disk with less than 4.4
geschrieben am 01.05.11 - 17:37 UhrI tried to install Ubuntu 11.04 on a 4 GB USB-Stick today, but was failed by the installer who wants at least 4.4 GB free space. This is unnecessary much, because a normal Ubuntu install will stay below 2.5 GB. I found a "fix" that works like this: 1. Start Ubuntu from CD/DVD as [...]
Ähnliche Blogs aus dieser Kategorie:


