For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Content from http://en.wikipedia.org/wiki/List_of_HTTP_status_codes | |
| * | |
| * You may also want a list of unofficial codes: | |
| * | |
| * 103 => 'Checkpoint', | |
| * 218 => 'This is fine', // Apache Web Server | |
| * 419 => 'Page Expired', // Laravel Framework |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Content from http://en.wikipedia.org/wiki/List_of_HTTP_status_codes | |
| * | |
| * You may also want a list of unofficial codes: | |
| * | |
| * 103 => 'Checkpoint', | |
| * 218 => 'This is fine', // Apache Web Server | |
| * 419 => 'Page Expired', // Laravel Framework |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- SQL script to quickly generate and test PostGIS geometry formats in pgAdmin | |
| SELECT | |
| ST_AsText(g), | |
| --ST_AsGeoJSON(g), | |
| encode(ST_AsBinary(g), 'hex') | |
| FROM (SELECT | |
| ------------ EMPTY by PostGIS and SQL Server: | |
| ------------ http://blog.cleverelephant.ca/2010/03/nothing-nada-zip-bupkus.html | |
| ------ OGC 1.0 | |
| --'POINT EMPTY'::geometry --"010400000000000000" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Map<String, String> spinnerValueMap = new HashMap<String, String>(); | |
| List<StringWithTag> itemList = new ArrayList<StringWithTag>(); | |
| String loadsearchkeyID; | |
| spinnerValueMap.put(“Key”,”Value”); | |
| for (Entry<String, String> entry : spinnerValueMap.entrySet()) { | |
| String key = entry.getKey(); | |
| String value = entry.getValue(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Cesium.Ion.defaultAccessToken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI1OGUyODEwNC03YTIzLTRjMmItOTk4Ni1iZWNkNGE1MWZhMTkiLCJpZCI6NTQzLCJpYXQiOjE1MjUyNzM4OTd9.F2r6H2XRAcnkHjkFgXAzDieW6TeIxDhTZ5hdikd-_Q8'; | |
| var viewer = new Cesium.Viewer('cesiumContainer', { | |
| terrainExaggeration : 10.0 | |
| }); | |
| var terrainProvider = new Cesium.CesiumTerrainProvider({ | |
| url : '/tilesets/tiles' | |
| }); | |
| viewer.scene.terrainProvider = terrainProvider; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset=utf-8> | |
| <meta name=description content=""> | |
| <meta name=viewport content="width=device-width, initial-scale=1"> | |
| <title>Reverse geocoding</title> | |
| <link rel="stylesheet" href="https://openlayers.org/en/v4.4.2/css/ol.css" type="text/css"> | |
| <!-- The line below is only needed for old environments like Internet Explorer and Android 4.x --> | |
| <script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL,fetch"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |