Skip to content

Instantly share code, notes, and snippets.

Dan Iverson iversond

Block or report user

Report or block iversond

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ExternalDynamicSecurity.peoplecode
Function DynamicSecurity()
Local string &URI, &Protocal, &ServerName, &LogFile, &External, &userID;
Local number &ProtocalLength, &ServerNameEnd, &ServerNameLength;
Local File &MyFile;
/* Get Login URI */
&URI = %Request.ContentURI;
/* Determine if SSL is used */
View IO_RCF_TEST.SampleApp.OnExecute.peoplecode
import PT_RCF:ServiceInterface;
class SampleApp extends PT_RCF:ServiceInterface
method Execute();
method Execute
/+ Extends/implements PT_RCF:ServiceInterface.execute +/
MessageBox(0, "Test", 0, 0, "Injecting Code");
iversond / psadmin.html
Created Jan 15, 2016
Custom PeopleSoft signon page for two systems. See the project for all the code:
View psadmin.html
<!DOCTYPE html>
<html dir=ltr lang=en>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width,user-scalable=yes" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
iversond / psadmin.js
Created Jan 15, 2016
Signon JavaScript for the 2 target login page. See the full project here:
View psadmin.js
function setLogin(defaultURL) {
var docLoc = new String(document.location);
var deepURL = "";
var iLast = docLoc.lastIndexOf("?&");
if (docLoc.length == (iLast + 2)) {
docLoc = docLoc.substring(0, iLast);
iversond /
Created Jan 15, 2016
URLs for the Custom Signon Page. View the full project here:
# customizations
# at the bottom of the file
138=HR92DMO | Login
iversond / psft-setup.ps1
Created Mar 23, 2016
Change the DPK Disk Space Requirements
View psft-setup.ps1
function check_filesystem() {
# -------------------
# Removed Excess Code
# -------------------
ElseIf ("${global:env_type}" -eq "dbtier") {
check_disk_space "${disk_drive}" 75 "Checking if Folder ${global:psft_base_dir} has Enough Space"
Else {
# Change the value in this line to adjust the disk space requirements
check_disk_space "${disk_drive}" 80 "Checking if Folder ${global:psft_base_dir} has Enough Space"
iversond / WebLogicExtendedHTTPAccessLogGrok
Last active Apr 4, 2016
Custom grok pattern for WebLogic's Extended HTTP Access Log. "c-ip cs-username date time cs-method cs-uri sc-status bytes s-ip cs(user-agent) time-taken"
View WebLogicExtendedHTTPAccessLogGrok
WL_EXTENDED %{IPORHOST:clientip}\t%{USER:auth}\t%{WL_TIMESTAMP:timestamp}\t%{WORD:verb}\t%{NOTSPACE:request}\t%{NUMBER:response}\t%{NUMBER:bytes}\t%{WL_WEB_SERVER:webserver}\t%{QS:useragent}\t%{NUMBER:duration}
iversond / MigratedObjectsThisWeek.sql
Last active Apr 6, 2016 — forked from dlprice/ProjectView.sql
Modified the "PeopleSoft Project View" to show the objects migrated to a database in the last 7 days (Oracle).
View MigratedObjectsThisWeek.sql
SELECT p.projectname,
THEN 'Records'
THEN 'Indexes'
THEN 'Fields'
iversond / site.pp
Created Mar 23, 2016
Change the DPK Role for a machine. In this example, install just the web tier.
View site.pp
node default {
include ::pt_role::pt_tools_pia
iversond / profile.ps1
Created Aug 2, 2016
PS Admin Workstation Profile for PowerShell
View profile.ps1
# Create symlink for Puppet Gold folder to c:\puppetGold
Invoke-Expression -Command "cmd.exe /c mklink /D puppetGold `"\\long\network\share\path\to\the\puppet\gold\folder\`""
function pg {set-location -path "c:\puppetGold"}
Write-Host "Enter your Domain credentials to automate PowerShell authentication" -Foreground White -Background Red
$dba_credential = Get-Credential
Write-Host "`t [Function] pg changes directory to Puppet Gold Directory `n`t`t'c:\puppetGold'" -Foreground Green
You can’t perform that action at this time.