Download the windows image you want.
AWS vmimport supported versions: Microsoft Windows 10 (Professional, Enterprise, Education) (US English) (64-bit only)
So Home wont work.
import base64 | |
import datetime | |
import hashlib | |
import hmac | |
import io | |
import json | |
import mimetypes | |
import os | |
import uuid | |
from urllib.error import HTTPError, URLError |
sentry
SENTRY_SECRET_KEY
to random 32 char stringdocker-compose up -d
docker-compose exec sentry sentry upgrade
to setup database and create admin userdocker-compose exec sentry pip install sentry-slack
if you want slack plugin, it can be done laterdocker-compose restart sentry
9000
// Initialize an empty image | |
dest := image.NewRGBA(image.Rect(0, 0, 800, 300)) | |
// Draw a white background | |
draw.Draw(dest, dest.Bounds(), &image.Uniform{color.White}, image.ZP, draw.Src) | |
// Read the font | |
fontBytes, err := ioutil.ReadFile(exeDir + "/DejaVuSans.ttf") | |
if err != nil { |
Reference:
sudo fdisk -l
# coding: utf-8 | |
u""" | |
线性数据结构, 栈, 队列, deques, 容器结构, 数据项之间存在相对的位置 | |
""" | |
class Stack(object): | |
u""" | |
栈 先进后出 |
#!/usr/bin/env python3 | |
# This script is designed to do one thing and one thing only. It will find each | |
# of the FlateDecode streams in a PDF document using a regular expression, | |
# unzip them, and print out the unzipped data. You can do the same in any | |
# programming language you choose. | |
# | |
# This is NOT a generic PDF decoder, if you need a generic PDF decoder, please | |
# take a look at pdf-parser by Didier Stevens, which is included in Kali linux. | |
# https://tools.kali.org/forensics/pdf-parser. | |
# |