Skip to content

Instantly share code, notes, and snippets.

View adleroliveira's full-sized avatar

Adler Oliveira adleroliveira

View GitHub Profile
let edificios = [
[2, 9, 10],
[2, 4, 12],
[3, 7, 15],
[5, 12, 12],
[15, 20, 10],
[19, 24, 8]
]
function skyline(buildings){
@adleroliveira
adleroliveira / file0.txt
Created December 24, 2015 13:01 — forked from giwa/file0.txt
Install g++/gcc 4.8.2 in CentOS 6.6 ref: http://qiita.com/giwa/items/28c754d8fc2936c0f6d2
$ wget http://people.centos.org/tru/devtools-2/devtools-2.repo -O /etc/yum.repos.d/devtools-2.repo
$ yum install devtoolset-2-gcc devtoolset-2-binutils
$ yum install devtoolset-2-gcc-c++ devtoolset-2-gcc-gfortran
//Go to http://kuku-kube.com/ paste this on the console and hit enter
//Have fun
(function(){
$('.play-btn').trigger('click');
var win = function(){
$('#box').find('span').each(function(){
if($(this).data().type=='a'){
$(this).trigger('click');
};