Skip to content

Instantly share code, notes, and snippets.

View 1fabiopereira's full-sized avatar
👨‍💻
Working from home

Fábio Pereira 1fabiopereira

👨‍💻
Working from home
  • Guaratinguetá - SP, Brazil
View GitHub Profile
@1fabiopereira
1fabiopereira / PackageApplication
Created June 13, 2017 12:44
PackageApplication script from Xcode 8.2.1
#!/usr/bin/perl
#
# PackageApplication
#
# Copyright (c) 2009-2012 Apple Inc. All rights reserved.
#
# Package an iPhone Application into an .ipa wrapper
#
use Pod::Usage;
@1fabiopereira
1fabiopereira / restapi.js
Created April 27, 2017 11:18 — forked from yeco/restapi.js
Rest API Adapter for Titanium Alloy
/**
* Rest API Adapter for Titanium Alloy
*/
function S4() {
return ((1 + Math.random()) * 65536 | 0).toString(16).substring(1);
}
function guid() {
return S4() + S4() + "-" + S4() + "-" + S4() + "-" + S4() + "-" + S4() + S4() + S4();
@1fabiopereira
1fabiopereira / microservice-seneca-express.md
Created November 11, 2016 15:06 — forked from umidjons/microservice-seneca-express.md
Simple microservice with Seneca and Express

Simple microservice with Seneca and Express

Microservice implementation

Installing microservice dependencies

mkdir mathms
cd mathms
npm init
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.example.http.authenticate;
import java.io.*;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;