Install android-tools if you haven't already:
$ pkg update ; pkg upgrade
$ pkg install android-tools
Pair with remote or local ADB
Install android-tools if you haven't already:
$ pkg update ; pkg upgrade
$ pkg install android-tools
Pair with remote or local ADB
--- /etc/ssl/openssl.cnf~original 2022-03-16 08:35:51.000000000 +0000 | |
+++ /etc/ssl/openssl.cnf 2022-05-04 02:37:30.336530711 +0000 | |
@@ -56,6 +56,7 @@ | |
# List of providers to load | |
[provider_sect] | |
default = default_sect | |
+legacy = legacy_sect | |
# The fips section name should match the section name inside the | |
# included fipsmodule.cnf. | |
# fips = fips_sect |
git config filter.strip-notebook-output.clean 'jupyter nbconvert --ClearOutputPreprocessor.enabled=True --to=notebook --stdin --stdout --log-level=ERROR'
Or
git config --global filter.strip-notebook-output.clean 'docker run --rm -i -v \"${pwd}:/home/jovyan\" jupyter/datascience-notebook jupyter nbconvert --clear-output --to=notebook --stdin --stdout --log-level=ERROR'
.gitattributes
file inside the directory with the notebooks#!/bin/sh | |
if [[ `id -u` != 0 ]]; then | |
echo "Must be root to run script" | |
exit | |
fi | |
read -p "Enter user name and press [ENTER]: " UserName | |
if [[ $UserName == `dscl . -list /Users UniqueID | awk '{print $1}' | grep -w $UserName` ]]; then |
# Simple script to check drivers in C:\windows\system32\drivers against the loldrivers list | |
# Author: Oddvar Moe - @oddvar.moe | |
$drivers = get-childitem -Path c:\windows\system32\drivers | |
$web_client = new-object system.net.webclient | |
$loldrivers = $web_client.DownloadString(" https://www.loldrivers.io/api/drivers.json") | ConvertFrom-Json | |
Write-output("Checking {0} drivers in C:\windows\system32\drivers against loldrivers.io json file" -f $drivers.Count) | |
foreach ($lol in $loldrivers.KnownVulnerableSamples) | |
{ |
AWSTemplateFormatVersion: '2010-09-09' | |
Description: Cognito Stack | |
Parameters: | |
AuthName: | |
Type: String | |
Description: Unique Auth Name for Cognito Resources | |
Resources: | |
# Creates a role that allows Cognito to send SNS messages | |
SNSRole: |
That is a mouthful and the process could be clearer. doesn't help that there's a lot of outdated information and conflicting articles with links upon links pointing you in every which way but the right way.
I'll use Google Apps as a SAML provider for the purpose of this gist.
The process is triggered from the AES Console and required multiple steps to configure the IAM Roles and chosen IDP
These variables will be used for this snippet. Please substitute accordingly.
export RootCAName="root_ca"
export InterCAName="inter_ca"
export CommonName="hashidemos.io"
export InterCommonName="inter.hashidemos.io"
export Root_CA_ttl="730h"
export Inter_CA_ttl="350h"
export Cert_ttl="8h"
PUT _template/cloudtrail | |
{ | |
"index_patterns": ["cloudtrail-*"], | |
"settings": { | |
"number_of_shards": 1, | |
"mapping": { | |
"total_fields": { | |
"limit": 10000 | |
} | |
} |