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/python3 | |
import smtplib | |
from email.mime.text import MIMEText | |
from email.mime.multipart import MIMEMultipart | |
from email.mime.base import MIMEBase | |
from email import encoders | |
import os.path | |
import csv | |
from random import randint |
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
#!/bin/expect -f | |
set force_conservative 0 ;# set to 1 to force conservative mode even if | |
;# script wasn't run conservatively originally | |
if {$force_conservative} { | |
set send_slow {1 .1} | |
proc send {ignore arg} { | |
sleep .1 | |
exp_send -s -- $arg | |
} |
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
Name: rocket-unidata | |
Version: 8.1.2 | |
Release: 1 | |
Summary: UniData 8.1.2 RPM package | |
License: Proprietary | |
%description | |
IBM UniData is an extended relational data server designed for embedding in vertical applications. UniData simplifies data management and query logic, providing more power for online high-transaction applications. Requires libnsl and ncurses-compat-libs packages. | |
%install |
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
#!/bin/sh | |
set -e | |
echo "Starting Unidata 8.1.2 install" | |
# Set environment variables | |
export UDTHOME=/usr/ud | |
export UDTBIN=$UDTHOME/bin | |
export PATH=$PATH:$UDTBIN | |
export LANG=C |
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
#!/bin/sh | |
set -e | |
echo "Starting Unidata 8.1.2 uninstall" | |
# Rolling back previous Unidata if it exists | |
if [[ -d /var/tmp/812_UPGR/pre/bin/ ]]; then | |
rsync -Kavr --delete /var/tmp/812_UPGR/pre/bin/* /usr/ud/bin/ | |
fi | |
if [[ -d /var/tmp/812_UPGR/pre/lib/ ]]; then |
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
#!/bin/sh | |
set -e | |
rpmbuild -ba ~/rpmbuild/SPECS/rocket-unidata-8.1.2.spec | |
if [ $(rpm -qa | grep -i rocket-unidata-8.1.2-1.x86_64) ]; then | |
sudo rpm -e rocket-unidata-8.1.2-1.x86_64 | |
fi | |
sudo rpm -ivh --nodeps ~/rpmbuild/RPMS/x86_64/rocket-unidata-8.1.2-1.x86_64.rpm |
NewerOlder