Skip to content

Instantly share code, notes, and snippets.

View ut4utc's full-sized avatar

ut4utc ut4utc

View GitHub Profile
@ut4utc
ut4utc / .htaccess
Created August 19, 2021 08:59 — forked from seoagentur-hamburg/.htaccess
UPDATE 2021/01: Perfect .htaccess file for highspeed and security. You can use it for every WordPress-Website without problems. Highspeed and Security - testet on hundreds of Websites. If you are using a WordPress Multisite, change the last part of this file.
########################################################################
# OPTIMAL .htaccess FILE FOR SPEED AND SECURITY @Version 2.0.1 - 08/2020
# ----------------------------------------------------------------------
# @Author: Andreas Hecht
# @Author URI: https://seoagentur-hamburg.com
# License: GNU General Public License v2 or later
# License URI: http://www.gnu.org/licenses/gpl-2.0.html
########################################################################
How to install windows on digital ocean,
use this tutorial :
https://milankragujevic.com/how-to-install-windows-10-on-digitalocean
or if you want to create own image :
https://glitchwitch.io/blog/2018-09/windows-10-on-digitalocean/
this image .gz mirror got from whatuptime :
try first if it working>>
[Microsoft Windows Server 2012]
@ut4utc
ut4utc / SEO expired htaccess
Created October 23, 2017 10:50 — forked from danielhauchler/SEO expired htaccess
SEO expired htaccess
why should we do?
-> https://moz.com/ugc/expires-headers-for-seo-why-you-should-think-twice-before-using-them
you need to have some modules on hosting active : mod_expires.c and mod_deflate.c
other then this, you only need to add this codes to the .htaccess file, after the content that is allready there
Content compression and expiration have been enabled for domain domain.xxx
if its done, there are 4 static components without a far-future expiration date.
-> https://maps.googleapis.com/maps/api/js?key=AIzaSyBjvS4LNUdlMyIh7pM96WLkNLIxtY1VWA4&callback=initMap
-> https://fonts.googleapis.com/css?family=Open+Sans:400,700,300
@ut4utc
ut4utc / gulpfile.js
Created December 4, 2016 16:41 — forked from lewisp6/gulpfile.js
Magento 2 Minification Gulp Script
var gulp = require('gulp');
var cleanCSS = require('gulp-clean-css');
var minify = require('gulp-minify');
gulp.task('default', [
'css',
'requireJsMinify',
'jsMinify'