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
Se modifica el archivo en modo adminitrador: | |
~ sudo [nombre_editor] /etc/environment/ | |
y se agregan estas líneas | |
no_proxy=localhost,127.0.0.0/8,*.local,kotear.pagos | |
NO_PROXY=localhost,127.0.0.0/8,*.local,kotear.pagos | |
all_proxy=socks://172.21.0.12:3128/ | |
ALL_PROXY=socks://172.21.0.12:3128/ |
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
Este archivo se encuentra en la ruta en (crunchbang) | |
$ sudo geany $HOME/etc/netbeans.conf | |
o puede estar en | |
$ sudo geany /usr/local/netbeans-7.3/etc/netbeans.conf | |
Y se agrega al final del parámetro "netbeans_default_options" la linea: |
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
## The prompt below gets ideas from the following: | |
# http://briancarper.net/blog/570/git-info-in-your-zsh-prompt | |
# http://github.com/adamv/dotfiles/blob/master/bashrc | |
# http://wiki.archlinux.org/index.php/Color_Bash_Prompt | |
txtred='\[\e[0;36m\]' # Red | |
txtwht='\[\e[0;37m\]' # White | |
bldred='\[\e[0;31m\]' # Red | |
bldgrn='\[\e[1;32m\]' # Green | |
bldylw='\[\e[1;33m\]' # Yellow | |
bldwht='\[\e[1;37m\]' # White |
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
La diferencia entre estos archivos es: | |
[mi_archivo].sh | |
Este archivo se ejecuta en consola de esta manera como user normal: | |
$ sudo chmod +x [mi_archivo].sh | |
$ ./mi_archivo.sh | |
[mi_archivo].deb | |
Este archivo es un paquete para distros de debian y se ejecutan de la siguiente manera: |
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
La fuente está en http://www.webupd8.org/2012/06/how-to-install-oracle-java-7-in-debian.html | |
$ sudo echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list | |
$ sudo echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list | |
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 | |
$ sudo apt-get update | |
$ sudo apt-get install oracle-java7-installer |
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
Para todo el tiempo que uno estea conectado via https | |
$ git config --global credential.helper cache | |
Con un tiempo de 1 hora para que luego te pida credenciales | |
$ git config --global credential.helper 'cache --timeout=3600' |
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
if [ -f /etc/bash_completion ]; then | |
source /etc/bash_completion | |
fi | |
__has_parent_dir () { | |
# Utility function so we can test for things like .git/.hg without firing up a | |
# separate process | |
test -d "$1" && return 0; | |
current="." |
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
php -S [nombre-del-sitio] | |
ejemplo: | |
php -S localhost:8080 |
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
git config --global color.ui auto |
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
/** | |
* Draw SVG in canvas | |
*/ |
OlderNewer