🏄♂️
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script's goals | |
# | |
# 1 - Trim image | |
# 2 - Create folder for exported ones | |
# 3 - Convert proportionally | |
# | |
# Script usage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// UILabel+UtilityAttributes.h | |
// | |
// Created by Paulo Almeida on 1/31/14. | |
// | |
#import <UIKit/UIKit.h> | |
@interface UILabel (UtilityAttributes) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// UIImageView+WebCacheWithActivityIndicator.h | |
// | |
// Created by Paulo Miguel Almeida on 2/3/14. | |
// | |
#import <UIKit/UIKit.h> | |
#import <SDWebImage/UIImageView+WebCache.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// DateUtils.h | |
// | |
// Created by Paulo Miguel Almeida on 2/8/14. | |
// | |
#import <Foundation/Foundation.h> | |
@interface DateUtils : NSObject |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// AppDelegate.m | |
// | |
// Created by andre.michels on 12/3/13. | |
// | |
#import "AppDelegate.h" | |
#import "NetworkAvailabilityUtils.h" | |
@implementation TableViewHistoryAppDelegate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// UIView+LoadingWithActivityIndicator.h | |
// | |
// Created by Paulo Miguel Almeida on 2/11/14. | |
// Copyright (c) 2014 Paulo Miguel Almeida. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> | |
@interface UIView (LoadingWithActivityIndicator) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#References | |
# | |
#http://schnelle-walka.blogspot.com.br/2013/04/openni-20-with-fedora-18.html | |
#https://github.com/OpenKinect/libfreenect#fetch-build | |
# A couple of threads on StackOverflow but unfortunately I can't remember all of them | |
#Install Dependencies: | |
yum install libXmu-devel libudev-devel libusb1-devel mesa-libGLU-devel freeglut-devel freeglut-devel cmake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.imageio.ImageIO; | |
import java.awt.*; | |
import java.awt.color.ColorSpace; | |
import java.awt.image.BufferedImage; | |
import java.io.File; | |
import java.io.IOException; | |
import java.util.Random; | |
/** | |
* Class used to create a bunch of images with random color for later use |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Makefile | |
ifeq ($(shell pkg-config --modversion opencv),) | |
$(error Package gtkmm-2.4 needed to compile) | |
endif | |
CXXFLAGS += `pkg-config --cflags opencv` | |
LDLIBS += `pkg-config --libs opencv` | |
BINS = program | |
program_OBJS = main.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
# Usage ./download.sh <bucket_name> <target_folder> | |
# Example: ./download.sh test ./files_today | |
# Note: you must configure your awscli before use this. Execute aws configure | |
BUCKET_NAME=$1 | |
TARGET_DIR=$2 | |
FILES_LIST=$TARGET_DIR/files.txt |
OlderNewer