Chapter 1 - Wrong thinking is the only problem in life.
Chapter 2 - Right knowledge is the ultimate solution to all our problems.
Chapter 3 - Selflessness is the only way to progress and prosperity.
Chapter 4 - Every act can be an act of prayer.
#!/bin/bash | |
# This script will auto upgrade jenkins to latest stable version if found. | |
export EPOCH_DATE="$(date +%s)" | |
export JENKINS_UPGRADE_URL="http://mirrors.jenkins-ci.org/war-stable/latest/jenkins.war" | |
export JENKINS_DIR="/usr/share/java" | |
export TEMP_DIR="/tmp/jenkins-upgrade-"$EPOCH_DATE"/" | |
export WEBHOOK="https://hooks.slack.com/services/XXXX/YYYY/ZZZZZ" | |
# Create temp directory |
export GCP_PROJECT=<PROJECT_ID> | |
IFS=',' | |
gcloud compute disks list \ | |
--format json \ | |
--project "$GCP_PROJECT" | \ | |
jq -r '.[]|select(.users == null)|.name, .zone' | \ | |
paste -d, - - | \ | |
sed "s,https://www.googleapis.com/compute/v1/projects/$GCP_PROJECT/zones/,,g" | \ | |
while read DISK_NAME ZONE_ID; do |
AWSTemplateFormatVersion: '2010-09-09' | |
Description: This template provisions a single IAM User with password | |
Metadata: | |
Authors: | |
Description: Will Nave (will@1strategy.com) | |
Purpose: | |
Description: "This template is used to create a stack that implements a single IAM User. The user can | |
be associated with an IAM Group and/or one of several Managed Policies offered by AWS. Each managed policy maps | |
to a traditional user job function/role. The stack exports both the user name and ARN on successful | |
deployment." |
function stepOne(){ | |
document.querySelector('button.mn-connection-card__dropdown-trigger.artdeco-button--tertiary.artdeco-button--muted.artdeco-button--circle.p1.artdeco-dropdown__trigger.artdeco-dropdown__trigger--placement-bottom.ember-view').click(); | |
window.zorro++; | |
setTimeout(function () { | |
document.querySelector('button.display-flex').click(); | |
window.zorro++; |
Connect-MsolService
New-MsolUser -DisplayName "User Name" -FirstName User -LastName Name -UserPrincipalName username@yourdirectory.onmicrosoft.com
get-msoluser -UserPrincipalName username@yourdirectory.onmicrosoft.com | select *immutableid*
set-MsolUser –UserPrincipalName username@yourdirectory.onmicrosoft.com -ImmutableId "username@domain.tld"
get-msoluser -UserPrincipalName username@yourdirectory.onmicrosoft.com | select *immutableid*
This script is designed to recursively list all folders within a specified Google Cloud Organization. It utilizes the gcloud
command-line tool to fetch and display the folder hierarchy.
Before running this script, ensure that you have the following prerequisites installed: