black-rocky.blogspot.com
My Tech Blog: December 2011
http://black-rocky.blogspot.com/2011_12_01_archive.html
Useful tips, rants, etc. Wednesday, 7 December 2011. CSS Only for Webkit. Why would you do that? Well, sometimes cross-browser issues can be a pain, and fixing an issue in one browser could mean causing issues in other browsers. This is the time when you should consider creating CSS only for a certain browser, in my case Chrome and Safari. Here's what I've done (thanks to this blog. Media screen and (-webkit-min-device-pixel-ratio:0) {. My id .my form row.my embed label input[type=password] {. Erlang - P...
black-rocky.blogspot.com
My Tech Blog: October 2012
http://black-rocky.blogspot.com/2012_10_01_archive.html
Useful tips, rants, etc. Friday, 19 October 2012. AJAX Form Submit and jQuery Validation. Submitting a form using jQuery AJAX should be pretty straight forward by using click() on the submit button, then some $.ajax() call. Integrating jQuery validation to it is a little bit tricky. Normal form submit without AJAX seems to call valid() automatically when the button is clicked, but with AJAX, it did not seem to work for me. I had to call this manually for the validations to work by using:. On a New Road.
black-rocky.blogspot.com
My Tech Blog: October 2011
http://black-rocky.blogspot.com/2011_10_01_archive.html
Useful tips, rants, etc. Monday, 3 October 2011. Here is a good lecture on Hash Table. Subscribe to: Posts (Atom). I work as a Software Engineer. Contrary to popular perception that we just stare at computer screen(s) all day, we need to communicate quite significantly with business analysts, users, management team, and fellow developers. View my complete profile. Understanding Android Application Work Flow. On a New Road. Long days in Hawaii. This Week in Spring - Sept 24th 2013.
black-rocky.blogspot.com
My Tech Blog: November 2011
http://black-rocky.blogspot.com/2011_11_01_archive.html
Useful tips, rants, etc. Thursday, 10 November 2011. Set Default Parameters in JavaScript using jQuery. When you create a JavaScript function with multiple parameters, it can get a little bit messy. Consider this JavaScript function:. Init spinning : function(lines, length, width, radius, colour, speed, trail, shadow) {. Var opts = {. Init spinning(8, 4, null, null, '#20CNSE', 1.6, 30, false);. Not only do you have to remember which ones are mandatory, but also this is error prone. Function, we could use:.
black-rocky.blogspot.com
My Tech Blog: Hash Table
http://black-rocky.blogspot.com/2011/10/hash-table.html
Useful tips, rants, etc. Monday, 3 October 2011. Here is a good lecture on Hash Table. Here is a good lecture on Hash Table. Blog comments powered by Disqus. Subscribe to: Post Comments (Atom). I work as a Software Engineer. Contrary to popular perception that we just stare at computer screen(s) all day, we need to communicate quite significantly with business analysts, users, management team, and fellow developers. View my complete profile. Understanding Android Application Work Flow. On a New Road.
black-rocky.blogspot.com
My Tech Blog: June 2011
http://black-rocky.blogspot.com/2011_06_01_archive.html
Useful tips, rants, etc. Tuesday, 14 June 2011. Email from a Friend Needing Help. I've got an email that seemed genuine at first glance from my acquaintance. I ignored the email and a few days later I got an email from him that his email account was hacked. It is another reminder for me that I need to be more careful before responding to any email messages. Subscribe to: Posts (Atom). View my complete profile. Email from a Friend Needing Help. Understanding Android Application Work Flow. On a New Road.
black-rocky.blogspot.com
My Tech Blog: September 2011
http://black-rocky.blogspot.com/2011_09_01_archive.html
Useful tips, rants, etc. Tuesday, 20 September 2011. Explain web services architecture (publish-find-bind). What are the types of web services? Name two types of SOAP web services used. What are the two approaches to create SOAP web services? Why would you need it? What is the difference between DOM and SAX in JAXP? Would you say JAXB is the best for performance? If not what is? What is contract first? Where do you start? What options do you have for security in Web Services? Sunday, 18 September 2011.
black-rocky.blogspot.com
My Tech Blog: CSS Only for Webkit
http://black-rocky.blogspot.com/2011/12/css-only-for-webkit.html
Useful tips, rants, etc. Wednesday, 7 December 2011. CSS Only for Webkit. Why would you do that? Well, sometimes cross-browser issues can be a pain, and fixing an issue in one browser could mean causing issues in other browsers. This is the time when you should consider creating CSS only for a certain browser, in my case Chrome and Safari. Here's what I've done (thanks to this blog. Media screen and (-webkit-min-device-pixel-ratio:0) {. My id .my form row.my embed label input[type=password] {. Subscribe ...
black-rocky.blogspot.com
My Tech Blog: May 2009
http://black-rocky.blogspot.com/2009_05_01_archive.html
Useful tips, rants, etc. Thursday, 14 May 2009. Null Check for Java Bean Properties. I was trying to find out an easy way to check nulls in my Java Bean. There is this filter screen where I need to throw an Exception if all the properties are blank. This is required so that the database don't get hit with "Search All" query. I used BeanUtils. From Apache Commons to get all the properties and StringUtils. To check if the property is blank. Here is a snippet of the code that I used:. AllBlank = false;.