idanBean 種豆得瓜



May 2016

How to use and test AWS API Gateway

  Open AWS API Gateway dashboard and create stage of API Click “Stage” => “Create” Deploy API Open “Resource” => “Actions” => “Deploy API” Deploy API to test stage Check API URL Download postman  Fill parameters and test API. Click… Continue Reading →

show Taiwan MAP on flask

  Get the json file of taiwan I use the project in github of g0v. Put json file in static/json of flask project Add taiwanmap.html and pad the following script in  taiwanmap.html Using js <script src=””></script> <script src=””></script> Add… Continue Reading →

First step of of Keras

  Install python3 -m pip install git+git:// –upgrade The Hello World of Keras is MNIST. Execution log: Change backend from theano to tensorflow cd ~/.keras vim keras.json modify “theano” to “tensorflow” Execute again.can see tensorflow was used. Reference

(中文) Google I/O 2016 Firebase part I – 從 GCM 升級到 FCM

Sorry, this entry is only available in 中文.

Hubot(the opensource chatbot)

1.installnode.js 2.install Hubot $npm install -g yo generator-hubot $mkdir myhubot $cd myhubot $yo hubot set adapter : AIM ChatWork Dasher Fleep Flowdock Gitter Gtalk Hall HipChat iMessage IRC Jabbr Let’s Chat Rocket.Chat Slack Skype Twitter Typetalk VictorOps XMPP We need create… Continue Reading →

AWS API Gateway with AWS Lambda

  Create AWS Lambda function To AWS API Gateway dashboard to create API Click Actions -> Create Resource Return lambda dashboard ->”API endpoints” to create GET request Return API Gateway and GET method created Click GET to set Integration Request Click Test to test API Reference

Create Radar Chart use flask

 create div for radar chart in html add  javascript to get data import data to radar chart create router in for radar chart data create router to render this html finish

3D Tag Cloud

Download library from goat 1000: TagCanvas – Downloads Use .js file download in above link <script src=”tagcanvas.min.js?2.9″ type=”text/javascript” async></script> Add Scripts to set tag cloud format and load tag cloud Add script to support change shape Create canvas to show… Continue Reading →

Add your website with HTTPS functionality use AWS ELB

Goal  Website is built in the AWS EC2, but it doesn’t enable the https. In order to add HTTPS functionality, we would like to create a ELB which listens to HTTPS and forwards HTTP to EC2. How Create ELB and… Continue Reading →

Get client-browser’s ip when page loaded by JQuery and Ajax

Each time when client open the page, we are wondering where the user comes from. If we can query the ip address when page is loaded automatically, it’s interesting.

© 2019 idanBean 種豆得瓜 — Powered by WordPress

Theme by Anders NorenUp ↑