Skip to content

Instantly share code, notes, and snippets.

View ezefranca's full-sized avatar
💻
👨🏻‍💻

Ezequiel Santos ezefranca

💻
👨🏻‍💻
View GitHub Profile
int ledPin = 13;
//led for visualization (use 13 for built-in led)
int speakerPin = 11;
//speaker connected to one of the PWM ports
#define c 261
#define d 294
#define e 329
#define f 349
@ezefranca
ezefranca / file.rb
Created February 10, 2014 06:28
Android created Gist
I just used @musixmatch to sing along to Lay All Your Love on Me by Avantasia #lyrics http://mxmt.ch/t/6648736
@ezefranca
ezefranca / hello-my-page.c
Last active September 23, 2015 19:29
nothing important
#include <stdio.h>
int main(void)
{
printf("Olá, Seja bem vindo!");
return 0;
}
@ezefranca
ezefranca / Fisica-formulas.tex
Last active September 23, 2015 19:29
Fórmulas de Física
\documentclass [a4paper] {article}
\usepackage [T1] {fontenc}
\usepackage [utf8] {inputenc}
\usepackage [portuguese] {babel}
\usepackage {url}
\usepackage {graphicx} % serve x aggiungere le immagini
\usepackage {amsmath}
\usepackage {amssymb}
\usepackage {booktabs}
\author {Ezequiel França}
/*
paper beta de grafos em linguagem C by Cooler_
contato: c00f3r[at]gmail[dot]com
O que é ?
Em matemática e ciência da computação, grafo é o objeto básico de estudo da
teoria dos grafos. Tipicamente, um grafo é representado como um conjunto de
pontos (vértices) ligados por retas (as arestas). Dependendo da aplicação, as
arestas podem ser direcionadas, e são representadas por "setas".
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
// Section One
UIView *sectionOne = [[UIView alloc] init];
[sectionOne setBackgroundColor:[UIColor clearColor]];
UILabel *label = [[UILabel alloc] initWithFrame:sectionOne.frame];
label.backgroundColor = [UIColor clearColor];
label.textAlignment = NSTextAlignmentCenter;
label.textColor = [UIColor whiteColor];
label.numberOfLines = 1;
label.text = @"Texto no Label";
//[self.view addSubview:label];
//full screen width table view separator
-(void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath{
if ([tableView respondsToSelector:@selector(setSeparatorInset:)]) {
[tableView setSeparatorInset:UIEdgeInsetsZero];
}
if ([tableView respondsToSelector:@selector(setLayoutMargins:)]) {
[tableView setLayoutMargins:UIEdgeInsetsZero];
}
@interface Article : MTLModel <MTLJSONSerializing>
@property (nonatomic) NSString *title;
@property (nonatomic) NSString *body;
@property (nonatomic) NSURL *url;
@property (nonatmoic) NSDate *dateModified;
@implementation Article
@ezefranca
ezefranca / spgeojson.json
Last active September 23, 2015 19:30
SP Geojson
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.