Skip to content

Instantly share code, notes, and snippets.

Tiago Alves alvesjtiago

View GitHub Profile
View blockstack-alvesjtiago
Verifying that "alvesjtiago.id" is my Blockstack ID. https://explorer.blockstack.org/name/alvesjtiago.id
View gist:26bb5b205483b53836ce03642fdb8b44
Verifying my Blockstack ID is secured with the address 13MYwghyBdig4yYCWm6bmq7F57SD4BWAYr
View keybase.md

Keybase proof

I hereby claim:

  • I am alvesjtiago on github.
  • I am alvesjtiago (https://keybase.io/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: http://fancybox.net
*
* 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
alvesjtiago / opinionated_basic_rails_setup.md
Last active Dec 10, 2016
Opinionated Basic Rails Setup
View opinionated_basic_rails_setup.md

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
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
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
alvesjtiago / NSInvocation+SimpleCreation.h
Created Dec 25, 2013
Create invocations the simple way. Extracted from ITActionManager.
View NSInvocation+SimpleCreation.h
//
// NSInvocation+SimpleCreation.h
// MAPI
//
// Created by Tiago Alves on 08/12/13.
// Copyright (c) 2013 Iterar. All rights reserved.
//
#import <Foundation/Foundation.h>
@alvesjtiago
alvesjtiago / List of iOS calendar components
Created Sep 5, 2013
List of iOS calendar components
View List of iOS calendar components
- Vurig Calendar: https://github.com/TjeerdVurig/Vurig-Calendar
- Tapku: https://github.com/devinross/tapkulibrary
- Kal: https://github.com/klazuka/Kal
- iOS-Calendar: https://github.com/vgrichina/ios-calendar
- ABCalendarPicker: https://github.com/k06a/ABCalendarPicker
- CKCalendar: https://github.com/jaykz52/CKCalendar
You can’t perform that action at this time.