Skip to content

Instantly share code, notes, and snippets.

View vrunoa's full-sized avatar
🧉
ruido de mate

Bruno vrunoa

🧉
ruido de mate
View GitHub Profile
@vrunoa
vrunoa / logcat.log
Last active January 24, 2016 20:37
Compass Card fareboot log
Compass card (NXP MIFARE DESFire EV1)
application > 1 0 0
file no > 0
read data > 90 bd 0 0 7 0 0 0 0 0 0 0 0
result > 91 ae
Clipper card(MIFARE DESFire)
application > 90 11 f2
file no > 1
read data > 90 bd 0 0 7 1 0 0 0 0 0 0 0
@vrunoa
vrunoa / shell.log
Last active January 21, 2016 23:21
Weird or i'm doing something wrong ?
➜ logcatIO git:(master) ✗ npm run build
> logcatio@0.0.3 build /Users/vruno/Documents/Urucas/Node/logcatIO
> babel lib/ --out-dir dist/
lib/index.js -> dist/index.js
➜ logcatIO git:(master) ✗ cat dist/index.js
import socketio from 'socket.io';
import semafor from 'semafor';
@vrunoa
vrunoa / build.gradle
Created January 19, 2016 09:13
Running appium test from gradle
apply plugin: 'com.android.application'
apply plugin: 'maven'
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "com.urucas.appiumtests"
minSdkVersion 10
@vrunoa
vrunoa / build.gradle
Last active January 14, 2016 20:12
Create a task on gradle to get android project versionName from cli
apply plugin: 'com.android.library'
apply plugin: Version
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
defaultConfig {
minSdkVersion 10
targetSdkVersion 23
@vrunoa
vrunoa / unlink.py
Created November 24, 2015 00:27
Unlink in python
@vrunoa
vrunoa / gist:47b9d84fb53a7a03e09a
Last active August 29, 2015 14:23
ES6 default export value ?

I've been using babel on a few projects, and on my last project I got myself with this question;

I have a scan function where I want to set 2 default values

export default function scan({
  tmpFolder = "./tmp", 
  verbose = false
}){
// function body
}
/**
* Hide the addressbar on ios & android devices
* https://gist.github.com/yckart/5609969
*
* Based on the work from Nate Smith
* @see https://gist.github.com/nateps/1172490
*
* Copyright (c) 2013 Yannick Albert (http://yckart.com)
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php).
* 2013/07/10