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_jdk8
Based on this stackoverflow's answer.
To untrack a single file that has already been added/initialized to your repository, i.e., stop tracking the file but not delete it from your system use:
git rm --cached filename
To untrack every file that is now in your .gitignore:
First commit any outstanding code changes, and then, run this command: