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 canNotify = function() { | |
| if ("Notification" in window) { | |
| if (Notification.permission === 'granted') { | |
| return true; | |
| } else if (Notification.permission !== 'denied') { | |
| Notification.requestPermission(function (permission) { | |
| if(!('permission' in Notification)) { | |
| Notification.permission = permission; | |
| } |
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
| alter database tempfile '<path to TMP.dbf file>' resize 250M; |
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
| ;(function ($) { | |
| 'use strict'; | |
| }(jQuery)); |
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
| .rounded { | |
| -moz-border-radius: 0.6rem; | |
| -webkit-border-radius: 0.6rem; | |
| border-radius: 0.6rem; | |
| } |
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
| .flash { | |
| -moz-animation: flash 2s ease-out; | |
| -moz-animation-iteration-count: 1; | |
| -webkit-animation: flash 2s ease-out; | |
| -webkit-animation-iteration-count: 1; | |
| -ms-animation: flash 2s ease-out; | |
| -ms-animation-iteration-count: 1; | |
| animation: flash 2s ease-out; | |
| animation-iteration-count: 1; | |
| } |
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
| $ mysql -u root -p | |
| Enter password: | |
| mysql> create database amarokdb; | |
| Query OK, 1 row affected (0.00 sec) | |
| mysql> grant usage on *.* to amarokuser@localhost identified by ‘amarokpasswd’; | |
| Query OK, 0 rows affected (0.00 sec) | |
| mysql> grant usage on *.* to amarokuser@localhost identified by ‘amarokpasswd’; |
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
| wget -rkpE <uri> | |
| # -r : récursif | |
| # -k : converti les liens en liens locaux | |
| # -p : télécharge tous les fichiers nécéssaires à l'affichage de la page en local | |
| # -E : modifie les extensions des pages Web en .html |
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
| #example1 { | |
| /* fallback */ | |
| background-color: #063053; | |
| /* chrome 2+, safari 4+; multiple color stops */ | |
| background-image:-webkit-gradient(linear, left bottom, left top, color-stop(0.32, #063053), color-stop(0.66, #395873), color-stop(0.83, #5c7c99)); | |
| /* chrome 10+, safari 5.1+ */ | |
| background-image: -webkit-linear-gradient(#063053, #395873, #5c7c99); | |
| /* firefox; multiple color stops */ | |
| background-image: -moz-linear-gradient(top,#063053, #395873, #5c7c99); | |
| /* ie 6+ */ |
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
| .fullscreen { | |
| background-color: #e3e3e3; | |
| position: absolute; | |
| width: 100%; | |
| height: 100%; | |
| top: 0 ; | |
| left: 0; | |
| z-index: 10; | |
| overflow-x: hidden; | |
| } |
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
| .obox { | |
| top: 0; | |
| left: 0; | |
| position: absolute; | |
| z-index: 100; | |
| overflow-x: hidden; | |
| overflow-y: auto; | |
| /*max-width: 930px;*/ | |
| } |