Mount Amazon Ec2 with Mac OSX

MacFusion is a free OSX app for mounting FTP and SFTP (SSH) drives into mac finder. Usually you use a user/password combination for authentification but if you want mount an amazon ec2 instance you have to use the pem-file you get here.

Read the rest of this entry »

MySQL/SQL: count chars in table field

SELECT CHAR_LENGTH(field)-CHAR_LENGTH(REPLACE(field,’-',”)) AS count FROM table

News Update for Web-Developers – Week 44

Read the rest of this entry »

WordPress Quicky: Query Posts by Custom Meta Field

If you have already added a custom meta field to your wordpress posts with add_meta_box you probably want to query such posts in your template. You can do that with query_posts(), it supports the meta_key and meta_value attributes.

 
query_posts($query_string.'&meta_key=onStartpage&meta_value=1');

WordPress Quicky: Add User Profile Fields

If you want add fields to the wordpress user profile then two hooks are important for you.
Read the rest of this entry »

WordPress Quicky: Exclude Categories

Another quicktipp for wordpress theme developers.

If you want to exclude one or more categories from a page (startpage, category-page), you can call the query_posts function with negative category-ids …

<?php query_posts($query_string . '&cat=-1,-2,-3'); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    <!-- POST -->
<?php endwhile; endif; ?>

Inside Analytics Tracking (2) – Traffic Quellen Who is Who

Google Analytics kennt vier Traffic Quellen: Suchmaschine, Direkt, Verweisende Seite (Referral Site) und Kampagne … aber welche Benutzer fallen wo rein?

Read the rest of this entry »

Inside Analytics Tracking (1) – Cookiemonster

Google Analytics ist ein wahres Monster wenns um die Anzahl der Cookies geht, aber wozu sind alle diese Cookies nötig und was kann man eigentlich selber für Einstellungen vornehmen …

Read the rest of this entry »

Google Multiple Sign-in aktiv

Google hat jetzt das angekündigte Multiple Sign-In aktiviert. Endlich kann man mit unterschiedlichen Benutzern auf verschiedenen Google Diensten angemeldet sein ohne das man mehrere Browser geöffnet haben muß. Multi Sign-In funktioniert derzeit nur mit Gmail, Google Docs, Google Reader, Google Sites, Google Calendar und Google Code, weitere Dienste können folgen.

Das neue Feature muss auf der Account-Seite aktiviert werden und ist noch nicht überall aktiv.

Multi Sign-in available

HTML5 WebSockets Example

HTML5 WebSockets makes it possible to open a persistent connection to a server within a web-browser via javascript.

Read the rest of this entry »