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
# 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
# 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
" 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
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
#!/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
<?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
<?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
[Composer\Repository\InvalidRepositoryException] Some branches contained invalid data and were discarded, it is advised to review the log and fix any issues present in branches | |
Reading composer.json of isidromerayo/simple_php_skeleton (v0.6) | |
Importing tag v0.6 (0.6.0.0) | |
Reading composer.json of isidromerayo/simple_php_skeleton (v0.5) | |
Importing tag v0.5 (0.5.0.0) | |
Reading composer.json of isidromerayo/simple_php_skeleton (gh-pages) | |
Skipped branch gh-pages, no composer file | |
Reading composer.json of isidromerayo/simple_php_skeleton (master) | |
Importing branch master (dev-master) | |
Skipped branch master, Invalid package information: |
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
guard 'phpunit', :cli => '-c app/ ', :tests_path => 'src', | |
:keep_failed => true, :all_after_pass => true do | |
watch(%r{^src/Hcuv/(.+)Tests/.+Test\.php$}) { |m| "#{m[0]}" } | |
watch(%r{^src/Hcuv/(.+)/(.*)/(.+)\.php$}) { |m| "src/Hcuv/#{m[1]}/Tests/#{m[2]}/#{m[3]}Test.php" } | |
end |