- Realizar una copia local del repositorio (working copy) (svn checkout svn://svnrepo/ejemplo {destino})
- Agregar/Modificar archivos
- Revisar el status (svn status)
- Revisar si hay diferencia entre los archivos locales y el repositorio remoto (svn diff {archivo})
- Agregar los archivos nuevos (svn add {archivo1 archivo2...})
- Revisar el status (svn status)
- Actualizar copia local (svn update)
- Revisar diferencias y corregir conflictos
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
$("#btn-upload").on('click',function () { | |
e.preventDefault(); | |
var self = this; | |
$('#btn-upload').prop('disabled', true); | |
var data = new FormData(document.forms.namedItem('frm_upload')); | |
$.ajax({ | |
url: '/documentos', | |
dataType: 'json', | |
method: 'POST', |
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
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'Vundle.vim' | |
Plugin '[email protected]:tomasr/molokai.git' | |
Plugin '[email protected]:scrooloose/nerdtree.git' |
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
set enc=utf-8 | |
set fenc=utf-8 | |
set termencoding=utf-8 | |
set nocompatible | |
set autoindent | |
set smartindent | |
set expandtab | |
set tabstop=2 | |
set shiftwidth=2 | |
set textwidth=120 |
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
<?php | |
if( !function_exists('apache_request_headers') ) { | |
function apache_request_headers() { | |
$arh = array(); | |
$rx_http = '/\AHTTP_/'; | |
foreach($_SERVER as $key => $val) { | |
if( preg_match($rx_http, $key) ) { | |
$arh_key = preg_replace($rx_http, '', $key); |