Last major update: 25.08.2020
- Что такое авторизация/аутентификация
- Где хранить токены
- Как ставить куки ?
- Процесс логина
- Процесс рефреш токенов
- Кража токенов/Механизм контроля токенов
http://sed.sourceforge.net/sed1line.txt | |
------------------------------------------------------------------------- | |
USEFUL ONE-LINE SCRIPTS FOR SED (Unix stream editor) Dec. 29, 2005 | |
Compiled by Eric Pement - pemente[at]northpark[dot]edu version 5.5 | |
Latest version of this file (in English) is usually at: | |
http://sed.sourceforge.net/sed1line.txt | |
http://www.pement.org/sed/sed1line.txt |
d-i debian-installer/locale string en_US | |
d-i console-setup/ask_detect boolean false | |
d-i keyboard-configuration/xkb-keymap select us | |
d-i keyboard-configuration/variant select English (US) | |
d-i keyboard-configuration/layout select English (US) | |
d-i netcfg/choose_interface select auto | |
d-i netcfg/get_hostname string unassigned-hostname | |
d-i netcfg/get_domain string unassigned-domain | |
d-i netcfg/wireless_wep string | |
d-i mirror/country string manual |
package main | |
/* | |
* This Gist and it's other versions are from: | |
* | |
* https://stackoverflow.com/questions/42321789/unable-to-protect-gorilla-mux-subroute-with-basic-auth | |
*/ | |
import ( | |
"crypto/subtle" |
##create one big partition | |
echo ';' | sfdisk /dev/sdc | |
##create one big partition with specific partition type | |
#creates W95 FAT32 (LBA) | |
echo ',,c;' | sfdisk /dev/sdd | |
#creates lvm type | |
echo ',,8e;' | sfdisk /dev/sdd |
version: '2' | |
services: | |
rabbitmq: | |
image: rabbitmq:3.6.4-management | |
hostname: rabbitmq | |
expose: | |
- "9090" | |
ports: | |
- "4369:4369" | |
- "5671:5671" |
version: '2' | |
services: | |
gitlab: | |
container_name: gitlab | |
image: gitlab/gitlab-ce:latest | |
restart: always | |
environment: | |
GITLAB_OMNIBUS_CONFIG: | | |
## GitLab configuration settings | |
##! Check out the latest version of this file to know about the different |
# virsh qemu-monitor-command DOMAIN '{"execute": "query-commands"}' --pretty | |
# virsh qemu-monitor-command DOMAIN --hmp 'help' | |
# virsh qemu-monitor-command instance-00000002 '{"execute": "query-status"}' | |
{"return":{"status":"running","singlestep":false,"running":true},"id":"libvirt-5137"} | |
# virsh qemu-monitor-command instance-00000002 '{"execute": "query-status"}' --pretty | |
{ | |
"return": { | |
"status": "running", |
// For all the confusing Prometheus configuration and | |
// regular expressions, | |
// explained in examples. | |
// Remember, there are default values for each item if it's missing. | |
// regex is (.*), | |
// replacement is $1, | |
// separator is ; | |
// ,and action is replace |
#=========================================================================================== | |
# BOOT SEQUENCE CONFIGURATIONS START | |
# ENDの設定のところまではDVDメディア、USBメディアに同梱している場合にのみ有効になる設定。 | |
# PXEブートの場合はこのセクションは無視される。 | |
# この場合はpxelinuxのconfigのappendに直接記述する必要がある。 | |
#=========================================================================================== | |
d-i debian-installer/language string en | |
d-i debian-installer/country string US | |
d-i debian-installer/locale string en_US.UTF-8 | |
d-i localechooser/supported-locales en_US.UTF-8 |