Report

Dead-Simple Solutions




Site Details
Current Rank: 5 (Web Development & Design)
URL: http://programming.mvergel.com
Site Description: Programming blog of Manny Vergel. It's about Web Design, iOS, Java, Node JS and othe web frameworks.
Date Joined: Dec 11, 2012

Tags: ios, iphone, ipad, programming, developer


Latest Blog Posts

[Solved] File to import not found or unreadable: compass/css3
on Mar 22, 2013 in compass watch Windows solution error sass rails-compass compass I'm on Windows 8 and I tried installing sass and compass and when I tried "compass watch" on an existing project which has an "@import "compass/css3";, I got an error:  File to import not found or unreadable: compass/css3The solution is to...



Convert Twitter's created_at to Javascript Date
on Mar 12, 2013 in node js parse twitter created_at javascript created_at convert created_at to javascript date javascript parse twitter There are several solutions found on the web to parse Twitter's date, but some seems outdated, maybe Twitter changed its date format. But as of March 2013, the code below works:function parseTwitterDate(aDate){ return new Date(Date.parse(aDate.re...



Rounding a number to two decimal places in Javascript / Node JS
on Feb 5, 2013 in node js Javascript How do I round to 2 decimal places Rounding numbers with decimals in Javascript is not straightforward. Javascript has a utility Math.round but it only rounds to the nearest integers. Some uses toFixed function e.g. (2.55555).toFixed(2) but it doesn't work consistently across all brow...



How to Get the email address from Twitter Developer API [Rant]
on Jan 30, 2013 in sign in with Twitter email OAuth developer OAuthTokens how to get email from twitter Rant get email address twitter developer twitter single sign on You can't; sorry to disappoint. As of writing, this is an unresolved issue and many developers are hoping for a positive reply from the Twitter development team: See this discussion and this one for more information. Seems that the Twitter dev t...



[Solved] WARN No appenders could be found for logger
on Jan 30, 2013 in how to load log4j.properties WARN No appenders could be found for logger solution example log4j.properties content error log4j fixed sample log4j.properties log4j:WARN No appenders could be found for logger (com.turn.ttorrent.common.Torrent).log4j:WARN Please initialize the log4j system properly.log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.If you are encountering the...



WARN No appenders could be found for logger [Fixed]
on Jan 30, 2013 in how to load log4j.properties WARN No appenders could be found for logger solution example log4j.properties content error log4j sample log4j.properties log4j:WARN No appenders could be found for logger (com.turn.ttorrent.common.Torrent).log4j:WARN Please initialize the log4j system properly.log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.If you are encountering the...



Imgscalr and DPI
on Jan 29, 2013 in Sample Code setYDensity setXDensity Resize image dpi java jpeg DPI java Dots Per Inch In my previous post, I practically hailed imgscalr as, arguably, the best native Java library for resizing images or creating thumbnails.This entry is a follow-up for setting the DPI of jpeg output of a Java image. Note that this only works if your o...



Resize Images using Java
on Jan 28, 2013 in imgscalr example Resize Image Java Native imgscalr tutorial constrain proportions programatically resizing images in Java natively imgscalr resize image sample imgscalr When resizing images in Java, one would normally use Image.getScaledInstance() but it has been proven that this is not the most efficient way to scale images, in terms of quality, performance and resource usage.An alternative would be ImageMagick whi...



DBVisit Standby Review
on Jan 21, 2013 in DBVisit Replication Oracle Database Replication DBVisit Standby Review DBVisit Review Oracle Database Standby DBVisit Standby is a tool for creating standby database for Oracle db which ensures high availability and protection of data. This is very similar to what Oracle Data Guard does, but before you can use it, you have to upgrade to Enterprise Edition (E...



Discard changes in git
on Jan 21, 2013 in git discard changes Git revert changes discard command git terminal If you want to revert your changes made in a given directory with git versioning, execute this command:git clean -df & git checkout -- .This will also handle staged and unstaged files.



Statistics
Unique Visitors Today: 22
Page Views Today: 23
Unique Visitors this Week: 97
Page Views this Week: 99
Unique Visitors this Month: 542
Page Views this Month: 565
Total Unique Visitors: 127,061
Total Page Views: 142,592
Total Hits Out: 354

Site Traffic