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
@tslater2006
tslater2006 / config.json
Created Aug 2, 2019
Sample Pivet Config
View config.json
{
"Environments": [
{
"Name": "MyEnvironment",
"Connection": {
"Provider": "Bootstrap",
"TNS": "DBNAME",
"TNS_ADMIN": "C:\\app\\oracle\\product\\12.2.0\\client_1\\network\\admin",
"Schema": "SYSADM",
"BootstrapParameters": {
View ps_weblogic_setenv.pp
#Set Heapsize in WebLogic setEnv.sh
class cu_ps_weblogic::ps_weblogic_setenv (
$ps_config_home = hiera('ps_config_home'),
$pia_domain_name = hiera('pia_domain_name'),
$wl_heapsize = hiera('wl_heapsize'),
$wl_threadpool = hiera('wl_threadpool'),
){
Ini_Subsetting {
path => "${ps_config_home}/webserv/${pia_domain_name}/bin/setEnv.sh",
@iversond
iversond / touch-icons.pp
Last active Mar 23, 2017
Deploy a favicon.zip file to PORTAL.war and signin.html to each site. Uses the PowerShell 4+ command 'Expand-Archive'.
View touch-icons.pp
$share_path = "//lm-d1/temp"
$pia_domain_list = hiera('pia_domain_list')
$pia_domain_list.each | $domain_name, $pia_domain_info | {
$cfg_home = $pia_domain_info['ps_cfg_home_dir']
$baseWebPath = "${cfg_home}/webserv/${domain_name}/applications/peoplesoft/PORTAL.war"
file {"io-favicons-zip-${domain_name}":
ensure => $ensure,
View hiera.yaml
# managed by puppet
---
:backends:
- eyaml
- yaml
:logger: console
:hierarchy:
- "nodes/%{::clientcert}"
@philipsd6
philipsd6 / install-tmux
Last active Aug 21, 2019 — forked from rothgar/install-tmux
Install tmux 2.3 on rhel/centos 7
View install-tmux
# Install tmux on rhel/centos 7
# install deps
yum install gcc kernel-devel make ncurses-devel
# DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL
curl -OL https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz
tar -xvzf libevent-2.0.22-stable.tar.gz
cd libevent-2.0.22-stable
./configure --prefix=/usr/local
View CreatePeopleToolsPTFProject.bat
@echo off
REM PeopleTools Object Type export script
REM Find object type numbers
REM Definition Type Selections on PeopleTools 8.54: Application Designer Developer's Guide - Appendix B
REM https://docs.oracle.com/cd/E55244_01/psft/acrobat/pt854tapd-b0714.pdf
REM example - To create a project via application designer containing all PTF objects (104=Test Definitions,105=Test Framework Test Cases)
set pside=E:\apps\psoft\PT85509\bin\client\winx86\pside.exe
set export_path=E:\TEMP\out\export
set log_path=E:\TEMP\out
@donaldguy
donaldguy / Rockerfile
Created Aug 15, 2016
jordan/rundeck + kindlyops oauth2 proxy with roles
View Rockerfile
#build us a binary for https://github.com/bitly/oauth2_proxy/pull/277
FROM golang
WORKDIR /go/src/github.com/bitly
RUN git clone https://github.com/kindlyops/oauth2_proxy.git
WORKDIR /go/src/github.com/bitly/oauth2_proxy
RUN git checkout github-teams-tweaks
RUN go get
# include patch from https://github.com/bitly/oauth2_proxy/pull/295
RUN curl https://github.com/donaldguy/oauth2_proxy/commit/8965e6b58a3afd8ad9f0f326f91b25253c88d523.patch | git apply --apply -
RUN go build
@mkubenka
mkubenka / Vagrantfile
Last active May 29, 2019
Windows on AWS with Vagrant
View Vagrantfile
require 'inifile'
require 'date'
Vagrant.configure("2") do |config|
config.vm.box = "dummy"
config.vm.guest = "windows"
config.vm.boot_timeout = 600
config.vm.provider :aws do |aws, override|
View gist:122907e95956602e5c09
<?
/////////////////////
// slack2html
// by @levelsio
/////////////////////
//
/////////////////////
// WHAT DOES THIS DO?
/////////////////////
//
@a-h
a-h / 11-weblogic.rb
Created Jun 11, 2015
WebLogic Logstash Filter
View 11-weblogic.rb
filter {
## WebLogic Server Http Access Log
if [type] == "weblogic-access" {
grok {
match => [ "message", "%{IP:client} - - \[(?<timestamp>%{MONTHDAY}[./-]%{MONTH}[./-]%{YEAR}:%{TIME}\s+%{ISO8601_TIMEZONE})] \"%{WORD:verb} %{URIPATHPARAM:uri}\s+HTTP.+?\" %{NUMBER:status} %{NUMBER:response_time}" ]
}
date {
match => [ "timestamp" , "dd/MMM/yyyy:HH:mm:ss Z" ]
}
}
You can’t perform that action at this time.