This file contains 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 | |
function scrypt( $string, $action = 'e' ) { | |
// you may change these values to your own | |
$secret_key = 'my_simple_secret_key'; | |
$secret_iv = 'my_simple_secret_iv'; | |
$output = false; | |
$encrypt_method = "AES-256-CBC"; | |
$key = hash( 'sha256', $secret_key ); |
This file contains 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
// Connect fonts | |
@mixin cfont($name, $dir, $file-name){ | |
font-family: '#{$name}'; | |
src: url('../fonts/#{$dir}/#{$file-name}.eot'); | |
src: local('☺'), | |
url('../fonts/#{$dir}/#{$file-name}.woff') format('woff'), | |
url('../fonts/#{$dir}/#{$file-name}.ttf') format('truetype'), | |
url('../fonts/#{$dir}/#{$file-name}.svg') format('svg'); | |
font-weight: normal; | |
font-style: normal; |
This file contains 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="ru"> | |
<head> | |
<meta charset="utf-8"> | |
<link rel="shortcut icon" href="https://example.com/favicon.ico" type="image/x-icon"> | |
<link rel="stylesheet" href="https://example.com/css/style.css"> | |
<link rel="image_src" href="https://example.com/image.png"> | |
<link rel="canonical" href="https://example.com/"> | |
<meta property="og:title" content="Title"> | |
<meta property="og:description" content="Description"> |