
Blog / Página 8
Stop DisplayLink driver flooding logs in OS X Yosemite
To stop logging messages, like that, on Syslog:
14/12/14 10:38:24,521 WindowServer[235]: _CGXGLDisplayContextForDisplayDevice: No matching context for device (0x7fdf63610e10) – disabling
About ugly code
If you write ugly code, anyone who intends to fix a bug or add a feature will not enjoy his work and likely avoid it next time.
Bram Moolenaar
Vim’s creator
Development is more than just using "components"
One of the recurring conversations in gatherings over a beer is the current trend, by many “developers”, of not really programming to client needs but simply using modules/components/plugins/…

Excessive use of components for very simple needs
This causes the final solution to be nothing more than an amalgamation of elements, many of which were not designed for that function, and others that are really not necessary, that only create the sensation that everything is solved, but as an “AS IS” solution. The kind where you don’t touch them, because we don’t know if something might fail, nor how, nor why.
Custom Theme My Login templates
Theme My Login is a plugin that allows us to adapt all elements related to: Registration, Login, … of a WordPress site to our needs.
Inside the plugin folder, we find the templates in the “templates” folder. As is standard practice, we should not modify these templates directly. We can copy them to the root of our theme and modify them there. From that point on, those templates will be used by our site, without a plugin update affecting the changes made.
Creating a new Laravel project
In the folder where we want to start the project:
cd /var/www/my-new-project
composer create-project laravel/laravel ./ --prefer-distDigital signatures in JavaScript
If we need to create a signature capture and processing system in HTML, we can use the library: signature-pad, a good alternative for creating web apps that require signature digitization, using canvas.
Integrating Node.js and PHP
In the following article: In the following article, we can see several ways to interact from PHP with node.js, using websockets.
The example uses nginx, which is something to appreciate, as it’s the web server I use for these purposes.
How to validate an EAN13 code
EAN13 codes are composed of 13 digits, where the last one is a check digit.
Cocos2d x
When developing games for mobile devices, we have multiple cross-platform alternatives:
Compile Titanium Mobile applications from command line
Everyone has their preferences when it comes to editing code. For example, for PHP I use Netbeans, for html Textmate, …
Styles only for iPad
If you want to apply CSS styles only for the iPad, you can do
















