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
:active,:focus{outline:none;} | |
::-moz-focus-inner{border:0;} | |
input:focus,textarea:focus,button:focus{outline:none !important} | |
body{margin:0;padding:0} | |
img{height:auto;image-rendering:-webkit-optimize-contrast;max-width:100%} | |
select { | |
/* for Firefox */ | |
-moz-appearance: none; | |
/* for Chrome */ | |
-webkit-appearance: none; |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Font Background Image Demo</title> | |
<link href="https://fonts.googleapis.com/css?family=Bungee:regular" rel="stylesheet" /> | |
<style> | |
*{ |
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
# Serve from current directory without Babel-JS & Webpack | |
> browser-sync start --proxy "127.0.0.1" --directory --files "**/*" | |
# Babel JS | |
> npm install webpack -g | |
> npm init | |
> npm install webpack --save-dev | |
> webpack assets/js/app.js assets/js/app.bundle.js [Part 1] | |
> npm install babel-core babel-loader babel-preset-env --save-dev |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Triple State Checkbox</title> | |
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> | |
<style type="text/css"> | |
.fancy-checkbox:hover{cursor:pointer} |
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
xrandr --newmode "1920x1080" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync | |
xrandr --addmode Virtual1 1920x1080 | |
xrandr --output Virtual1 --mode 1920x1080 |
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
// Add woocommerce class in body | |
<body <?php body_class('woocommerce'); ?> | |
// Set BlockUI on any element | |
jQuery(element).block({ | |
message: null, | |
overlayCSS: { | |
cursor: 'none', | |
background: '#fff', | |
opacity: 0.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
<?php | |
/* | |
* This is needed for cookie based authentication to encrypt password in | |
* cookie | |
*/ | |
$cfg['blowfish_secret'] = 'xampp'; /* YOU SHOULD CHANGE THIS FOR A MORE SECURE COOKIE AUTH! */ | |
$cfg['UploadDir'] = 'upload'; | |
/* | |
* Servers configuration | |
*/ |
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
# Ref: https://stackoverflow.com/questions/15965376/how-to-configure-xampp-to-send-mail-from-localhost#answer-18185233 | |
You can send mail from localhost with sendmail package , sendmail package is inbuild in XAMPP. So if you are using XAMPP then you can easily send mail from localhost. | |
for example you can configure C:\xampp\php\php.ini and c:\xampp\sendmail\sendmail.ini for gmail to send mail. | |
in C:\xampp\php\php.ini find extension=php_openssl.dll and remove the semicolon from the beginning of that line to make SSL working for gmail for localhost. | |
in php.ini file find [mail function] and change |
OlderNewer