Saturday, July 18, 2015

[RPI] Bluethooth Pairs

18 July 2015

sudo apt-get install bluetooth bluez-utils blueman
sudo apt-get install bluez-compat
sudo bluez-simple-agent hci0 48:86:E8:B5:2B:7A
sudo pand --connect 48:86:E8:B5:2B:7A -n
dhclient bnep0

Referensi
http://www.modmypi.com/blog/installing-the-raspberry-pi-nano-bluetooth-dongle
http://www.ctheroux.com/a-step-by-step-guide-to-setup-a-bluetooth-keyboard-and-mouse-on-the-raspberry-pi/
http://m-jorgensen.dk/how-to-enable-pan-on-raspberry/

Thursday, July 16, 2015

[RPI] Yicam - Resize - Tweet via Raspberry Pi

16 July 2015

RPI Config for live image Yicam - Rpi - Resize - Tweet

sudo apt-get install python-setuptools
sudo easy_install pip
sudo apt-get install libjpeg-dev
sudo pip-3.2 install pillow
sudo pip-3.2 install TwitterApi

Gunakan pyton3 command

python3 yirestwet.py

Referensi
- http://stackoverflow.com/questions/8915296/python-image-library-fails-with-message-decoder-jpeg-not-available-pil
- http://pi-camera.blogspot.com/p/raspberry-pi-setup.html
- https://www.raspberrypi.org/forums/viewtopic.php?f=32&t=97326
- https://github.com/deltaflyer4747/Xiaomi_Yi/blob/master/Standalone_scripts/Camera_photo.py
- http://copter.sovgvd.info/a/Xiaomi-Yi-protocol-remote-control
- https://www.youtube.com/watch?v=WrtebUkUssc
- https://gist.github.com/capung48/0f2f73d599f2de8100eb

Friday, July 3, 2015

[PYTHON] Twitter API POST Test

3 July 2015

Installation TwitterAPI by geduldig

1. python -m pip install TwitterAPI


Referensi
-https://github.com/geduldig/TwitterAPI
-http://stackoverflow.com/questions/13111222/windows-7-python-3-2-file-not-found-on-open

Thursday, July 2, 2015

[PYTHON] Beautiful Soup pada Windows CMD

2 July 2015

Installasi beautifulsoup windows via command prompt

1. python -m pip install -U pip (upgrade pip)
2. python -m pip install beautifulsoup4

Refferensi
-http://www.crummy.com/software/BeautifulSoup/

[PYTHON] JKT NEWS (updated)

2 July 2015



My first Python script
Ngambil berita terakhir dari web official jkt


Menggunakan BeautifulSoup

Refferensi
-https://www.daniweb.com/software-development/python/threads/213221/urllib-in-python-3-1
-http://pythonprogramming.net/parse-website-using-regular-expressions-urllib/
-http://www.crummy.com/software/BeautifulSoup/bs4/doc/