tomcat/conf/server.xml
<Conncetor URIEncoding="UTF-8" port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443">| #!/usr/bin/env python | |
| """ | |
| Django SECRET_KEY generator. | |
| """ | |
| from django.utils.crypto import get_random_string | |
| chars = 'abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)' | |
| print(get_random_string(50, chars)) |
| import matplotlib | |
| for name, hex in matplotlib.colors.cnames.iteritems(): | |
| print(name, hex) |
Instalar texlive Linux:
sudo apt-get install texlive texlive-latex-extra texlive-lang-portuguese
Só se quiser:
sudo apt-get install texlive-math-extra
The tar.gz provided by Oracle don't have an actual installation process. You just extract those files to a location you want and add them to your path. So the process is the following:
/usr/lib/jvm. This is not required but it is the place where Java runtime software is installed, and where tools like IDE's may search for it:sudo mv /path/to/jdk1.8.0_20 /usr/lib/jvm/oracle_jdk8Following (Maven Guide)[https://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html] it is possible to add the an external JAR as a depencie.
mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id> -DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=<packaging>
Example:
mvn install:install-file -Dfile=polymer-components-0.5.2-RELEASE.jar -DgroupId=org.webjars -DartifactId=polymer-components -Dversion=0.5.2-RELEASE -Dpackaging=jar