Content

a web developer' s kung fu…

Disable global menu in Ubuntu Desktop

Wednesday 22 May 2013 - Filed under Ubuntu

sudo apt-get autoremove appmenu-gtk appmenu-gtk3 appmenu-qt

 ::  Share or discuss  ::  2013-05-22  ::  sa

Scream.js image server based on Node.js

Sunday 12 May 2013 - Filed under Node.js

 

 

 

Scream.js

 

is an image service software which specializes in modifying images and delivering static images.
The service is written in Node.js and its goal is to perform non destructive additional user defined image processing before serving the file to keep the original picture file untouched. The functions are resizing, cropping, alpha blending, rotating, color adjustment, filtering and much more. The definition of an Virtual Image Directory file allows a batch to apply processing methods for each image file. (more…)

 ::  Share or discuss  ::  2013-05-12  ::  sa

Sublime Text Refactoring Plugin

Thursday 21 March 2013 - Filed under more skills + Plugin + Python + Tips

Just published my first Sublime Text Plugin.  (more…)

1 comment  ::  Share or discuss  ::  2013-03-21  ::  sa

WordPress Multilanguage setup with subdomains

Wednesday 20 March 2013 - Filed under Snippets + Wordpress

wp-config.php


$table_prefix = 'wp_';
$arrPrefix = explode( ".", $_SERVER["HTTP_HOST"] );
$arrPrefix = strtolower ( $arrPrefix[0].'_' );
if ($arrPrefix != "www_" && $arrPrefix != "YOURMAINDOMAIN_") {
$table_prefix = $arrPrefix ;
define ('WPLANG', '');
} else {
define ('WPLANG', 'de_DE');
}

This will trigger another language based on visited subdomain. I should be easy to extend the code so that it set prefered WPLANG value.

The main andvantage is that you can use the same WordPress codebase für each subdomain/language.

 ::  Share or discuss  ::  2013-03-20  ::  sa

Virtualization Tools – All Operating Systems 4 all VMs

Wednesday 13 March 2013 - Filed under Nice to know

Check out http://www.modern.ie/en-US/virtualization-tools! Realy cool for developers.

 ::  Share or discuss  ::  2013-03-13  ::  sa

How to remove AVG Browser Hijack

Saturday 9 March 2013 - Filed under Nice to know

To remove the AVG browser hijack regarding to a browsers start and new tab page you can follow this discussion on Facebook. Please like this Facebook post if you want to keep the internet secure. Thank you!

http://www.facebook.com/avgfree/posts/10151323758908663

 ::  Share or discuss  ::  2013-03-09  ::  sa

jQuery.readMore

Sunday 4 November 2012 - Filed under jQuery

jQuery.readMore adds a read more link to HTML elements that will overflow regarding its content. The plugin respects existing CSS and fits within the box it is placed, regardless of padding, line-height, font-face, or letter-spacing. This is an alternative to CSS rule “text-overflow: ellipsis”. With jQuery.readMore it is possible to create custom read more links and display cool excerpts within your web applications. (more…)

Tagged: » » » »

1 comment  ::  Share or discuss  ::  2012-11-04  ::  sa

jsDrums

Sunday 30 September 2012 - Filed under Nice to know

Just released the new version of the Javascript Drum Computer under BSD licence at https://github.com/s-a/jsDrums. This version is improved with better code and an inital layout. This one works fine but it is still a prototype with a few UI controls including BPM and a simple sequenzer.

Live Demo

 ::  Share or discuss  ::  2012-09-30  ::  sa

Mocha support for TestSwarm

Tuesday 18 September 2012 - Filed under Nice to know

TestSwarm now supports Mocha Javascript test framework.

I just added a solution the TestSwarm software.

The code changes are here https://github.com/s-a/testswarm/tree/enhancement-mocha-support

You can clone the whole thing here https://github.com/s-a/testswarm.git.

 ::  Share or discuss  ::  2012-09-18  ::  sa

Web App For Making Web Design Simpler

Tuesday 7 August 2012 - Filed under Tips

 ::  Share or discuss  ::  2012-08-07  ::  sa