Don't know the HEX value of a certain color? Well, choose a color in the HTML5 color picker and click refresh to generate that color's HEX value!
A Pen by Daniel Ramirez on CodePen.
Don't know the HEX value of a certain color? Well, choose a color in the HTML5 color picker and click refresh to generate that color's HEX value!
A Pen by Daniel Ramirez on CodePen.
| # Install Nginx | |
| sudo yum install epel-release | |
| sudo yum install nginx | |
| sudo systemctl start nginx | |
| sudo systemctl enable nginx | |
| # Install MySQL (MariaDB) | |
| sudo yum install mariadb-server mariadb | |
| sudo systemctl start mariadb | |
| sudo systemctl enable mariadb |
| # Install updates | |
| sudo apt-get update && sudo apt-get upgrade | |
| # Update kernel | |
| sudo apt-get update && sudo apt-get dist-upgrade | |
| # Install LEMP | |
| sudo apt-get update && sudo apt-get install software-properties-common | |
| sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db | |
| sudo add-apt-repository 'deb http://mariadb.kisiek.net//repo/10.0/ubuntu trusty main' |
Helps you find the original source of a video/image
(c) 2017
| <?php | |
| function disable_wp_emoji() { | |
| // all actions related to emojis | |
| remove_action( 'admin_print_styles', 'print_emoji_styles' ); | |
| remove_action( 'wp_head', 'print_emoji_detection_script', 7 ); | |
| remove_action( 'admin_print_scripts', 'print_emoji_detection_script' ); | |
| remove_action( 'wp_print_styles', 'print_emoji_styles' ); | |
| remove_filter( 'wp_mail', 'wp_staticize_emoji_for_email' ); |
| <?php | |
| namespace Acme\BlogBanner; | |
| use System\Classes\PluginBase; | |
| use Event; | |
| /** | |
| * Class Plugin | |
| * |
| APP_DEBUG=true | |
| APP_URL=http://example.local | |
| APP_KEY= | |
| DB_CONNECTION=mysql | |
| DB_HOST=localhost | |
| DB_PORT=3306 | |
| DB_DATABASE=website-oc-example-LOCAL | |
| DB_USERNAME=homestead | |
| DB_PASSWORD=secret |
| // Generate unique IDs for use as pseudo-private/protected names. | |
| // Similar in concept to | |
| // <http://wiki.ecmascript.org/doku.php?id=strawman:names>. | |
| // | |
| // The goals of this function are twofold: | |
| // | |
| // * Provide a way to generate a string guaranteed to be unique when compared | |
| // to other strings generated by this function. | |
| // * Make the string complex enough that it is highly unlikely to be | |
| // accidentally duplicated by hand (this is key if you're using `ID` |
| .sr-only { | |
| clip: rect(1px, 1px, 1px, 1px); | |
| clip-path: inset(50%); | |
| height: 1px; | |
| width: 1px; | |
| margin: -1px; | |
| overflow: hidden; | |
| padding: 0; | |
| position: absolute; | |
| } |
| export const getPages = () => { | |
| const ctx = require.context('./', true, /\.js$/); | |
| return ctx | |
| .keys() | |
| .filter(page => !page.startsWith('./_')) // Filters out _app.js and _document.js | |
| .map(page => { | |
| page = page | |
| .replace(/(\/index)?\.js$/i, '') // Removes the index.js files | |
| .replace(/\.(\/)?/i, '/'); // Normalize the homepage directory to "/" |