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 | |
namespace Hcuv\TiendaBundle\Tests\Controller; | |
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; | |
class DefaultControllerTest extends WebTestCase | |
{ | |
public function testPortadaTienda() | |
{ |
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 | |
namespace Hcuv\UsuarioBundle\Tests\Entity; | |
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; | |
/** | |
* Description of UsuarioRepositoryTest | |
* | |
*/ | |
class UsuarioRepositoryTest extends WebTestCase |
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
#!/bin/bash | |
# http://stackoverflow.com/questions/5609192/how-to-set-up-tmux-so-that-it-starts-up-with-specified-windows-opened | |
tmux new-session -d | |
tmux split-window -h | |
tmux split-window -v | |
tmux -2 attach-session -d |
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
Copiar y pegar | |
-------------- | |
"v" -> selección libre | |
"V" -> selección líneas | |
"d" para borrar o "y" para copiar | |
"p" para pegar |
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
" no vi-compatible | |
set nocompatible | |
" Setting up Vundle - the vim plugin bundler | |
let iCanHazVundle=1 | |
let vundle_readme=expand('~/.vim/bundle/vundle/README.md') | |
if !filereadable(vundle_readme) | |
echo "Installing Vundle..." | |
echo "" | |
silent !mkdir -p ~/.vim/bundle |
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
# change prefix | |
unbind C-b | |
set -g prefix C-a | |
# Pane switching with Alt+arrow | |
bind -n M-Left select-pane -L | |
bind -n M-Right select-pane -R | |
bind -n M-Up select-pane -U | |
bind -n M-Down select-pane -D |
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
# covert file | |
dos2unix filename | |
# conver recursive | |
find XXX -type f | xargs dos2unix |
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
# /var/www/demo_deploy/.htaccess | |
# enable symbolic links | |
Options +FollowSymLinks | |
# short_open_tag to off | |
php_flag short_open_tag Off |
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
# | |
svn mkdir --parents http://host/path/to/repo/{trunk,tags,branches} \ | |
-m "Standard layout for $project" | |
git svn init -s http://host/path/to/repo/ | |
git svn fetch | |
git rebase trunk master | |
git svn dcommit |
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
[remote "all"] | |
url = https://github.com/isidromerayo/simple_php_skeleton.git | |
url = https://bitbucket.org/isidromerayo/skeleton_php_project.git | |
# fetch = +refs/heads/*:refs/remotes/origin/* |