You are here

leelight's blog

Build Android OS

Creating a Virtual Windows Phone 8 Development Environment

Just follow the steps in the tutorials, the most important thing is editing your your_vm_name.vmx and append the items:

Blog: 

Mobile Offline Map Client with Cordova hybrid HTML5

Mobile Offline Map Client, is it necessary? Yes, if you work outside but there is not network or wifi, but you still need WMS to display the map and WFS to edit the feature, offline functionality will help.

After research and inspired by other ideas, /?q=en/node/72475

Then the mobile offline hybrid HTML5 map client is born, frameworks or plugins it used:

1. OpenLayers: Go
2. Sencha-touch: Go

Offline mobile HTML5 map client

Collecting some research for Offline mobile HTML5 map client.

1. Research one

Phonegap + Leaflet + TileMill = Offline Mobile Maps  

json2 vs jquery json

json native, json2, json3 vs jquery json

ref: http://jsperf.com/json-vs-jquery-json/2

Blog: 

Regular Expression, 3 digi number, only 5 times' numbers are allowed

Number from 0-999, only 5 times' numbers are allowed: 0, 5, 10, 15, 20... 995
The following is the test in javascript:

How to select records with given interval

How to select records with every N records' interval?
Using the rank(), this is the the snipet, for Oracle:
Table name: tableabc,
---------------------
id  |  time  |   test
---------------------
SELECT id, rank() over (partition by 1 order by time) as interval, test
                                   FROM  tableabc 

Force Internet Explorer to display content in the available highest mode

The X-UA-Compatible meta tag allows web authors to choose what version of Internet Explorer the page should be rendered as. IE11+ have changes to these modes. See IE11 note below.

Blog: 

Pages

Subscribe to RSS - leelight's blog