Skip to content

Instantly share code, notes, and snippets.

View rafaelloab's full-sized avatar

Rafaello Battocchio rafaelloab

View GitHub Profile
@rafaelloab
rafaelloab / gist:80a80b5bc55426691f7e9c712c3e5e2c
Last active August 20, 2023 02:21
Creating virtual serial ports for Arduino and Processing communication on Mac.
VIDEO
https://youtu.be/01QoPgcVRzo
Terminal command:
socat -d -d pty,raw,echo=1 pty,raw,echo=1
ARDUINO CODE
// Example testing sketch for various DHT humidity/temperature sensors
// Written by ladyada, public domain
@rafaelloab
rafaelloab / gist:7558002
Last active December 28, 2015 20:29
Steps to generate App Engine Backend in Android Studio
useful links
http://bradabrams.com/2013/06/google-io-2013-demo-android-studio-cloud-endpoints-synchronized-stopwatch-demo/
http://android-developers.blogspot.com.br/2013/06/adding-backend-to-your-app-in-android.html
https://code.google.com/p/gcm/
https://github.com/bradabrams/stopwatchio13
https://developers.google.com/appengine/docs/java/endpoints/getstarted/backend/configure_pom
http://developer.android.com/google/gcm/index.html
https://developers.google.com/events/io/sessions/324893448
Android Studio 0.3.5
@rafaelloab
rafaelloab / gist:5698092
Created June 3, 2013 13:20
Import Android projects to Android studio.
When importing, select the option to import from gradle, this way your work tree will be show correctly as the original project, otherwise if imported "from external code" android studio will mess everything up.
It is important to have a build.gradle file that really works.