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 blinkTab = function(message) { | |
var oldTitle = document.title, /* save original title */ | |
timeoutId, | |
blink = function() { document.title = document.title == message ? ' ' : message; }, /* function to BLINK browser tab */ | |
clear = function() { /* function to set title back to original */ | |
clearInterval(timeoutId); | |
document.title = oldTitle; | |
window.onmousemove = null; | |
timeoutId = null; | |
}; |
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
/* global Framework7 */ | |
import { schedule } from '@ember/runloop'; | |
export function initialize() { | |
return schedule('afterRender', function () { | |
new Framework7({ | |
theme : 'md' | |
}); | |
}); | |
} |
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
1) Popule a tabela de timezones (sem esse passo nada funcionará) | |
$ mysql_tzinfo_to_sql /usr/share/zoneinfo/ | mysql -u root -p mysql | |
2) Edite o arquivo /etc/mysql/mysql.conf.d/mysqld.cnf | |
$ sudo vim /etc/mysql/mysql.conf.d/mysqld.cnf | |
3) Adicione a seguinte linha abaixo de [mysqld] |
OlderNewer