title: The PUJI Introduction to NGINX ver.2019.11 date: 2019-10-28 22:51:24 updated: 2023-04-09 15:42:59 tags:
- Hexo
- nginx
- TLS/HTTPS
- Let's Encrypt
- 博客
import argparse | |
import imghdr | |
import os | |
import struct | |
def get_image_type(imgname, imgdata=None): | |
imgtype = imghdr.what(imgname, imgdata) | |
# horrible hack since imghdr detects jxr/wdp as tiffs |
slanterns@LAPTOP-EGD4SAUE:~$ openssl s_client -connect slanterns.net:443 -tls1_3 -keylogfile=sslkeylog.log -sess_out=tls13.sess CONNECTED(00000006) | |
depth=2 O = Digital Signature Trust Co., CN = DST Root CA X3 | |
verify return:1 | |
depth=1 C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3 | |
verify return:1 | |
depth=0 CN = slanterns.net | |
verify return:1 | |
--- | |
Certificate chain | |
0 s:CN = slanterns.net |
1 |
#requires -Version 2 -Modules posh-git | |
function Write-Theme { | |
param( | |
[bool] | |
$lastCommandFailed, | |
[string] | |
$with | |
) |
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"globals" : | |
{ | |
"alwaysShowTabs" : true, | |
"defaultProfile" : "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", | |
"initialCols" : 120, | |
"initialRows" : 30, | |
"keybindings" : | |
[ |
// This file was initially generated by Windows Terminal 1.0.1401.0 | |
// It should still be usable in newer versions, but newer versions might have additional | |
// settings, help text, or changes that you will not see unless you clear this file | |
// and let us generate a new one for you. | |
// To view the default settings, hold "alt" while clicking on the "Settings" button. | |
// For documentation on these settings, see: https://aka.ms/terminal-documentation | |
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", |
// This file was initially generated by Windows Terminal 1.0.1401.0 | |
// It should still be usable in newer versions, but newer versions might have additional | |
// settings, help text, or changes that you will not see unless you clear this file | |
// and let us generate a new one for you. | |
// To view the default settings, hold "alt" while clicking on the "Settings" button. | |
// For documentation on these settings, see: https://aka.ms/terminal-documentation | |
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", |
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", | |
"copyOnSelect": false, | |
"copyFormatting": false, | |
"theme": "dark", | |
"confirmCloseAllTabs": false, | |
"profiles": | |
{ | |
"defaults": |
title: The PUJI Introduction to NGINX ver.2019.11 date: 2019-10-28 22:51:24 updated: 2023-04-09 15:42:59 tags:
package hello | |
import πg "grumpy" | |
var Code *πg.Code | |
func init() { | |
Code = πg.NewCode("<module>", "hello.py", nil, 0, func(πF *πg.Frame, _ []*πg.Object) (*πg.Object, *πg.BaseException) { | |
var πR *πg.Object; _ = πR | |
var πE *πg.BaseException; _ = πE | |
ß := πg.InternStr("") | |
ß4 := πg.InternStr("4") | |
ßA := πg.InternStr("A") |