Skip to content

Instantly share code, notes, and snippets.

@sid226
sid226 / build_python3.sh
Last active August 8, 2019 09:41
build_python3.sh
#!/bin/bash
# © Copyright IBM Corporation 2019.
# LICENSE: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
#
#Instructions
#Get Build script : wget https://raw.githubusercontent.com/linux-on-ibm-z/scripts/master/Python3/3.7.4/build_python3.sh
#Execute build script: bash build_python3.sh
set -e -o pipefail
#!/usr/bin/env bash
# © Copyright IBM Corporation 2019.
# LICENSE: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
#
# Instructions:
# Download build script: wget https://raw.githubusercontent.com/linux-on-ibm-z/scripts/master/Puppet/5.5.2/build_puppet.sh
# Execute build script: bash build_puppet.sh (provide -h for help)
set -e -o pipefail
@sid226
sid226 / pds_testcase_document.md
Created April 24, 2019 12:29
pds_testcase_document

Steps for running the PDS UI testcases

The instructions provided below specify the steps for running testcases using the Selenium IDE browser extension .

NOTE: Testcases have been tested with following System Specifications:

  • Chrome : Version 73.0.3683.103 (Official Build) (64-bit)
  • OS: Windows 7
@sid226
sid226 / final_s390x.sh
Last active March 12, 2019 12:01
final_s390x.sh
# Need handling for RHEL 6.10 as it doesn't have os-release file
if [ -f "/etc/os-release" ]; then
source "/etc/os-release"
else
cat /etc/redhat-release >>"${LOG_FILE}"
export ID="rhel"
export VERSION_ID="6.x"
export PRETTY_NAME="Red Hat Enterprise Linux 6.x"
fi
@sid226
sid226 / x86.sh
Last active March 13, 2019 09:30
# Need handling for RHEL 6.10 as it doesn't have os-release file
if [ -f "/etc/os-release" ]; then
source "/etc/os-release"
else
cat /etc/redhat-release >>"${LOG_FILE}"
export ID="centos"
export VERSION_ID="6.x"
export PRETTY_NAME="Red Hat Enterprise Linux 6.x"
fi
@sid226
sid226 / test.sh
Last active January 2, 2019 08:41
PACKAGE_NAME="go"
PACKAGE_VERSION="1.11.4"
#Verify if go is configured correctly
if go version | grep -q "$PACKAGE_VERSION"
then
printf -- "Installed %s %s successfully \n" "$PACKAGE_NAME" "$PACKAGE_VERSION"
else
printf -- "Error while installing Go, exiting with 127 \n";
exit 127;
@sid226
sid226 / build_go.sh
Last active January 2, 2019 08:50
build_go.sh
#!/usr/bin/env bash
# © Copyright IBM Corporation 2018.
# LICENSE: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
#
# Instructions:
# Download build script: wget https://raw.githubusercontent.com/linux-on-ibm-z/scripts/master/Go/build_go.sh
# Execute build script: bash build_go.sh (provide -h for help)
#
@sid226
sid226 / angular2_4_steps
Last active December 25, 2017 19:29
angular 2/4 learn steps
https://angular.io/guide/quickstart
commands:
npm install -g @angular/cli
ng new my-angular-app
// install Angular v5 snippets Extension VSCODE
/usr/lib/jvm/java-8-oracle/bin/java -Dmaven.multiModuleProjectDirectory=/home/siddesh/workspace/ksi-sdk-samples/java-sdk -Dmaven.home=/home/siddesh/Downloads/idea-IC-172.4343.14/plugins/maven/lib/maven3 -Dclassworlds.conf=/home/siddesh/Downloads/idea-IC-172.4343.14/plugins/maven/lib/maven3/bin/m2.conf -javaagent:/home/siddesh/Downloads/idea-IC-172.4343.14/lib/idea_rt.jar=37489:/home/siddesh/Downloads/idea-IC-172.4343.14/bin -Dfile.encoding=UTF-8 -classpath /home/siddesh/Downloads/idea-IC-172.4343.14/plugins/maven/lib/maven3/boot/plexus-classworlds-2.5.2.jar org.codehaus.classworlds.Launcher -Didea.version=2017.2.5 -Daggregator.url=http://tryout.guardtime.net:8080/gt-signingservice -Dextender.url=http://tryout-extender.guardtime.net:8081/gt-extendingservice -Dksi.login.id=ot.Jj5gzs -Dksi.login.key=jocmtzLGQVpV test
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO]
@sid226
sid226 / DynamicToken.abi
Last active September 11, 2017 13:29
generated from src
[
{
"constant":false,
"inputs":[
{
"name":"_upgradedContract",
"type":"address"
}
],
"name":"upgrade",