geeky · mobile

Chrome Mobile Emulation in Action

Get latest updates on chrome emulation Step 1 Open a regular website in Chrome. Step 2 Right click -> Inspect Element to bring up the develop tools. Step 3 Click on the settings Icon Verify the mobile emulation is turned on under Appearances Step 4 Either hit the ESC button or this little icon to… Continue reading Chrome Mobile Emulation in Action

geeky · javascript

Screen scraping census baby name data with nodeJs, cheerio(jQuery) and promises

—->My Soure Code<—- Goal Screen scrape census baby names data for the 51 states and produce a single CSV file. These data are in html table via sites such as http://www.ssa.gov/cgi-bin/namesbystate.cgi post {state: ‘AL’, year: 2012} http://www.ssa.gov/cgi-bin/namesbystate.cgi post {state: ‘AK’, year: 2012} http://www.ssa.gov/cgi-bin/namesbystate.cgi post {state: ‘CA’, year: 2012} …. Script must translate all of the… Continue reading Screen scraping census baby name data with nodeJs, cheerio(jQuery) and promises

personal · quotes

How to Help Others Without Compromising Yourself

1. You can’t help someone who is not taking responsibility for helping themselves. Sometimes, no matter how much you give, the other person doesn’t seem to meet you halfway. It seems like the more you try to help them, the more they stay the same, or worse, regress. Maybe they have become so used to… Continue reading How to Help Others Without Compromising Yourself

css · geeky · javascript

How I made tiny carousel swipeable

On parents.com, we previously used the jquery plugin tiny carousel to display various lists of links mostly used to track pregnancy month/week: For example: The concept is easy. You have a list of items that you want to scroll horizontally by using nav buttons. In our case, all of the content are lists of links.… Continue reading How I made tiny carousel swipeable

css · geeky

Making Semantic Elements Behave Like a Table

CSS has properties to make any element you wish behave as if it was a table element. You’ll need to structure them essentially as you would a table, and it will be subject to the same source-order-dependency as a table, but you can do it. I’m not crapping on it either, it’s genuinely useful sometimes.… Continue reading Making Semantic Elements Behave Like a Table