Line ได้ออก API สำหรับ Line @ และ Line Official มาได้สักพักนึงแล้วโดยใช้ชื่อว่า Messaging Api ซึ่งวันนี้เพิ่งมีโอกาสได้ลองเล่น API แบบจริงจังเลยมาเขียนบล็อกแชร์ประสบการณ์การใช้งาน API ของ Line ในการสร้าง Chat Bot แบบขำๆขึ้นมา
ขออนุญาติก็อบรูปใน Line Developer มาให้ดู ซึ่งการทำงานก็ไม่มีไรมาก
เมื่อผู้ใช้ส่งข้อความมาที่ Line @ เรา Line ก็จะส่งข้อความนั้นมายัง Server ที่เราเซตเอาไว้
- เปิดแอพ Linux Deploy แล้วกดตรงรูป Download ตามรูป
- เลือก Distribution ที่ต้องการ ในที่นี้เลือกใช้ Debian ครับ Distribution suite ก็คือ version ของ Distribution นั้นๆ ผมเลือกใช้ Debian Jessie ส่วน Architecture ก็เลือกเป็น armhf ดังรูป
I lost a few days for install Ubuntu 14.04 on my new laptop Asus K401UB.
Asus K401UB have Hard drive 1 TB and 24 GB SSD, So i install partition like this
/dev/sda is 1 TB Hard drive
/dev/sdb is 24 GB SSD
mount /boot on SSD (256MB)
mount / on SSD (Remain SSD)
mount /home on 1TB Hard drive (200 GB)
mount /var on 1TB Hard drive (50GB)
After i installed Ubuntu 14.04 i got many problem out of the box
Problem:
- Audio not work
- Touchpad not work
- Wifi not work (Network Manager show locked by hardware lock)
- Some of Function Key not work (Airplane mode, Brightness, Touchpad Enable/Disable) not work
- Hybridge Video Graphic Card (Intel & Geforce 940M)
Function key
i can't solve this problem but i found shell script to disable and enable Touchpad
- Find Device id from command (in this case device is ELAN1000:00 04F3:0401)
xinput list
id = 12
Download this shell 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
cd /tmp
wget http://download.aircrack-ng.org/aircrack-ng-1.2-rc4.tar.gz
tar xfz aircrack-ng-1.2-rc4.tar.gz
cd aircrack-ng-1.2-rc4/
make
sudo make install
sudo airodump-ng-oui-update
Share story
0
comments:
Install Raspbian packages directly from Ubuntu with chroot to Raspbian file system (on SD card)
Saturday, March 12, 2016
7:57 PM
0 Comments
update or install package directly from ubuntu on raspbian sd card
8 comments: