This file contains hidden or 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
| <?xml version='1.0' encoding='utf-8'?> | |
| <!DOCTYPE hibernate-configuration PUBLIC | |
| "-//Hibernate/Hibernate Configuration DTD 3.0//EN" | |
| "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> | |
| <hibernate-configuration> | |
| <session-factory> | |
| <!-- hibernate dialect --> | |
| <property name="hibernate.dialect">org.hibernate.dialect.OracleDialect</property> |
This file contains hidden or 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
| # User config for login shells | |
| if [ -d /etc/profile.d ]; then | |
| for i in /etc/profile.d/*.sh; do | |
| if [ -r $i ]; then | |
| . $i | |
| fi | |
| done | |
| unset i | |
| fi |
This file contains hidden or 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 | |
| # This hook is run after a new virtualenv is activated. | |
| PYTHON_VERSION=`python -c 'import sys | |
| print (sys.version_info.major)'` | |
| case $PYTHON_VERSION in | |
| 2) | |
| echo "Version 2+" | |
| pip install yolk | |
| ;; | |
| 3) |
This file contains hidden or 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 mkdir -pf /usr/local/scala && cd /usr/local/scala | |
| sudo wget http://www.scala-lang.org/files/archive/scala-2.10.2.tgz && sudo tar xvfz scala-2.10.2.tgz | |
| sudo update-alternatives --install /usr/bin/scala scala /usr/local/scala/scala-2.10.2/bin/scala 1 --slave /usr/bin/scalac scalac /usr/local/scala/scala-2.10.2/bin/scalac --slave /usr/bin/scalap scalap /usr/local/scala/scala-2.10.2/bin/scalap --slave /usr/bin/scaladoc scaladoc /usr/local/scala/scala-2.10.2/bin/scaladoc --slave /usr/bin/fsc fsc /usr/local/scala/scala-2.10.2/bin/fsc | |
| sudo echo 'SCALA_HOME=$(readlink -f /usr/bin/scala | sed "s:/bin/scala::")' > /etc/profile.d/scala.sh | |
| sudo echo 'export SCALA_HOME' >> /etc/profile.d/scala.sh |
NewerOlder