Skip to content

Instantly share code, notes, and snippets.

View soyFelixBarros's full-sized avatar
🏠
Working from home

Felix Barros soyFelixBarros

🏠
Working from home
View GitHub Profile
@soyFelixBarros
soyFelixBarros / docker-compose.yml
Last active April 28, 2021 13:34
Configuración Docker Compose para WordPress
version: "3.1"
services:
wordpress:
image: wordpress
restart: always
ports:
- 8085:80
container_name: project-wordpress
environment:
@soyFelixBarros
soyFelixBarros / cities.php
Created July 31, 2017 17:42
Localidades de la Provincia del Chaco
<?php
$cities = [
['Resistencia'],
['Barranqueras'],
['Colonia Benítez'],
['Colonia Popular'],
['Margarita Belén'],
['Puerto Tirol'],
['El Zapallar'],
@soyFelixBarros
soyFelixBarros / gulpfile.js
Created December 26, 2016 18:05
laravel-elixir for symfony
var elixir = require('laravel-elixir');
elixir.config.publicPath = 'web';
elixir.config.appPath = 'src';
elixir.config.assetsPath = 'app/Resources/assets';
elixir(function(mix) {
});
@soyFelixBarros
soyFelixBarros / .styleci.yml
Created December 20, 2016 22:19
Configuration - StyleCI - Laravel
preset: laravel
linting: true
enabled:
- strict
- unalign_double_arrow
- phpdoc_order
- phpdoc_separation
@soyFelixBarros
soyFelixBarros / httpd-vhosts.conf
Last active June 21, 2018 16:35
Apache - Adding VirtualHost
<Directory "E:\Projects">
Allowoverride All
Require all granted
Allow from all
</Directory>
<VirtualHost *:80>
DocumentRoot "E:\Projects\ejemplo.com\public"
ServerName ejemplo.test
</VirtualHost>
<?php
$finder = Symfony\Component\Finder\Finder::create()
->notPath('bootstrap/cache')
->notPath('storage')
->notPath('vendor')
->in(__DIR__)
->name('*.php')
->notName('*.blade.php')
->ignoreDotFiles(true)
@soyFelixBarros
soyFelixBarros / laravel
Created November 28, 2016 20:48
Configurar Nginx para Laravel
server {
listen 80;
listen [::]:80;
root /var/www/laravel/public;
index index.php index.html index.htm index.nginx-debian.html;
server_name <Domain name or IP Address>;