This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command
$ docker-compose up -d
# To Tear Down
$ docker-compose down --volumes
events { | |
} | |
http { | |
server { | |
listen 8088; | |
server_name localhost; | |
location / { | |
# 验证 Bearer token 修改这里的key为你想用的key | |
if ($http_authorization !~ "^Bearer sk-1234567890" ) { |
version: '3.3' | |
services: | |
mssql: | |
container_name: sql-server | |
image: mcr.microsoft.com/mssql/server:2017-latest | |
#image: mcr.microsoft.com/mssql/server:2017-CU11-ubuntu | |
restart: always | |
environment: | |
ACCEPT_EULA: "Y" |
<style type="text/css"> | |
html, | |
body, | |
iframe { | |
width: 100%; | |
height: 100%; | |
} | |
</style> | |
<iframe src='https://view.officeapps.live.com/op/embed.aspx?src=https://download.microsoft.com/download/1/4/E/14EDED28-6C58-4055-A65C-23B4DA81C4DE/Products.xlsx' width='100%' height='100%' frameborder='0'> |
<?xml version="1.0" encoding="utf-8"?> | |
<DieCutLabel Version="8.0" Units="twips"> | |
<PaperOrientation>Portrait</PaperOrientation> | |
<Id>Small30332</Id> | |
<PaperName>30332 1 in x 1 in</PaperName> | |
<DrawCommands> | |
<RoundRectangle X="0" Y="0" Width="1440" Height="1440" Rx="180" Ry="180" /> | |
</DrawCommands> | |
<ObjectInfo> | |
<TextObject> |
#!/usr/bin/perl -w | |
# | |
# USB Power | |
# Krellan | |
# | |
# This script will attempt to recover a misbehaving USB serial tty device, | |
# by unbinding/rebinding the USB hub(s) that are upstream from it. | |
# This should force the device to reset itself. | |
# | |
# Usage: usbpower.pl ttyUSB0 |
#!/usr/bin/env python | |
''' | |
Send an multipart email with HTML and plain text alternatives. The message | |
should be constructed as a plain-text file of the following format: | |
From: Your Name <your@email.com> | |
To: Recipient One <recipient@to.com> | |
Subject: Your subject line | |
--- |
import json | |
import socket | |
s = socket.create_connection(("127.0.0.1", 5090)) | |
s.sendall(json.dumps(({"id": 1, "method": "Hello.Hello", "params": ["hello"]}))) | |
print s.recv(4096) |
/* http://meyerweb.com/eric/tools/css/reset/ | |
v2.0-modified | 20110126 | |
License: none (public domain) | |
*/ | |
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, |
<template id="capture"> | |
<div> | |
<modal v-if="showModal" @close="showModal = false"> | |
</modal> | |
<video id="myVideo" ref="video" playsinline="" style=" | |
-webkit-transform: scaleX(-1); | |
transform: scaleX(-1); | |
width: auto; | |
height: auto; |