about

apache, javascript, wordpress

1 septiembre 2011
by pepesaura
0 comments

Starkers | The completely naked theme for WordPress

starkerstheme
Starkers: The completely naked theme for WordPress

Starkers is a bare-bones WordPress theme created to act as a starting point for the theme designer.

Free of all style, presentational elements, and non-semantic markup, Starkers is the perfect ‘blank slate’ for your projects, as it’s a stripped-back version of the ‘Twenty Ten’ theme that ships with WordPress.

24 agosto 2011
by pepesaura
0 comments

include()

Tip:

If your code is running on multiple servers with different environments (locations from where your scripts run) the following idea may be useful to you:

a. Do not give absolute path to include files on your server.
b. Dynamically calculate the full path (absolute path)

Hints:
Use a combination of dirname(__FILE__) and subsequent calls to itself until you reach to the home of your ‘/index.php’. Then, attach this variable (that contains the path) to your included files.

One of my typical example is:

< ?php
define('__ROOT__', dirname(dirname(__FILE__)));
require_once(__ROOT__.'/config.php);
? >

instead of:
< ?php require_once('/var/www/public_html/config.php); ? >

After this, if you copy paste your codes to another servers, it will still run, without requiring any further re-configurations.

bimal en PHP: require_once – Manual.

github

23 agosto 2011
by pepesaura
0 comments

github | social coding

github | social coding

git

Git is an extremely fast, efficient, distributed version control system ideal for the collaborative development of software.

git·hub

GitHub is the best way to collaborate with others. Fork, send pull requests and manage all your public and private git repositories

launchpad-logo-and-name

22 agosto 2011
by pepesaura
0 comments

Launchpad.net

launchpad.net

Launchpad is a software collaboration platform that provides:

  • Bug tracking
  • Code hosting using Bazaar
  • Code reviews
  • Ubuntu package building and hosting
  • Translations
  • Mailing lists
  • Answer tracking and FAQs
  • Specification tracking