Skip to content

Instantly share code, notes, and snippets.

View cassianorabelo's full-sized avatar

Cassiano Rabelo cassianorabelo

View GitHub Profile
@cassianorabelo
cassianorabelo / Arduino Song
Last active December 30, 2018 15:34 — forked from eznj/star_wars.ino
Arduino Star Wars Song for Piezo
**/
const int c = 261;
const int d = 294;
const int e = 329;
const int f = 349;
const int g = 391;
const int gS = 415;
const int a = 440;
// const int aS = 455;

Keybase proof

I hereby claim:

  • I am cassianorabelo on github.
  • I am cassiano (https://keybase.io/cassiano) on keybase.
  • I have a public key ASCaJ1cgGkZF-eP108w1Sg1gRnlRjbLlJy9MLT1nhes-fwo

To claim this, I am signing this object:

@cassianorabelo
cassianorabelo / .vimrc
Created June 27, 2017 02:06 — forked from gusaiani/.vimrc
My .vimrc
call plug#begin('~/.vim/plugged')
" Shorthand notation; fetches https://github.com/junegunn/vim-easy-align
Plug 'junegunn/vim-easy-align'
" Any valid git URL is allowed
Plug 'https://github.com/junegunn/vim-github-dashboard.git'
" Multiple Plug commands can be written in a single line using | separators
Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets'
function solution(N) {
var i = false;
var big_gap = 0;
var count = 0;
while (N > 0) {
if (N%2) {
i = true;
if (count > big_gap) big_gap = count;
count = 0;
<div>
<ul>
<li><a href="#">Lorem</a></li>
<li><a href="#">Aliquam</a></li>
<li><a href="#">Vestibulum</a></li>
</ul>
</div>
@cassianorabelo
cassianorabelo / estados_e_municipios_brasileiros.sql
Last active January 9, 2019 18:26
Todos os municípios brasileiros relacionados à seus respectivos estados e o distrito federal em formato SQL. Os municípios e unidades da federação foram retirados do site do IBGE em janeiro de 2013 utilizando um parser desenvolvido em Node.js. Fonte: http://www.ibge.gov.br/cidadesat/
/*
* Copyright 2013, Cassiano Rabelo (http://www.cassianorabelo.com)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @Copyright Copyright 2013, Cassiano Rabelo (http://www.cassianorabelo.com)
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
* Date: 01/03/2013
* Fonte: http://www.ibge.gov.br/cidadesat