Skip to content

Instantly share code, notes, and snippets.

View luizcarraro's full-sized avatar
🏠
Working from home

Luiz Carraro luizcarraro

🏠
Working from home
  • Pato Branco - BR
View GitHub Profile
@luizcarraro
luizcarraro / blink.js
Created January 10, 2019 19:38
Makes browser tab blink with text
@luizcarraro
luizcarraro / framework7.js
Created October 1, 2019 22:45
Inicializa o Framework7 no ember-cli
/* global Framework7 */
import { schedule } from '@ember/runloop';
export function initialize() {
return schedule('afterRender', function () {
new Framework7({
theme : 'md'
});
});
}
@luizcarraro
luizcarraro / config.txt
Last active March 26, 2020 19:14
Configurar MYSQL em UTC
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]