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 | |
## | |
# This is custom wrapper for msmtp which acts like good old sendmail | |
# - It is used for php and cron | |
# - This is easier to configure for external mail server than sendmail | |
# - sendmail is just the default binary which other services will use | |
# - It needs following env: SMTP_HOST, SMTP_PASSWORD, SMTP_PORT, SMTP_AUTH, SMTP_USER | |
## | |
# This script gives itself as a parameter for msmtp |
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
{ | |
"repositories": [ | |
{ | |
"type": "composer", | |
"url": "https://wpackagist.org" | |
}, | |
{ | |
"type": "composer", | |
"url": "https://wp-languages.github.io" | |
} |
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
# Create all variables used in this Terraform run | |
variable "aws_access_key" {} | |
variable "aws_access_secret_key" {} | |
variable "aws_bucket_name" {} | |
variable "aws_region_main" { | |
default = "eu-west-1" | |
} | |
variable "aws_region_replica" { | |
default = "eu-central-1" | |
} |
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
2017-03-01T14:28:45.976072Z app[mariadb.grid6.example.com-600eaadc-a134-4419-9f94-630b3c58d4b3]: t=2017-03-01T14:28:45+0000 lvl=info msg="db init" app=mariadb component=peer online=false setup=false | |
2017-03-01T14:28:45.976111Z app[mariadb.grid6.example.com-600eaadc-a134-4419-9f94-630b3c58d4b3]: t=2017-03-01T14:28:45+0000 lvl=info msg="starting event handler" app=mariadb component=discoverd fn=receiveEvents | |
2017-03-01T14:28:45.976681Z app[mariadb.grid6.example.com-600eaadc-a134-4419-9f94-630b3c58d4b3]: t=2017-03-01T14:28:45+0000 lvl=info msg="discoverd init" app=mariadb component=peer peers=0 state=false | |
2017-03-01T14:28:45.976697Z app[mariadb.grid6.example.com-600eaadc-a134-4419-9f94-630b3c58d4b3]: t=2017-03-01T14:28:45+0000 lvl=dbug msg=moving app=mariadb component=peer | |
2017-03-01T14:28:45.976727Z app[mariadb.grid6.example.com-600eaadc-a134-4419-9f94-630b3c58d4b3]: t=2017-03-01T14:28:45+0000 lvl=info msg="starting state evaluation" app=mariadb component=peer fn=evalClusterState | |
2017-03-01T14:28:45.976749Z ap |
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 | |
databases=`mysql -e "SHOW DATABASES;" | grep -Ev "(Database|information_schema|performance_schema)"` | |
for db in databases; do | |
mysqldump --force --opt --databases $db > $db.sql | |
done |
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
FROM debian:jessie | |
MAINTAINER Onni Hakala <[email protected]> | |
ENV DEBIAN_FRONTEND=noninteractive | |
RUN set -x \ | |
# Add all deb-src addresses | |
&& echo "deb http://deb.debian.org/debian jessie main\n\ | |
deb-src http://deb.debian.org/debian jessie main\n\ |
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
#!/usr/bin/env python | |
import os | |
import re | |
import subprocess | |
import sys | |
def main(): | |
# If necessary, run gpg-agent | |
if not is_running(): |
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
package main | |
import ( | |
"log" | |
"net/http" | |
"net/http/httputil" | |
"net/url" | |
"github.com/tomnomnom/linkheader" | |
) |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="PhpServers"> | |
<servers> | |
<server host="wordpress.test" id="6b0e892b-1b0b-4db2-812d-e29244ffcff6" name="wordpress.test" port="443" use_path_mappings="true"> | |
<path_mappings> | |
<mapping local-root="$PROJECT_DIR$" remote-root="/var/www/project" /> | |
</path_mappings> | |
</server> | |
</servers> |
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
t=15910 [st= 0] +HTTP2_SESSION [dt=?] | |
--> host = "http2-server-push-demo.keksi.io:443" | |
--> proxy = "DIRECT" | |
t=15910 [st= 0] HTTP2_SESSION_INITIALIZED | |
--> protocol = "h2" | |
--> source_dependency = 705 (SOCKET) | |
t=15910 [st= 0] HTTP2_SESSION_SEND_SETTINGS | |
--> settings = ["[id:3 flags:0 value:1000]","[id:4 flags:0 value:6291456]","[id:1 flags:0 value:65536]"] | |
t=15910 [st= 0] HTTP2_STREAM_UPDATE_RECV_WINDOW | |
--> delta = 15663105 |