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
def replacements = [ | |
"<bookname[^>]*>([^<]+?)</bookname>":" '\$1'" | |
,"<acronym>([^<]+?)</acronym>":" _\$1_" | |
,"<emph>([^<]+?)</emph>":" *\$1*" | |
,"<url>([^<]+?)</url>":"link:\$1[]" | |
,"<keystroke>([^<]+?)</keystroke>":"kbd:[\$1]" | |
,"<variablename>([^<]*?)</variablename>":"`\$1`" | |
,"<classname>([^<]+?)</classname>":"`\$1`" | |
,"<dirname>([^<]+?)</dirname>":"`\$1`" | |
,"<filename>([^<]+?)</filename>":"`\$1`" |
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 | |
#ls -d1 isis-* template > _all.txt | |
usage() | |
{ | |
cat << EOF | |
usage: $0 options command | |
Runs the specified command for all uncommented files in _all.txt |
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 | |
#ls -d1 isis-* template > _all.txt | |
file="_all.txt" | |
for a in `cat $file | \ | |
grep -v ^# ` | |
do | |
pushd $a >/dev/null |
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.Collections; | |
import java.util.List; | |
import javax.inject.Inject; | |
import org.apache.isis.applib.annotation.DomainService; | |
import org.apache.isis.applib.annotation.NatureOfService; | |
import org.apache.isis.applib.annotation.Programmatic; |
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; |
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
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
old_ver=$1 | |
new_ver=$2 | |
# constants | |
repo_root=https://repository.apache.org/content/repositories/releases/org/apache/isis | |
zip="source-release.zip" | |
asc="$zip.asc" | |
md5="$zip.md5" |
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' |
OlderNewer