- Debian Buster [2019-07-18]
- Debian Bullseye [2022-04-28]
apt update
apt full-upgrade
apt install certbot nginx-full
# Note: You will want to add the snippet: `include "pagespeed-requirement.vcl";` above your `vcl_recv` in the default.vcl file. | |
sub vcl_recv { | |
call pagespeed_capability_detection; | |
} | |
# Function derived from requirements here https://modpagespeed.com/doc/downstream-caching#ps-capabilitylist | |
# Additional detection logic for crawlers, tablet and mobile devices. | |
sub pagespeed_capability_detection { | |
if (req.http.User-Agent ~ "(?i)Chrome/[3][2-9]+\.|Chrome/[4-9][0-9]+\.|Chrome/[0-9]{3,}\.") { |
#!/bin/bash | |
set -o errexit -o nounset -o pipefail | |
export LC_ALL=C | |
# Checks for NVMe disks. nmve-cli must be installed. | |
# | |
# Author: Tomas Barton | |
# Requirements: | |
# nvme-cli - git clone https://github.com/linux-nvme/nvme-cli | |
# | |
# Usage: |
diff -ruN orig/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c new/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c | |
--- orig/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c 2016-11-15 02:37:25.000000000 -0800 | |
+++ new/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c 2017-01-18 02:18:08.000000000 -0800 | |
@@ -383,7 +383,7 @@ | |
} | |
static int prlfs_rename(struct inode *old_dir, struct dentry *old_de, | |
- struct inode *new_dir, struct dentry *new_de) | |
+ struct inode *new_dir, struct dentry *new_de, unsigned int dummy) | |
{ |
<IfModule mod_pagespeed> | |
# General Configuration | |
ModPagespeed on | |
ModPagespeedDomain *.domain.com | |
ModPagespeedDomain images.domain.com | |
ModPagespeedDomain assets.domain.com | |
ModPagespeedStatistics on | |
ModPagespeedStatisticsLogging on | |
ModPagespeedLogDir /home/domain.com/public_html/var/pagespeed |
-- | |
-- Remove Orders | |
-- | |
DELETE FROM sales_flat_order; | |
DELETE FROM sales_flat_creditmemo_comment; | |
DELETE FROM sales_flat_creditmemo_item; | |
DELETE FROM sales_flat_creditmemo; | |
DELETE FROM sales_flat_creditmemo_grid; | |
DELETE FROM sales_flat_invoice_comment; |
From 473846959772d8160b34b92ae3bcecddf24b972f Mon Sep 17 00:00:00 2001 | |
From: =?UTF-8?q?Julian=20Nu=C3=9F?= <[email protected]> | |
Date: Tue, 23 Sep 2014 21:07:29 +0200 | |
Subject: [PATCH 1/1] [BUGIFX] Zend Framework 1 + PHP5.6 | |
--- | |
lib/Zend/Locale/Format.php | 22 +++++++++++----------- | |
lib/Zend/Service/Audioscrobbler.php | 6 +++--- | |
lib/Zend/Service/Technorati.php | 6 +++--- | |
lib/Zend/Validate/Hostname.php | 4 ++-- |
Google Chrome Developers says:
The new WOFF 2.0 Web Font compression format offers a 30% average gain over WOFF 1.0 (up to 50%+ in some cases). WOFF 2.0 is available since Chrome 36 and Opera 23.
Some examples of file size differences: WOFF vs. WOFF2
#!/usr/bin/env python2 | |
""" | |
Author: takeshix <[email protected]> | |
PoC code for CVE-2014-0160. Original PoC by Jared Stafford ([email protected]). | |
Supportes all versions of TLS and has STARTTLS support for SMTP,POP3,IMAP,FTP and XMPP. | |
""" | |
import sys,struct,socket | |
from argparse import ArgumentParser |
location / { | |
index index.html index.php; | |
try_files $uri $uri/ @handler; | |
expires 5h; | |
} | |
location ^~ /media/ { | |
expires max; | |
} | |
location ^~ /skin/ { | |
expires max; |