View ca-apply-ptp.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-----------------------------------------------------------[Parameters]---------------------------------------------------------- | |
[CmdletBinding()] | |
Param( | |
[Parameter(Mandatory=$true)][String]$DATABASE, | |
[Parameter(Mandatory=$true)][String]$PT_VERSION, | |
[Parameter()][String]$CA_PATH = "C:\Program Files\PeopleSoft\Change Assistant" | |
) | |
#------------------------------------------------------------[Variables]---------------------------------------------------------- |
View create-ca-env.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-----------------------------------------------------------[Parameters]---------------------------------------------------------- | |
[CmdletBinding()] | |
Param( | |
[Parameter(Mandatory=$true)][String]$ACCESS_ID, | |
[Parameter(Mandatory=$true)][String]$ACCESS_PWD, | |
[Parameter(Mandatory=$true)][String]$CONNECT_ID, | |
[Parameter(Mandatory=$true)][String]$CONNECT_PWD, | |
[Parameter(Mandatory=$true)][String]$OPR_ID, | |
[Parameter(Mandatory=$true)][String]$OPR_PWD, |
View ps-hide-signon.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Toggle Login */ | |
function hideLogin(isHidden) { | |
if (isHidden) { | |
document.getElementsByClassName('ps_signinentry')[0].style.display = "none"; | |
document.getElementById('maint-mode').style.display = "block"; | |
} else { | |
document.getElementsByClassName('ps_signinentry')[0].style.display = "block"; | |
document.getElementById('maint-mode').style.display = "none"; | |
} | |
} |
View applyPT860.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<#PSScriptInfo | |
.SYNOPSIS | |
Apply the PeopleTools 8.60 Upgrade Project | |
.DESCRIPTION | |
Automate the Change Assistant job that applies the PTU860 project to a database. | |
.PARAMETER DATABASE | |
Which database to encrypt the password | |
.PARAMETER PT_VERSION | |
PeopleTools version to apply | |
.PARAMETER CA_BASE |
View upgrade_acl.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description: System-level read access | |
context: | |
application: rundeck | |
for: | |
project: | |
- allow: '.*' # allow view/admin of all projects | |
system: | |
- match: | |
name: '.*' | |
allow: [read,write,run,kill] |
View remove_large_file.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filename="terraform-provider-oci_v3.85.0_x4" | |
git filter-branch --prune-empty -d /tmp/scratch \ | |
--index-filter "git rm --cached -f --ignore-unmatch $filename" \ | |
--tag-name-filter cat -- --all |
View oci_fss_snapshots.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# shellcheck disable=2059,2154,2034,2155,2046,2086 | |
#=============================================================================== | |
# vim: softtabstop=2 shiftwidth=2 expandtab fenc=utf-8 spelllang=en ft=sh | |
#=============================================================================== | |
# | |
# FILE: oci_fss_snapshots.sh | |
# | |
# USAGE: ./oci_fss_snapshots.sh | |
# |
View scan_log4j.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# shellcheck disable=2059,2154,2034,2155,2046,2086 | |
#=============================================================================== | |
# vim: softtabstop=2 shiftwidth=2 expandtab fenc=utf-8 spelllang=en ft=sh | |
#=============================================================================== | |
# | |
# Usage: scan_log4j.sh <Fix Y/N> <(Optional) Debug: true/false> | |
# | |
# Examples: | |
# Scan and Fix libraries |
View convertToLookup.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set-location e:\psoft\dpk\puppet | |
# pia_domain_list | |
(get-content -Path .\modules\pt_profile\manifests\pt_pia.pp) -replace "hiera\(\'pia_domain_list\'\)", "lookup('pia_domain_list', undef, undef, '')" | set-content -Path .\modules\pt_profile\manifests\pt_pia.pp | |
(get-content -Path .\modules\pt_profile\manifests\pt_domain_boot.pp) -replace "hiera\(\'pia_domain_list\'\)", "lookup('pia_domain_list', undef, undef, '')" | set-content -Path .\modules\pt_profile\manifests\pt_domain_boot.pp | |
# appserver_domain_list | |
(get-content -Path .\modules\pt_profile\manifests\pt_appserver.pp) -replace "hiera\(\'appserver_domain_list\'\)", "lookup('appserver_domain_list', undef, undef, '')" | set-content -Path .\modules\pt_profile\manifests\pt_appserver.pp | |
(get-content -Path .\modules\pt_profile\manifests\pt_domain_boot.pp) -replace "hiera\(\'appserver_domain_list\'\)", "lookup('appserver_domain_list', undef, undef, '')" | set-content -Path .\modules\pt_profile\manifests\pt_domain_boot.pp |
View patchGitlab.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# shellcheck disable=2059,2154,2034,2155,2046,2086 | |
#=============================================================================== | |
# vim: softtabstop=2 shiftwidth=2 expandtab fenc=utf-8 spelllang=en ft=sh | |
#=============================================================================== | |
# | |
# DESCRIPTION: Apply security and bug fixes to GitLab. | |
# | |
#=============================================================================== |
NewerOlder