Skip to content

Instantly share code, notes, and snippets.

@franhb
franhb / UseApiKey.java
Created February 19, 2018 09:32 — forked from curioustechizen/UseApiKey.java
Android: Loading API Keys and other secrets from properties file using gradle
String apiKey = BuildConfig.API_KEY
@franhb
franhb / tmux-sesion.sh
Last active November 30, 2016 10:40
Script de inicio de tmux
#!/usr/bin/env bash
SESSION_NAME="sesion"
tmux has-session -t $SESSION_NAME 2>/dev/null
if [ "$?" -eq 1 ] ; then
tmux new-session -d -s $SESSION_NAME
tmux send-keys -t $SESSION_NAME:0 "cd /ruta1" C-m
# divide la pantalla en dos panele horizontales
tmux split-window -v
{"status":0,"data":{"calls":{"spenttime":1744,"spentcash":0,"totaltime":6000,"count":42},"sms":{"count":0,"cost":0},"data1":{"kbytes":19944.8310547,"totalkbytes":102400}}}