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/bash | |
# | |
# usage: | |
# . j11 | |
# | |
JH8=$(echo $JAVA_HOME8 | sed 's/\\/\//g' | sed 's/C:/\/c/ig') | |
JH11=$(echo $JAVA_HOME11 | sed 's/\\/\//g' | sed 's/C:/\/c/ig') | |
JH8_bin="${JH8}/bin" |
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/bash | |
# | |
# usage: | |
# . j8 | |
# | |
JH8=$(echo $JAVA_HOME8 | sed 's/\\/\//g' | sed 's/C:/\/c/ig') | |
JH11=$(echo $JAVA_HOME11 | sed 's/\\/\//g' | sed 's/C:/\/c/ig') | |
JH8_bin="${JH8}/bin" |
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
sudo apt-get update | |
# java | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update | |
sudo apt-get install oracle-java8-installer | |
java -version | |
# maven | |
sudo apt-get install maven |
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
-- run in the target database | |
-- (but there must be no other logins using that database otherwise will fail). | |
declare @sql varchar(max) | |
set @sql = 'RESTORE DATABASE ' + DB_NAME() + ' FROM DATABASE_SNAPSHOT = ''' + DB_NAME() + '_snapshot''' | |
use master |
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
declare @sql varchar(max), @on_clause varchar(max) | |
SELECT | |
@on_clause = CASE | |
WHEN @on_clause IS NULL THEN 'NAME = ' + name + ', FILENAME = ''' + physical_name + '.ss''' | |
ELSE @on_clause + ', ' + 'NAME = ' + name + ', FILENAME = ''' + physical_name + '.ss''' | |
END | |
FROM | |
sys.database_files df | |
where type_desc = 'ROWS' |
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/bash | |
# | |
# usage: ./verify_isis_release.sh [nexus_repo_number] [isis_version] | |
# | |
# where nexus_repo_number and isis_version are as advised in RC vote message. | |
# | |
# eg: ./verify_isis_release.sh 1086 1.17.0 | |
# | |
# | |
# prereqs: |
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
if [ $# -ne 1 ]; then | |
echo "usage: `basename $0`: [ver]" >&2 | |
exit 1 | |
fi | |
VER=$1 | |
MODULE_DIR=$(cat bumpver_isis.sh | grep MODULE_DIR= | cut -d= -f2) | |
if [ -z "$MODULE_DIR" ]; then | |
echo "`basename $0`: could not determine \$MODULE_DIR" >&2 |
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
# | |
# isis | |
# | |
/c/APACHE/isis-git-rw | |
/c/APACHE/isis-git-rw/adocs/documentation | |
/c/APACHE/isis-site | |
# | |
# incode apps | |
# | |
/c/GITHUB/estatio/estatio |
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/bash | |
# | |
# location of _repos.txt file | |
# (example at https://gist.github.com/danhaywood/938f0f751f756b1cfd6a9751b8779407) | |
# | |
#PREFIX="/mnt" | |
PREFIX="" |
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
package org.isisaddons.module.command.dom.direct; | |
import java.util.List; | |
import java.util.Map; | |
import javax.inject.Inject; | |
import com.google.common.collect.Maps; | |
import org.apache.isis.applib.annotation.DomainService; |
NewerOlder