One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
#requires -module Az.CognitiveServices | |
using namespace Microsoft.Azure.Commands.Management.CognitiveServices.Models | |
function Get-PodBeanPodcast ($Name = 'powershellpodcast') { | |
Invoke-RestMethod https://feed.podbean.com/$Name/feed.xml | |
} | |
#region Base | |
function Connect-AzSpeech { | |
[OutputType([AzSpeechContext])] |
Documentación oficial sobre Jest
npm install -D jest @types/jest ts-jest supertest
## Where to find info and how to report on system extensions in macOS Catalina+ | |
# Staged system extensions location in folder based on unique ID | |
/Library/SystemExtensions/ | |
# Info on each | |
/Library/SystemExtensions/db.plist | |
Includes... | |
- state (enabled, activated, etc.) | |
- associated launchd plists |
options = { :body => | |
{ :username => 'my', | |
:password => 'password' | |
} | |
} | |
results = HTTParty.post("http://api.topcoder.com/v2/auth", options) | |
## | |
## example for post with papertrail and basic auth | |
## |
# CLI | |
sudo apt update -y | |
sudo apt install -y \ | |
git curl \ | |
docker.io docker-buildx \ | |
build-essential pkg-config autoconf bison rustc cargo clang \ | |
libssl-dev libreadline-dev zlib1g-dev libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev libjemalloc2 \ | |
libvips imagemagick libmagickwand-dev mupdf mupdf-tools \ | |
redis-tools sqlite3 libsqlite3-0 libmysqlclient-dev \ | |
rbenv apache2-utils |
IFOMITTED = LAMBDA(arg,then,IF(ISOMITTED(arg),then,arg)); | |
SUMPRODUCT2 = LAMBDA(array, [axis], | |
SUM(IF(IFOMITTED(axis,0)=0, BYROW, BYCOL)(array, PRODUCT)) | |
); |
#!/usr/bin/env python3 | |
from cryptography.fernet import Fernet | |
from kdf import derive_key | |
passphrase = b"hunter2" | |
f = Fernet(derive_key(passphrase)) | |
with open('encrypted.txt', 'rb') as file: | |
encrypted = file.read() # binary read |
Tip: вы можете использовать данный скрипт для создания и добавления SSH ключа.
"repositories": [