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/perl -w | |
=head1 Copyright ... | |
=head1 NOMBRE | |
starter.pl - | |
=head1 SINOPSIS |
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
# | |
# Makefile -- ... | |
# | |
SOURCE_FILES= | |
X_FILES= | |
PERL_EXE=/usr/bin/perl | |
.PHONY: all clean bkp chk |
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
# ~/crn/%{user}.crn | |
# | |
# minute (0-59), | |
# hour (0-23), | |
# day of the month (1-31), | |
# month of the year (1-12), | |
# day of the week (0-6 with 0=Sunday). | |
# | |
# 0,15,30,45 8-17 * * 1-5 $HOME/oper/bin/%{prog} > $HOME/crn/log/%{prog}.log 2>&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/sh | |
java -Dsbt.main.class=sbt.ConsoleMain \ | |
-Dsbt.boot.directory=~/.sbt/boot \ | |
-jar ~/sbt/0.13/libexec/sbt-launch.jar @$HOME/.conscript/sbt.boot.properties "$@" |
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 | |
# -Dsbt.log.noformat=true \ | |
# -Dlogback.configurationFile=~/lib/logback.xml \ | |
java -Dsbt.main.class=sbt.ScriptMain \ | |
-Dsbt.boot.directory=~/.sbt/boot \ | |
-Dlogback.configurationFile=$HOME/lib/logback.xml \ | |
-jar ~/bin/sbt-launch.jar @$HOME/.conscript/sbt.boot.properties "$@" | |
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
<configuration debug="false"> | |
<timestamp key="byDay" datePattern="yyMMdd'-'HHmm"/> | |
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | |
<filter class="ch.qos.logback.classic.filter.LevelFilter"> | |
<level>WARN</level> | |
<onMatch>ACCEPT</onMatch> | |
<onMismatch>DENY</onMismatch> | |
</filter> | |
<encoder> |
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 | |
exec scalas $0 $@ | |
!# | |
/*** | |
// scalaVersion := "2.11.8" | |
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.1.2" | |
libraryDependencies += "com.github.scopt" %% "scopt" % "3.4.0" |
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 | |
unset LEVEL | |
_x4563="$@" # don't have a clue why "$@" does not work on next line | |
if expr "$_x4563" : '--trace *$\|--trace \|.* --trace$\|.* --trace '>/dev/null ; then LEVEL='DEBUG'; fi | |
prog=`basename $0` | |
exec scala \ | |
-save \ | |
-classpath "$HOME/lib/scopt_2.11-3.4.0.jar:$HOME/lib/slf4j-api-1.7.21.jar:$HOME/lib/logback-classic-1.1.7.jar:$HOME/lib/logback-core-1.1.7.jar" \ | |
-Dprogname=${prog} \ | |
-Dlogback.configurationFile=$HOME/lib/logback.xml \ |
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 | |
sProg=`basename $0` | |
sTimestamp=`date '+%y%m%d-%H%M'` | |
sLogfile="log/${sProg}.${sTimestamp}.log" | |
if [ ! -d log ]; then mkdir log; fi | |
{ | |
echo "======================" |