-
(Amazing cloud and VPS, cheapest then other) https://www.vultr.com/
- USE Coupoun "VULTRMATCH" and double your first payment.
-
(Good and old provider but vultr use faster Intel processor) digitalocean.com
-
(Have good deals) https://www.hostwinds.com/vps/linux
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
#!/bin/bash | |
# Chrome Repo | |
sudo apt-get install fonts-liberation xdg-utils libxss1 libappindicator1 libindicator7 | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo dpkg -i google-chrome*.deb | |
sudo apt-get update | |
# Download |
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
User-agent: * | |
Disallow: /cgi-bin | |
Disallow: /? | |
Disallow: /admin/ | |
Disallow: /login/ | |
Disallow: /wp- | |
Disallow: *?p= | |
Disallow: *?s= | |
Disallow: *&s= | |
Disallow: /search/ |
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="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> | |
<script type="text/javascript"> | |
// Async custom or external scrips & styles loading | |
(function() { | |
var lazyLoaded = false; |
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="en" class="fonts-loading"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> | |
<script type="text/javascript"> | |
// Lib: https://github.com/typekit/webfontloader | |
// Async font loading | |
WebFontConfig = { |
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 | |
/** Disable XML-RPC - is a URL which hacher always used in first for Brute-Force attacks website with no using auth form */ | |
add_filter('xmlrpc_enabled', '__return_false'); | |
/** Hide username from comments */ | |
function remove_comment_author_class( $classes ) { | |
foreach( $classes as $key => $class ) { | |
if(strstr($class, "comment-author-")) { | |
unset( $classes[$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
<?php | |
if (!function_exists('app_get_theme_version')) { | |
function app_get_theme_version() { | |
$theme_info = wp_get_theme(); | |
if ( is_child_theme() ) { | |
$theme_info = wp_get_theme($theme_info->parent_theme); | |
} | |
$theme_version = $theme_info->display('Version'); |
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
/* Enabling font which stored on fonts/ folder */ | |
@font-face { | |
font-family: 'Organetto'; | |
src: url('fonts/Organetto-Light.eot'); | |
src: local('Organetto Light'), local('Organetto-Light'), | |
url('fonts/Organetto-Light.eot?#iefix') format('embedded-opentype'), | |
url('fonts/Organetto-Light.woff2') format('woff2'), | |
url('fonts/Organetto-Light.woff') format('woff'), | |
url('fonts/Organetto-Light.ttf') format('truetype'), | |
url('fonts/Organetto-Light.svg#Organetto-Light') format('svg'); |
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
location /phpmyadmin { | |
#Auth | |
auth_basic "Restricted"; | |
auth_basic_user_file /etc/nginx/pma_pass; | |
expires modified +310s; | |
#Context | |
root /usr/share/; |
- Froala Editor link: https://www.froala.com/wysiwyg-editor/
- Vue-Quill-Editor link: https://surmon-china.github.io/vue-quill-editor/
- A lightweight WYSIWYG HTML editor for Vue.js link: https://github.com/chmln/vue-wysiwyg