See: https://github.com/github/renaming
$ git config --global init.defaultBranch main
FROM php:7.4-cli-alpine | |
# Install xdebug | |
RUN apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS \ | |
&& pecl install xdebug \ | |
&& docker-php-ext-enable xdebug \ | |
&& apk del .phpize-deps | |
WORKDIR /var/www/html |
#!/usr/bin/env python | |
""" | |
Warm the caches of your website by crawling each page defined in sitemap.xml. | |
To use, download this file and make it executable. Then run: | |
./cache-warmer.py --threads 4 --file /data/web/public/sitemap.xml -v | |
""" | |
import argparse | |
import multiprocessing.pool as mpool | |
import os.path | |
import re |
See: https://github.com/github/renaming
$ git config --global init.defaultBranch main
init_config: | |
mibs_folder: /mibs | |
profiles: | |
generic: | |
definition_file: _generic-host-resources.yaml | |
instances: | |
- ip_address: $REPLACE_WITH_SYNOLOGY_IP_ADDRESS | |
community_string: public | |
snmp_version: 2 |
diff --git a/Mail/Message.php b/Mail/Message.php | |
index 1f423e801087..0e4d79aac933 100644 | |
--- a/Mail/Message.php | |
+++ b/Mail/Message.php | |
@@ -171,7 +171,6 @@ private function createMimeFromString($body, $messageType) | |
$part = new Part($body); | |
$part->setCharset($this->zendMessage->getEncoding()); | |
$part->setEncoding(Mime::ENCODING_QUOTEDPRINTABLE); | |
- $part->setDisposition(Mime::DISPOSITION_INLINE); | |
$part->setType($messageType); |
<?php | |
declare(strict_types=1); | |
namespace FunctionalTest; | |
use Doctrine\ORM\EntityManagerInterface; | |
use Doctrine\ORM\Tools\SchemaTool; | |
use PHPUnit\Framework\TestCase; | |
use Psr\Container\ContainerInterface; |
/* eslint-disable no-useless-escape */ | |
const Encore = require('@symfony/webpack-encore'); | |
const TerserPlugin = require('terser-webpack-plugin'); | |
const CircularDependencyPlugin = require('circular-dependency-plugin'); | |
const HtmlCriticalWebpackPlugin = require('html-critical-webpack-plugin'); | |
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin'); | |
const MiniCssExtractPlugin = require('mini-css-extract-plugin'); | |
const PurgeCssPlugin = require('purgecss-webpack-plugin'); | |
const WebpackBar = require('webpackbar'); | |
const path = require('path'); |
self.__serviceWorkerManifest= [ | |
// This is the HTML file that we initial load, we normalize | |
// any Slack client URL to request this same file | |
{ | |
url: "/boot/client.html", | |
hash: "52de82b6a380a284b31a6e7be0999050" | |
// Of course our JS and CSS assets are cached | |
}, { | |
url: "https://a.slack-edge.com/bv1-6-9b2646d/client-lazy-components.2ce886f.cache-gantry-1565714987.min.js", | |
hash: "2ce886f1b462f7437012" |
SAM template for a Bref HTTP application:
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Resources:
MyFunction:
Type: AWS::Serverless::Function
Properties:
#!/bin/sh | |
sudo yum install -y https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm | |
sudo yum install -y mysql-community-client |