Archive for the ‘Web’ Category

GIT – How to merge specific files from another branch

Monday, September 3, 2012 16:41 No Comments

Using GIT you can merge specific files from another branch using the ‘checkout’ command. After you checkout the files do a commit on the current branch. Example: $ git checkout anotherBranchName  path/to/file.etx    path/to/file2.ext     path/to/file3.ext $git commit -m “Merged files from anotherBranchName”

This was posted under category: Programming, Unix/Linux, Web Tags: , , , , ,

MediaWiki – List all namespaces and their ID numbers

Friday, March 23, 2012 13:13 No Comments

To list all available namespaces and their ID numbers in MediaWiki you have to query MediaWiki’s api. Simpy open the following address in your browser: http://www.mywebsite.tld/mediawiki_installation/api.php?action=query&meta=siteinfo&siprop=namespaces *replacing http://www.mywebsite.tld/mediawiki_installation with the path to your MediaWiki page. This will return a XML representation of Namespaces data.

This was posted under category: Web Tags: , , , ,

Email Ports

Monday, May 16, 2011 12:52 No Comments

Email ports POP3 – port 110 IMAP – port 143 SMTP – port 25 HTTP – port 80 Secure SMTP (SSMTP) – port 465 Secure IMAP (IMAP4-SSL) – port 585 IMAP4 over SSL (IMAPS) – port 993 Secure POP3 (SSL-POP) – port 995

This was posted under category: Unix/Linux, Web Tags: , , , , , , , , , , ,

Redmine Drafts Plugin

Monday, November 8, 2010 22:11 No Comments

Jean Barth wrote a nice plugin for Redmine that saves drafts while you are writing issues. Many times people write some long text and then hit the wrong button, the browser crashes and they loose the data. The Drafts plugin saves the data periodically and it can be retrieved if the worst happens. Redmine Discussion [...]

This was posted under category: Web Tags: , , , , ,

How to install Redmine on Bluehost

Saturday, November 6, 2010 18:22 No Comments

How to install Redmine on BlueHost under a subdomain.  Redmine is a popular project management software based on RubyOnRails. BlueHost is a shared hosting provider but allows you to use SSH access to your account. To enable SSH open a support ticket and send them a scan of your ID. I will give you rough [...]

This was posted under category: Unix/Linux, Web Tags: , , , , , ,

WordPress running on IIS and ugly permalinks starting with index.php

Wednesday, November 3, 2010 12:27 No Comments

You may have experienced when running WordPress on IIS that the permalinks have that ugly index.php included. Pretty way: www.mysite.com/2010/11/mypost IIS way: www.mysite.com/index.php/2010/11/mypost By tweaking the .htaccess and using some rewrite rules this can be fixed. (ISAPI_Rewrite required)

This was posted under category: Web, Wordpress Tags: , , , , , , , ,

Apache .htaccess – Allow / Deny access from certain IPs

Tuesday, March 2, 2010 0:02 No Comments

If  your website is under contruction and you want to allow access just to certain IP numbers, placing the following code in the .htaccess  file, in the website root directory, you can block access to everyone except the IP numbers you specify. order deny,allow deny from all allow from 76.33.193.98 allow from 84.23.122.204 allow from 93.34.133.203 [...]

This was posted under category: Unix/Linux, Web Tags: , , , , , ,

Expand a Flash movie in height and width by 100%

Tuesday, February 9, 2010 22:00 No Comments

To expand a flash movie (.swf) by 100%  you have to set its height and width to 100%. But that’s not enough. The parent container the movie is sitting in needs to be 100% w/h too. By default all DIVs are 100% wide but they don’t expand 100% in height. To accomplish this set the [...]

This was posted under category: Web Tags: , , , , , , ,

Douglas Crockford: “The JavaScript Programming Language”

Friday, June 5, 2009 19:29 No Comments

In 4 videos Douglas Crockford gives us a very good overview of Javascript. A must view material for everyone new to Javascript. Douglas Crockford: “The Javascript Programming Language”

This was posted under category: Javascript, Web Tags: , , , ,

DatePicker – Mootools date picker control

Tuesday, June 2, 2009 12:35 No Comments

A very interesting and usefull date&time control. Its very small with only about 15kB, easy to install, skinnable and very configurable. DatePicker website

This was posted under category: Javascript, Web Tags: , , , ,