Skip to content

Instantly share code, notes, and snippets.

View rguillermo's full-sized avatar
🎯
Focusing

Guillermo rguillermo

🎯
Focusing
View GitHub Profile
@rguillermo
rguillermo / docker-compose.yml
Last active November 8, 2021 18:56
Base Docker Compose file for initialize Wordpress Development on local
version: '3.1'
services:
wordpress:
image: wordpress
ports:
- 8000:80
environment:
WORDPRESS_DB_HOST: db
@rguillermo
rguillermo / .gitignore
Created September 11, 2020 04:23 — forked from hieblmedia/.gitignore
Gitignore - Exclude all except specific subdirectory
#
# If all files excluded and you will include only specific sub-directories
# the parent path must matched before.
#
/**
!/.gitignore
###############################
# Un-ignore the affected subdirectory
@rguillermo
rguillermo / referal spam blocking
Created May 9, 2015 14:49
Block referal spam
# Block Russian Referrer Spam RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http://.*ilovevitaly\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*ilovevitaly.\.ru/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*ilovevitaly\.org/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*ilovevitaly\.info/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*iloveitaly\.ru/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*econom\.co/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*savetubevideo\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*kambasoft\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*simple\-share\-buttons\.com/ [NC,OR]