Oracle query top N results order by
Why is oracle query with any pagination flavor always so whacky? Just wanted to return the top N results ordered by a field you have to do in MySQL:
Why is oracle query with any pagination flavor always so whacky? Just wanted to return the top N results ordered by a field you have to do in MySQL:
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
—->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
Was looking for something for work that filters all of the requests on a page. Finally spotted the HttpFox plugin that pretty closely achieves what I need. Install the plugin and click on the tiny icon at the lower right of the browser. Once open, click on the start (to record requests) Load a page… Continue reading HttpFox helps filter http requests
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 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
I’ve been using a nice caching php script for getting my latest tweets. Recently twitter completely stopped support for API 1 and everyone must use API 1.1. API 1.1 requires authentication and therefore making it more complicated to use the original script. I’ve modified the script with the help of the codebird library to do… Continue reading Twitter API 1.1 php get tweets script
Just to play around, I wanted to achieve the following input box look with pure CSS 3. Also to teach myself how box-shadow works. I think I got pretty close. jsFiddle example
Have chrome installed on your desktop and your android device. Download Android SDK, unzip, double click on the exe installer I installed the following: Add \sdk\platform-tools to your PATH environment variable Enable USB debugging on your device. On most devices running Android 3.2 or older, you can find the option under Settings > Applications >… Continue reading How to use the Google Chrome Remote USB debugging