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
Install the dependencies | |
~ sudo apt-get install build-essential texinfo libx11-dev libxpm-dev libjpeg-dev libpng-dev libgif-dev libtiff-dev libgtk2.0-dev libncurses-dev | |
Clone the mirror repo | |
~ git clone --depth 1 https://github.com/emacs-mirror/emacs.git | |
Locate to the emacs folder | |
~ cd emacs | |
Execute the autogen |
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
shift + 3(del teclado no numérico) = busca la palabra donde está enfocado el cursor | |
:edit! = para refrescar un archivo actual para verificar si tiene cambios de otro. | |
¿ zz = para guardar y salir directamente ? | |
//// pestañas | |
:tabe = crea una nueva pestaña vacía | |
:tab sp {file} = crea un clon del archivo en una nueva pestaña | |
:tab split = crea un clon del archivo en una nueva pestaña |
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
//Lista los repositorios y los permisos que tengo | |
ssh git@git.example.com info |
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
1. s = sustituir el texto en donde estás ubicado | |
1.1 S = Elimina desde el cursor donde estas hasta el final de la linea, e incluso se pone en modo inserción y tabulado | |
/// tip chevere | |
Si quiero hacer multiples acciones basta con estar en modo | |
visual y tipear: | |
Ejemplo 1 |
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
.. luego de haber hecho tus cambios sin aplicar add ni commit y querés aplicar pull se hace lo siguiente: | |
el git stash almacena una rama temporal donde toma tus cambios | |
$ git stash | |
aplicamos el pull correspondiente.. | |
$ git pull origin [mi-rama] | |
y luego retornamos los cambios de la rama temporal | |
$ git stash apply stash@{0} |
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
PhantomJS (has the engine webkit) | |
download from the page http://phantomjs.org/download.html | |
and then in terminal | |
$ cd /usr/local/share/ | |
$ sudo wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2 | |
$ sudo tar jxvf phantomjs-1.9.8-linux-x86_64.tar.bz2 | |
$ sudo ln -s /usr/local/share/phantomjs-1.9.8-linux-x86_64/ /usr/local/share/phantomjs | |
$ sudo ln -s /usr/local/share/phantomjs/bin/phantomjs /usr/local/bin/phantomjs |
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 checkout <commit hash> file | |
// source: https://stackoverflow.com/questions/215718/how-can-i-reset-or-revert-a-file-to-a-specific-revision |
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
<script> | |
function execPolyfill() { | |
(function(){ | |
// CustomElementsV1.min.js v1 polyfill from https://github.com/webcomponents/webcomponentsjs/tree/v1/src/CustomElements/v1. | |
/* | |
Copyright (c) 2016 The Polymer Project Authors. All rights reserved. | |
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt | |
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
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
"set guifont=PowerlineSymbols:h15 | |
set guifont=Liberation_Mono_for_Powerline:h10 | |
let g:Powerline_symbols = 'fancy' | |
let g:airline_powerline_fonts = 1 | |
set encoding=utf-8 | |
"set term=rxvt-unicode-256color | |
set t_Co=256 | |
set fillchars+=stl:\ ,stlnc:\ | |
"set term=xterm-256color | |
set term=xterm |
NewerOlder