Code Snippets

Fixing the Cant move .svn/tmp/entries to .svn/entries error

2011/07/31 | Permalink | Comment?
chflags -R nouchg ./

via Fixing the Cant move .svn/tmp/entries to .svn/entries error | Arc90 Blog.

Tags: , ,

Code Snippets

JSON correct http header

2011/02/21 | Permalink | Comment?

As specified from the RFC4627 the correct header is application/json and not text/json.

In PHP you can use:


header('Content-type: application/json');

If you need not cache the output, a common problem with GET requests on IE, you can use these lines of code:

header('Cache-Control: no-cache, must-revalidate');
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Content-type: application/json');

RFC4627.

Tags: , , , ,

Bookmarks

Pay with a Tweet, a social payment system

2011/02/17 | Permalink | Comment?

Have you something free for download to offer? Don’t offer it completly free, ask for a tweet! This is in absolute the solution for ask popularity for your work.

Pay with a Tweet – A social payment system.

Tags: , , , ,

Bookmarks

Flattr – Social micropayments

2011/02/07 | Permalink | 1 Comment

“Give to the things you like” with a social-style button. A centralized micropayments system could pull more donations and promote the micro-donation business model thanks to the one-click approach (like App Store).

I really hope this business model could grow in our huge-gratis-world (HGW), the web.

Flattr – Social micropayments.

Tags: , ,

Bookmarks

Version Control Systems: Centralized or Distributed?

2011/01/31 | Permalink | Comment?

Distributed vs Centralized Version Control System

Version control is one of the main aspects of a good software project. When choosing one of the Version Control Systems (VCS) on the market, one should consider the benefit of using a distributed system (like Git, Bitkeeper or Mercurial) instead of a centralized one (SVN or CVS). This articles outlines pros and cons of both architectures.

via: Intro to Distributed Version Control (Illustrated)

Tags: , , , , ,

Bookmarks

Mantis Bug Tracker

2011/01/25 | Permalink | Comment?

MantisBT is a free popular web-based bugtracking system feature list. It is written in the PHP scripting language and works with MySQL, MS SQL, and PostgreSQL databases and a webserver. MantisBT has been installed on Windows, Linux, Mac OS, OS/2, and others. Almost any web browser should be able to function as a client. It is released under the terms of the GNU General Public License GPL.

via Mantis Bug Tracker.

Tags: , , , ,

Bookmarks

Most used colors for Brands

2011/01/10 | Permalink | Comment?

When we released our report on the colors of the social web, based on data analyzed by our Twitter theme tool, we were surprised that blue was such a dominant color in people’s profile designs. Was Twitter’s default color influencing their design decisions? Or is blue really THE most popular and dominant color online? …We decided to look at the colors in the brands from the top 100 sites in the world to see if we could paint a more colorful picture.

via The Most Powerful Colors in the World.

Tags: ,

Bookmarks

Impressive Tissot Augmented Reality

2011/01/03 | Permalink | Comment?

An impressive usage of augmented reality

Tissot Augmented Reality.

Tags: , ,

Bookmarks

Benching Lighttpd vs Nginx vs Apache on static files

2010/11/29 | Permalink | Comment?

It is not an advanced benchmark but the two lightweight web servers seems to be almost the same, Lighttpd seems a little bit better.

The only certainty we have now is the superiority of these servers in deliver static files against apache.

lighttpd vs apache

via Benching Lighttpd vs Nginx static files and Apache vs Lighttpd

Tags: , , , ,

Bookmarks

Web prototyping: choose the right tool!

2010/10/31 | Permalink | Comment?

Prototyping with a skecth

The developing of a brand-new web site, or its redesign, always starts with a prototype of the graphic. And because a picture is worth a thousand words, is always more useful to sketch the site interface than describing it in a document.

But what is the right tool to choose, when building a prototype? Well, it depends on the problem, and on the status of the project. A single prototype will never be sufficient for the customer to understand how the site will be: for each phase of the project design, there’s an appropriate tool. This article explains them all!

via Match the Tool to the Problem – 52 Weeks of UX.

Tags: , , , ,
« Previous Entries
» Next Entries