Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
! model | |
pc101 Generic 101-key PC | |
pc102 Generic 102-key (Intl) PC | |
pc104 Generic 104-key PC | |
pc105 Generic 105-key (Intl) PC | |
dell101 Dell 101-key PC | |
latitude Dell Latitude series laptop | |
dellm65 Dell Precision M65 | |
everex Everex STEPnote | |
flexpro Keytronic FlexPro |
import re, string, unicodedata | |
import nltk | |
import contractions | |
import inflect | |
from nltk import word_tokenize, sent_tokenize | |
from nltk.corpus import stopwords | |
from nltk.stem import LancasterStemmer, WordNetLemmatizer | |
def replace_contractions(text): | |
"""Replace contractions in string of text""" |
import { Snackbar } from '@material-ui/core'; | |
import { Alert, Color } from '@material-ui/lab'; | |
import React, { createContext, useContext } from 'react'; | |
type SnackBarContextActions = { | |
showSnackBar: (text: string, typeColor: Color) => void; | |
}; | |
const SnackBarContext = createContext({} as SnackBarContextActions); |
{% if certificate and certificate_id > 0 -%} | |
{% if ssl_forced == 1 or ssl_forced == true %} | |
{% if hsts_enabled == 1 or hsts_enabled == true %} | |
# HSTS (ngx_http_headers_module is required) (63072000 seconds = 2 years) | |
add_header Strict-Transport-Security "max-age=63072000;{% if hsts_subdomains == 1 or hsts_subdomains == true -%} includeSubDomains;{% endif %} preload" always; | |
add_header Referrer-Policy strict-origin-when-cross-origin; | |
add_header X-Content-Type-Options nosniff; | |
add_header X-XSS-Protection "1; mode=block"; | |
add_header X-Frame-Options SAMEORIGIN; | |
add_header Content-Security-Policy upgrade-insecure-requests; |