Featured post

Build Alexa-enabled Apps

This is reference of my collection from different sources.

Image From Wikipedia

Skill to learn – 

Custom Slot Types
Writing Alexa Skills with Node.js
Deployment
Integrating Testing an Alexa Skill
Alexa Cards Interaction: displaying data on cards
Voice User Interface Design
Speech Synthesis Markup Language
Internet of Things Interaction
Account Linking
Skill Submission
Providing Updates
No preference

API to use for testing or for real  –  http://services.faa.gov/docs/services/

Useful links –

Developers Resources For ASK & AVS Developers

Training / Tutorials

Amazon Echo Dev Portal

Amazon Alexa Dev Portal

Amazon Web Services Events & Webinars Portal – subscribe via RSS to be notified of new events in your area(s) of interest

Udemy – Introduction to Voice Design with Amazon’s Alexa

Big Nerd Ranch – Alexa Skills Kit – course(s) not yet released, but you can sign up to be notified when available on the linked page

w3schools JSON Tutorial

Anythings Alexa Skills Kit Tutorial

ToBuildSomething’s Amazon Alexa Skills Kit SDK: The Ultimate Guide

Ruuvu: Building An Alexa Skill For IMDB Ratings With Alexa-app

 

ASK / Alexa Dev Communities

Amazon Developer Forum – Alexa Skills Kit

Amazon Developer Forum – Alexa Voice Service

Stack Overflow – Latest Alexa Skills Kit Questions

Stack Overflow – Latest Alexa Skills Questions

Stack Overflow: Latest Alexa Voice Service Questions

Seattle Area Meetup for Alexa Devs

NYC Area Meetup for Alexa Devs

Los Angeles Area Meetup for Alexa Devs

Boston Area Meetup for Alexa Devs

Columbus Area Meetup for Alexa Devs

 

Sample Code / Developer Toolkits

Matt Kruse’s Alexa App Node Module

Nicholas Clawson’s Alexa-bility Skills Framework For Node:
Interactive Demo
Documentation
Examples
Toolkit

Amazon’s Github Repository for Alexa Skills Kit Dev in Java

Amazon’s Github Repository for Alexa Skills Kit Dev in Javascript

Anjishnu’s Github Repository: Python ASK Developer Toolkit

Rocktavious’s Github Repository: Django ASK Developer Toolkit

stefann42’s Github Repository: .NET ASK Developer Toolkit

develpr’s Github Repository: Laravel & Lumen Classes to Make ASK Development Easier

 

Miscellaneous

Amazon’s Alexa Device Source Code Repository

MSDN Speech Synthesis Markup Language (SSML) Reference Library

JSON.org JSON Reference Library

Nodejs.org Node Reference Library

ASK Developer Wiki on Reddit

My own developer guide to Using Session Attributes in Javascript – free pdf, can be printed or downloaded

How To Check Amazon Server Status, Streaming Service Status

Amazon Alexa/Echo Team Twitter Account

Amazon Alexa Tech Business Developer Marion Desmazieres Twitter Account

Share

How do I find ElasticSearch path to install plugins?

This is for new ElasticSearch user.

If you have installed elastic search and unable to install plugins, here are the easy steps.

1. Type this command

elasticsearch-plugin

Locate your home directory ( Look for Settings -> Path -> Home for value )
2. Go to Location (Example on the picture above)

How to test –

Open this URL

http://localhost:9200/_plugin/head/

If you see this, your plugin is working.
phpmind-elasticsearch-head-plugin

similarly, you can install other plugins –

About BigDesk Plugin phpmind-elasticsearch-bigdesk-plugin

How to test – http://localhost:9200/_plugin/bigdesk/

phpmind-elasticsearch-bigdesk-plugin-test

kopf is a simple web administration tool for elasticsearch written in JavaScript + AngularJS + jQuery + Twitter bootstrap

How to install –

<pre>sudo bin/plugin install https://github.com/lukas-vlcek/bigdesk/archive/master.zip</pre>

phpmind-elasticsearch-kopf-plugin

 

How to test –  http://localhost:9200/_plugin/kopf

phpmind-elasticsearch-kopf-plugin-test

About  koph 

Share

How to access external data from Kibana Plugin?

phpmind-kibana-image

To make AJAX call from Kibana Visualization to external web service.

There are two separate headers that are necessary here: access-control-allow-origin and access-control-allow-headers. You’re currently setting access-control-allow-origin but I don’t see anywhere you’re setting access-control-allow-headers.

Share

How to make download file forcefully and securely ?

Warning – Be careful with this script i have modified this just for me but you can use it anyways.

Share

How protect files using php and .htaccess ?

phpmind-password-dialog

htaccess-logo
You can secure any file using this script.
It will not allow you to access without username and password.

1st step is to create .htaccess file in a folder which you want to protected.
2nd step is add index.php as shown in example. This will not work as it is but you can modify.

Share

How to use PHP to output an mp4 video ?

phpmind-mp4
I want my videos URL to keep hidden from the users while still, they can able to see the video. 

It have 2 parts.

1. PHP code and
2. HTML video Code

Share

How to uninstall Elasticsearch and Kibana

 

phpmind-kibana

(1) Remove previous versions of ElasticSearch:

(2) Remove the ElasticSearch directories:

(3) Install ElasticSearch 1.6:

(4) Start the service:

(5) Test if it works:

 

Remove Kibana

Things you can use to resolve this situation:

  1. reinstalling and then removing
  2. single remove without purge
  3. force installing and removing
  4. force removing by dpkg

How do I determine the total size of a directory (folder) from the command line?

The command du “summarizes disk usage of each FILE, recursively for directories,” e.g.,

How to find the path of the local git repository when I am possibly in a sub-directory?

How do I remove a folder?

Be sure the folder is really empty (hidden files/folders might be in there). Look at the file contents again with

If you’re absolutely certain that it doesn’t contain anything you want to have (including subdirectories), delete it with

The -r makes it delete the folder (and subfolders), even if it is non-empty, -f is for force (this might be unnecessary).

How to know elastic search installed version from kibana?

/opt/kibana/bin/kibana --version

Share

How to rotate flight marker towards arrival airport in leaflet ?

 

flight_market_heading

First it is important to know how it works –

    1. Check out Leaflet Rotated Marker  plugin https://github.com/bbecquet/Leaflet.RotatedMarker

rotationAngle property need a value and this is key. You will have to generate that dynamically based on aircraft position and destination airport.  Function below does the same calculate  and give rotationAngle.

Function in Python

Keep in mind that lat1 and long1 are the aircraft’s position. And lat2, long2 are airport destination where aircraft is heading.

 

Function in PHP

Function in JavaScript

Share

How to display two table columns per row using javascript ?

Share