This file contains hidden or 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
| # ... | |
| # if $OCI_CLI_CONFIG_FILE is set, assume called from Oracle Cloud Shell | |
| if [ -n $OCI_CLI_CONFIG_FILE ] then | |
| # set my timezone | |
| export TZ="/usr/share/zoneinfo/America/Chicago" | |
| # set custom prompt | |
| export PS1='\[\033[90m\]┌[\[\033[37m\]\t\[\033[90m\]]-[\[\033[32m\]\u\[\033[90m\] at ☁️ ]-[\[\033[35m\]$OCI_CLI_PROFILE\[\033[90m\]]\n└[\[\033[34m\]\w\[\033[90m\]]\[\033[36m\]$(__git_ps1 " [%s]") \[\033[37m\]$ ' | |
| # call delivered cloud shel bashrc | |
| source /etc/bashrc.cloudshell |
This file contains hidden or 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
| # Testing Slack API | |
| # psadminio.slack.com | |
| notify="@YOUR_USERNAME" | |
| gist="https://gist.github.com/kbens/d3e8a53dc91c116ef4c45cf730e28a43" | |
| text="This is a test of the Slack API. - $gist \nPlease let $notify know that you recived this message!" | |
| url="https://hooks.slack.com/services/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" | |
| conttype="Content-type: application/json" | |
| method="POST" | |
| chan="@TEST_USER" |
This file contains hidden or 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
| ############################################################### | |
| # psconfig.[$ENV].sh | |
| # Script to set environment variables for an environment | |
| ############################################################### | |
| # Environment name | |
| ENV=fdev | |
| # PS Homes | |
| export PS_CFG_HOME=/opt/pscfg/$ENV |
This file contains hidden or 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
| <html> | |
| <head> | |
| <script type="text/javascript" src="ps-hide-signin.js"></script> | |
| </head> | |
| <!-- Set custom property `login.isLoginHidden=true` in your web profile --> | |
| <body onLoad="hideLogin(<%=login.isLoginHidden%>);"> | |
| <h1>The system is down for maintenance.</h1> | |
| <h3>Click in this box, then use backdoor key. [Ctrl+Space]</h3> | |
| <div id="loginbox"> | |
| <div>User |
This file contains hidden or 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.getElementById('loginbox').style.display = "none"; | |
| } else { | |
| document.getElementById('loginbox').style.display = "block"; | |
| } | |
| } | |
| /* define a handler */ |
This file contains hidden or 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
| /* Style wiki-toc */ | |
| #toc-list{ | |
| border: 1px black dashed; | |
| background-color: whitesmoke; | |
| float: left; | |
| padding: 10px; | |
| padding-top: 0px; | |
| list-style-type: none; } | |
| .toc{ } | |
| .toc-H1{ |
This file contains hidden or 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
| /* Process Sched Parameters */ | |
| SELECT prcsinstance, | |
| prcsfilename | |
| FROM psprcsparms | |
| ORDER BY prcsinstance DESC |
This file contains hidden or 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
| Local Record &rRecord = CreateRecord(Record.RECORD); | |
| Local SQL &SQL = CreateSQL("SELECT * FROM PS_RECORD"); | |
| While &SQL.Fetch(&rRecord) | |
| /**/ | |
| End-While; |
This file contains hidden or 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
| Declare Function MY_FUNC PeopleCode MY_FUNC.FIELD FieldFormula; |
This file contains hidden or 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
| import C_APP_PACK:FooClass; | |
| Local C_APP_PACK:FooClass &foo; | |
| &foo = create C_APP_PACK:FooClass(); | |
| &result = &foo.ExampleMethod(&bar); |
NewerOlder