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
See what the default is currently | |
/usr/libexec/java_home -V | |
Change the default example | |
export JAVA_HOME=`/usr/libexec/java_home -v 1.6.0_65-b14-462` | |
Can also use major version | |
export JAVA_HOME=`/usr/libexec/java_home -v 1.6` |
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
import os | |
import sys | |
import site | |
# Add the site-packages of the chosen virtualenv to work with | |
site.addsitedir('~/.virtualenvs/myprojectenv/local/lib/python2.7/site-packages') | |
# Add the app's directory to the PYTHONPATH | |
sys.path.append('/home/django_projects/MyProject') | |
sys.path.append('/home/django_projects/MyProject/myproject') |
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
<select name="titleId" ng-options="item as item.name for item in apptitle track by item.titleId" ng-model="contact" ></select> |
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
public string FormatString(string testing) | |
{ | |
this.Console.WriteLine("testing"); | |
} | |