Skip to content

Instantly share code, notes, and snippets.

Tiago Alves alvesjtiago

View GitHub Profile
View blockstack-alvesjtiago
Verifying that "" is my Blockstack ID.
View gist:26bb5b205483b53836ce03642fdb8b44
Verifying my Blockstack ID is secured with the address 13MYwghyBdig4yYCWm6bmq7F57SD4BWAYr

Keybase proof

I hereby claim:

  • I am alvesjtiago on github.
  • I am alvesjtiago ( on keybase.
  • I have a public key ASCFy7pHq-KDb7C167I6XaAqT0Q4pMP5VAUS_IrJxzBOYwo

To claim this, I am signing this object:

View jquery.fancybox-1.3.4_patch.js
* FancyBox - jQuery Plugin
* Simple and fancy lightbox alternative
* Examples and documentation at:
* Copyright (c) 2008 - 2010 Janis Skarnelis
* That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
* Version: 1.3.4 (11/11/2010)
alvesjtiago /
Last active Dec 10, 2016
Opinionated Basic Rails Setup

Opinionated Basic Rails Setup

This is a basic Rails project setup on a Mac that helps me get up to speed when building a new app.
It is by no means a guide, reference or best practice.

Up and Run

  1. rails new project_name -d postgresql
  2. cd project_name
  3. cp config/database.yml config/example.database.yml
alvesjtiago / gist:e2c61eb288c9d488a8cc
Last active Aug 29, 2015
Remove alpha channel and transparencies from images for AppStore screenshots.
View gist:e2c61eb288c9d488a8cc
# Run the following code on a folder that contains all your images
for f in *.png; do convert "$f" -background white -alpha remove -flatten -alpha off "$f"; done
alvesjtiago / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
alvesjtiago / NSInvocation+SimpleCreation.h
Created Dec 25, 2013
Create invocations the simple way. Extracted from ITActionManager.
View NSInvocation+SimpleCreation.h
// NSInvocation+SimpleCreation.h
// Created by Tiago Alves on 08/12/13.
// Copyright (c) 2013 Iterar. All rights reserved.
#import <Foundation/Foundation.h>
alvesjtiago / List of iOS calendar components
Created Sep 5, 2013
List of iOS calendar components
View List of iOS calendar components
- Vurig Calendar:
- Tapku:
- Kal:
- iOS-Calendar:
- ABCalendarPicker:
- CKCalendar:
You can’t perform that action at this time.