Skip to content

Instantly share code, notes, and snippets.

View comigor's full-sized avatar
:shipit:
Shippin'

Igor Borges comigor

:shipit:
Shippin'
View GitHub Profile
@comigor
comigor / designer.html
Last active August 29, 2015 14:10
designer
<link rel="import" href="../core-pages/core-pages.html">
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-calculator/paper-calculator.html">
@comigor
comigor / PKGBUILD
Last active August 29, 2015 14:11
mmex-git PKGBUILD
# Maintainer: Igor Borges <[email protected]>
_pkgname=mmex
pkgname=mmex-git
pkgver=1.2.0
pkgrel=2
pkgdesc="Money Manager Ex"
arch=('i686' 'x86_64')
url="http://www.moneymanagerex.org/"
license=('GPL')
@comigor
comigor / crosswalk.patch
Last active August 29, 2015 14:24
Crosswalk patch for Meteor devel branch, based on https://github.com/copleykj/meteor/tree/cordova5-update
From aeb068a26dbedafea956c9abf5ebd41dc2ee79f1 Mon Sep 17 00:00:00 2001
From: Igor Borges <[email protected]>
Date: Thu, 9 Jul 2015 03:14:02 -0300
Subject: [PATCH] Crosswalk patch
---
packages/autoupdate/package.js | 2 +-
packages/coffeescript/package.js | 2 +-
packages/crosswalk/package.js | 9 +++++++++
packages/ddp/package.js | 2 +-

Keybase proof

I hereby claim:

  • I am Igor1201 on github.
  • I am borges (https://keybase.io/borges) on keybase.
  • I have a public key whose fingerprint is 123C 68A4 CBE1 A1FC 20A0 EAC9 BD07 FF1D 7AD2 4624

To claim this, I am signing this object:

@comigor
comigor / oiwarren.sh
Last active February 13, 2018 13:11
Log-in and retrieve your OiWarren account's portfolios
#!/bin/bash
function get_token() {
echo -n "OiWarren email: "
read email
echo -n "OiWarren password: "
read -s password
echo
local login_response=$(curl -s -w "\n%{http_code}" https://api.oiwarren.com/api/v2/account/login \
@comigor
comigor / easynvest.sh
Last active July 25, 2018 14:06
Log-in and retrieve your Easynvest account's investments
#!/bin/bash
function get_token() {
echo -n "Easynvest login: "
read login
echo -n "Easynvest password: "
read -s password
echo
local login_response=$(curl -s -w "\n%{http_code}" https://auth.app.easynvest.com.br/v1/users/me/tokens \
@comigor
comigor / intermedium.sh
Created January 11, 2017 06:02
intermedium.sh
#!/bin/bash
cookies="$HOME/.intermediumcookies"
rm $cookies
headers_first="--cookie $cookies --cookie-jar $cookies -s -H 'Pragma: no-cache' -H 'DNT: 1' -H 'Accept-Encoding: gzip, deflate, sdch, br' -H 'Accept-Language: en-US,en;q=0.8' -H 'Upgrade-Insecure-Requests: 1' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' -H 'Cache-Control: no-cache' -H 'Connection: keep-alive'"
headers_second="--cookie $cookies --cookie-jar $cookies -s -H 'Pragma: no-cache' -H 'Origin: https://internetbanking.intermedium.com.br' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: en-US,en;q=0.8' -H 'Upgrade-Insecure-Requests: 1' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Accept: text/html,appl
@comigor
comigor / circle-install-android.sdk.sh
Last active November 21, 2022 16:41
Install Android SDK on a CircleCI OSX machine
#!/bin/bash
# from https://gist.github.com/Igor1201/5036401727a9c178193b1e0688e1eb3c
set -eo pipefail
export ANDROID_HOME="/usr/local/share/android-sdk"
export PATH="$PATH:$ANDROID_HOME/tools/bin"
# set variables
ANDROID_SDK_URL="https://dl.google.com/android/repository/sdk-tools-darwin-3859397.zip"
ANDROID_SDK_SHA="4a81754a760fce88cba74d69c364b05b31c53d57b26f9f82355c61d5fe4b9df9"
#!/usr/bin/env python3
import tkinter as tk
from tkinter import simpledialog, messagebox
import threading, queue, time
root = tk.Tk()
root.withdraw()
thread_queue = queue.Queue()
@comigor
comigor / README.md
Created November 14, 2018 15:33
Generate a Pomfile to an Android library (AAR)

Maven Publish Pomfile Generator

To be used in conjunction of maven-publish to correctly generate an AAR Pomfile.

Why?

For some reason, I can't get maven-publish to generate a Pomfile when I'm exporting an Android library (AAR). This plugin generates the Pomfile by looking at library's classpath and exclusions.

Usage