This file contains hidden or 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
document.getElementById('info-box').style.display = 'none'; | |
var panorama = map.getStreetView(); | |
panorama.setOptions({ | |
showRoadLabels: false | |
}); |
This file contains hidden or 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
# Minha configuração de teclas de atalho do Atom | |
'body': | |
# Mover linha pra cima | |
'ctrl-shift-up': 'editor:move-line-up' | |
# Mover linha pra baixo | |
'ctrl-shift-down': 'editor:move-line-down' | |
'atom-workspace atom-text-editor:not([mini])': | |
# Deleta linha |
This file contains hidden or 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
<?php | |
$clubes = array( | |
'cap' => 'Atlético-PR', | |
'cfc' => 'Coritiba', | |
'fcc' => 'FC Cascavel', | |
'foz' => 'Foz do Iguaçu', | |
'jma' => 'JMalucelli', | |
'lon' => 'Londrina', | |
'mar' => 'Maringá', | |
'ope' => 'Operário-PR', |
This file contains hidden or 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
/* Five Columns Bootstrap */ | |
/* http://www.wearesicc.com/quick-tips-5-column-layout-with-twitter-bootstrap/ */ | |
.col-xs-15, | |
.col-sm-15, | |
.col-md-15, | |
.col-lg-15 { | |
position: relative; | |
min-height: 1px; | |
padding-right: 10px; | |
padding-left: 10px; |
This file contains hidden or 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
// Criamos um simples hash com a classe e a variável contendo os dados do sprite: | |
$icons = { | |
news: $news, | |
events: $events, | |
drink: $drink, | |
courses: $courses | |
} | |
// Iteramos o hash acima defininindo sua classe e seu conteúdo com base no sprite. | |
for $key, $value in $icons |
This file contains hidden or 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
var lcd; // Declare a variável LCD aqui pra ser acessível por outras funções | |
var onArduinoReady = function () { | |
// Quando o arduino tiver pronto | |
// ... | |
lcd = new QualquerCoisa(); | |
lcd.on('ready', onLcdReady); | |
}; |