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
| version: "2" | |
| services: | |
| mariadb: | |
| image: wodby/drupal-mariadb | |
| environment: | |
| MYSQL_RANDOM_ROOT_PASSWORD: 1 | |
| MYSQL_DATABASE: drupal | |
| MYSQL_USER: drupal | |
| MYSQL_PASSWORD: drupal |
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
| angular.module('angularApp'). | |
| directive('dt', function(){ | |
| return { | |
| require: '?ngModel', | |
| restrict: 'A', | |
| link: function ($scope, element, attrs, controller) { | |
| var updateModel, onblur; | |
| if (controller !== 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
| { | |
| "theme": "Flatland Dark.sublime-theme", | |
| "color_scheme": "Packages/Theme - Flatland/Flatland Monokai.tmTheme", | |
| "flatland_sidebar_tree_small": true, | |
| "font_size": 9, | |
| "tab_size": 4, | |
| "translate_tabs_to_spaces": true, | |
| "trim_automatic_white_space": true, | |
| "trim_trailing_white_space_on_save": true, |
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
| openssl base64 -in path/to/my/image | tr -d '\n\' |
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
| .lol { | |
| background: #222 ; | |
| background-image : url('http://loadinggif.com/generated-image?imageId=3&bgColor=%23333&fgColor=%23ddd&transparentBg=1&download=0&random=0.09613908641040325') !important; | |
| background-repeat: no-repeat; | |
| background-position-x: 200%; | |
| background-position-y: 50%; | |
| transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) all !important; | |
| background-size: 20px; | |
| } |
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
| img.grayscale { | |
| filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */ | |
| filter: gray; /* IE6-9 */ | |
| -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */ | |
| } | |
| img.blur { | |
| filter: blur(3px); -webkit-filter: blur(3px); -moz-filter: blur(3px); | |
| -o-filter: blur(3px); -ms-filter: blur(3px); | |
| filter: url("data:image/svg+xml;utf8,<svg version=\'1.1\' xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'blur\'><feGaussianBlur stdDeviation=\'3\'/></filter></svg>#blur"); | |
| filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='3'); |
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
| #!/bin/bash | |
| # Alias, coloration syntaxique, et fonctions supplémentaires. | |
| USER='toto' | |
| HOST='toto-linux' | |
| export EDITOR='nano' | |
| # Couleurs pour le prompt. | |
| DEFAULT="\[\033[00m\]" |