Git Cheatsheet, (c) 2009-2012, Andrew Peterson
A place to hide modifications made to the workspace, while working on something else. (The stash area is not required in a “normal” workflow.)
/** | |
* Add -lupm-ldt0028 flag | |
*/ | |
#include <iostream> | |
#include <iomanip> | |
#include <cmath> | |
#include <mraa.hpp> | |
#include <upm/ldt0028.h> | |
using namespace std; |
#include <iostream> | |
#include <cmath> | |
#include <sstream> | |
#include <string> | |
#include <stdlib.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <arpa/inet.h> | |
#include <mraa.hpp> |
loadtoast :: https://github.com/code-mc/loadtoast | |
Pretty material design toasts with feedback animations | |
recyclerview-animators :: https://github.com/wasabeef/recyclerview-animators | |
An Android Animation library which easily add itemanimator to RecyclerView items. | |
LinearListView :: https://github.com/frankiesardo/LinearListView | |
Android library that allows you to bind a LinearLayout with a ListAdapter. | |
FakeSearchView :: https://github.com/leonardoxh/FakeSearchView |
Git Cheatsheet, (c) 2009-2012, Andrew Peterson
A place to hide modifications made to the workspace, while working on something else. (The stash area is not required in a “normal” workflow.)
Ini adalah catatan pribadi ketika mencoba memasang WebRTC server di raspberry pi 2 dengan usb camera bukan raspicam. Bagi yang menggunakan raspicam silahkan simak di sini
Persiapan kali ini, saya menggunakan spesifikasi sebagai berikut,
Ada baiknya sebelum membeli USB camera, sebaiknya melihat list kompatibilitas driver uvc di sini. Apa itu uvc? Adalah kependekan dari USB Video Class yang merupakan semacam spesifikasi yang mengatur standarisasi webcams, digital camcorders, analog video converters, analog and digital television tuners, dan still-image cameras untuk streaming video maupun audio agar mudah diakses di linux.
Open terminal, and download Node.js package for arm processor. Curently the latest version is v5.5.0.
$ wget https://nodejs.org/dist/v5.5.0/node-v5.5.0-linux-armv7l.tar.gz
Uncompressed the package to any folder. It will create a new folder named node-v4.0.0-linux-armv7l
.
$ tar -xvf node-v4.0.0-linux-armv7l.tar.gz
Before processing on installing Synapse, make sure you have already installed all dependecies of Synapse. By default, we only need to install python development and libffi. Open your terminal and execute the command below.
$ sudo apt-get install python2.7-dev libjpeg8-dev libffi-dev
We use virtualenv. If you did not installed yet, install first.
Mungkin sebagian pada bingung, bisa streaming video tapi koq tidak muncul suaranya ya? Karena secara default driver soundcard yang berasal dari USB webcam tidak terindeks di konfigurasi ALSA. Maka dibutuhkan untuk muncul diindeks. Sebelumnya bisa dicek dengan perintah
$ arecord -l
Tampilan outputnya akan nampak seperti berikut
**** List of CAPTURE Hardware Devices ****
card 0: C525 [HD Webcam C525], device 0: USB Audio [USB Audio]
To install Jenkins, run command below in terminal.
$ brew install jenkins
To run manually,
dfu-util is a tool for Device Firmware Upgrade to the Duo via the USB port.
Connect the Duo to your computer via the USB port.
Press and hold the 'SETUP' button and then press the 'RESET' button, release the 'SETUP' button once you see the RGB is flashing in yellow color.