I hereby claim:
- I am junaid18183 on github.
- I am junaid18183 (https://keybase.io/junaid18183) on keybase.
- I have a public key whose fingerprint is 125A B028 4F43 4538 0570 9A8A B7C1 868E 3994 DA9E
To claim this, I am signing this object:
#!/bin/sh | |
PUBLIC_IP=$(curl ifconfig.io) | |
# export INSTALL_RKE2_VERSION="v1.20.5+rke2r1" | |
curl -sfL https://get.rke2.io | sh - | |
provider_id="$(curl -s http://169.254.169.254/latest/meta-data/placement/availability-zone)/$(curl -s http://169.254.169.254/latest/meta-data/instance-id)" |
provider "aws" { | |
region = "us-east-2" | |
} | |
terraform { | |
required_version = "1.0.7" | |
required_providers { | |
aws = { | |
source = "hashicorp/aws" |
adb devices -l | |
List of devices attached | |
ZD2228KRXB device usb:339738624X product:hawao_g model:moto_g42 device:hawao transport_id:1 | |
adb -d shell | |
pm list packages | grep google | |
com.google.android.youtube | |
pm uninstall -k --user 0 com.google.android.apps.tachyon # Google Duo |
I hereby claim:
To claim this, I am signing this object:
#https://mapr.com/support/s/article/How-to-configure-LDAP-client-by-using-SSSD-for-authentication-on-CentOS?language=en_US | |
#https://gist.github.com/mazgi/3dbfe99fb2b3e8d1e50b | |
#http://www.ateam-oracle.com/part-3-of-4-sssd-linux-authentication-implementation-step-by-step-guideline/ | |
yum install openldap openldap-clients sssd sssd-client | |
cp /etc/openldap/ldap.conf /etc/openldap/ldap.conf.orig | |
> /etc/openldap/ldap.conf | |
cat << EOF > /etc/openldap/ldap.conf | |
BASE dc=example,dc=com |
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Metadata": { | |
"AWS::CloudFormation::Interface": { | |
"ParameterGroups": [ | |
{ | |
"Label": { | |
"default": "HelloWorld Parameters" | |
}, | |
"Parameters": [ |
''' | |
@author Bommarito Consulting, LLC; http://bommaritollc.com/ | |
@date 20131029 | |
This script monitors and logs to CSV the status of all tunnels for all VPNs for a single EC2 region. | |
''' | |
# Imports | |
import boto | |
import boto.ec2 | |
import boto.vpc |
#!/bin/bash | |
module=$1 | |
for resource in `terraform show -module-depth=1 | grep module.${module} | tr -d ':' | sed -e 's/module.${module}.//'`; do | |
terraform taint -module ${module} ${resource} | |
done |
#!/bin/bash | |
download_vault(){ | |
wget https://releases.hashicorp.com/vault/0.9.1/vault_0.9.1_linux_amd64.zip?_ga=2.165144251.566422628.1516357846-2059600638.1516357846 -O vault_0.9.1_linux_amd64.zip | |
apt-get install -y zip | |
unzip vault_0.9.1_linux_amd64.zip | |
mv vault /usr/local/bin/ | |
rm vault_0.9.1_linux_amd64.zip | |
} | |
######################## | |
download_ssh_helper(){ |
var AWS = require('aws-sdk'); | |
var url = require('url'); | |
var https = require('https'); | |
var hookUrl, kmsEncyptedHookUrl, slackChannel; | |
kmsEncyptedHookUrl = 'abcd1234'; // Enter the base-64 encoded, encrypted key (CiphertextBlob) | |
slackChannel = 'example_channel'; // Enter the Slack channel to send a message to | |
var postMessage = function(message, callback) { |