Posts

Apps Script - UrlFetch Post Get Method To Postman-Echo

Source Code: /* --------------------------- */ function doGet(e){ if (e.parameter.payload) { //assuming json-formatted data var parsedData=JSON.parse(e.parameter.payload); return outputData(parsedData); }; return outputData(99) } function doPost(e){ if (e.postData) { //assuming json-formatted data var parsedData=JSON.parse(e.postData.contents); return outputData(parsedData); }; return outputData(9) } /* --------------------------- */ function outputData(data){ return ContentService.createTextOutput(JSON.stringify( { "wappstus": "success", "wappdata": data } )).setMimeType(ContentService.MimeType.JSON); } /* --------------------------- */ function postData(){ var objtData = { "name" : "Me Testing", "slug" : "me-testing", "text_to_subscribe" : "true" }; var payload = JSON.stringify(objtData); var options = {...

10 AngularJS Google Maps Demos & Examples

Image
From:  https://www.angularjs4u.com/modules/5-angularjs-google-maps-demos/ . 1. Angular Directives for Google Maps AngularJS directives to integrate Google Maps into your applications. There are directives for most of the widely-used objects, including markers, windows, lines and shapes. We’re currently working on integrating more layer objects, including the HeatMap and such. GITHUB   WEBSITE   DEMO 2. GM Simple Maps AngularGM is a set of directives for embedding Google Maps in your application using the Javascript API. If you want a handle to the map, you should use the getMapPromise(mapId) method so you can guarantee the map will be initialized. GITHUB   DOCS   DEMO 3. Angular TODO Google Map Demo Making map components with AngularJS pretty awesome demo. The simplest situation is just setting up a map with a starting location. Using the directive link function instantiate the map seems to do a great job. GITHUB   WEBSITE  ...

EPUBReader a lightweight HTML5 based ebook reader.

. Welcome at EPUBReaders Homepage The new free EPUBReader extension for Chrome is now available! EPUBReader is a lightweight (< 1 MB) HTML5 based ebook reader. ✓ Reads ebooks in the EPUB format without DRM ✓ Opens the ebooks in memory at the location where they are stored, no extra space is required ✓ Uses the proven reading engine of the Firefox add-on EPUBReader (> 400,000 daily users) ✓ Works offline ✓ Is available in 24 languages Install now! © 2009  EPUBReader  | Design:  styleshout .

How To Make a Free 3D Cover Image of Your Book.

Image
. How To Make a Free 3D Cover Image of Your Book. Looking to create a  great-looking 3D cover image  to help promote your latest book?  Save yourself the time and money  of having to hire someone to create this 3D cover image by spending just a few minutes and watching our latest  YouTube tutorial  that will walk you through the process step-by-step. Why  would you want a 3D image of your Book? As part of an attractive  author email signature.   As part of posts on your  social media  platforms like Facebook, Twitter and Google +.   Helps to make great-looking  book- banner s .   As marketing images directly on your  author-website Here is what you need    +            +      Part 1 - Download your favorite 3D Book template image No prior software experience is needed to create the 3D image, this easy-to...

requestFileSystem() vs resolveLocalFileSystemURL()

. When you get file system access using requestFileSystem , access is granted for the sandboxed file system only (the sandbox limits access to the app itself), not for general access to any file system location on the device. (read here for TEMPORARY and here for PERSISTENT storage tutorial) To access file system locations outside the sandboxed storage, use other methods such as window. requestLocalFileSystemURL , which support platform-specific locations.  As of Cordova v1.2.0 (cordova-plugin-file), URLs to important file-system directories are provided. Each URL is in the form file:///path/to/spot/, and can be converted to a DirectoryEntry using window. resolveLocalFileSystemURL (). ( read here ) . Methods requestFileSystem() Requests a file system where data should be stored. You access a sandboxed file system by requesting a  LocalFileSystem  object using this global method,  window.requestFileSystem() . void requestFileSystem( in unsigned shor...

Ionic 1 Cordova Files (persistent)

Image
Objective 1. To use window.requestFileSystem 2. To use window.PERSISTENT type of storage 3. To implement file create, read, write and delete. References 1.  https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-file/index.html 2.  https://www.html5rocks.com/en/tutorials/file/filesystem/ 3. Codes samples adapted from:  https://www.tutorialspoint.com/cordova/cordova_file_system.htm 0. Add Cordova cordova plugin add cordova-plugin-file 1. HTML View <button ng-click="cdv('create-file')" class="button button-positive button-block">create-file</button> <button ng-click="cdv('write-file')" class="button button-positive button-block">write-file</button> <button ng-click="cdv('read-file')" class="button button-positive button-block">read-file</button> <button ng-click="cdv('remove-file')" class="button button-po...