Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View diegobz's full-sized avatar

Diego Búrigo Zacarão diegobz

View GitHub Profile
@diegobz
diegobz / README.md
Last active April 26, 2017 18:15
Quick script to setup transifex-client when multiple source files are involved.

Setup transifex-client for hundreds of source files with a single command

Quick start

Given the following directory structure:

└── locale
    ├── es
    │   └── intro

│   ├── get-started.html

{
"title": "Aplicativo para celular muito massa",
"start_now": "Olá galera, comecem já!"
}
{
"title": "Awesome Mobile App",
"start_now": "Hey folks, start now!"
}
/* Title of the app */
"title" = "App iOS";
"start_now" = "Comece agora!";
* Title of the app */
"title" = "iOS App";
"start_now" = "Start Now!";
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="title">Android app</string>
<string name="start">Start Now!</string>
</resources>
@diegobz
diegobz / en.json
Last active August 23, 2016 22:02
{
"title": "Mobile app",
"start_now": "Start Now!"
}
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 6.
'Source string', 'datetime', wordcount
'$ hexdump -C sqlite.db', '2015-03-10 14:23:20', 4
'[LEARN MORE AND DOWNLOAD](http://sqlcipher.net/open-source/)', '2015-03-20 14:42:39', 4),
'In an environment where mobile data privacy is increasingly [in the headlines](http://www.reuters.com/article/2011/05/08/us-privacy-congress-idUSTRE7471SA20110508), this project will make it easier than ever for mobile developers to properly secure their local application data, and in turn better protect the privacy of their users. The data stored by Android apps protected by this type of encryption will be less vulnerable to access by malicious apps, protected in case of device loss or theft, and highly resistant to [mobile data forensics tools](http://www.cellebrite.com/) that are increasingly used to mass copy a mobile device during [routine traffic stops](http://www.thenewspaper.com/news/34/3458.asp).', '2015-03-20 14:41:30', 91
'## Introduction', '2015-03-20 14:41:21', 2
"# How do I protect my app's data (SQLCipher: Encrypted
en:
token_custom: "Custom token."
token:
one: "1 Token"
other: "%{count}"
@diegobz
diegobz / circleci.yml
Created February 11, 2015 06:23
CircleCI Integration with Transifex
deployment:
txpush:
branch: devel
commands:
- ./txpush.sh