Skip to content

Instantly share code, notes, and snippets.

View luison's full-sized avatar

luison

View GitHub Profile
/*JSHint Options*/
/*global _gaq */
/*
Google Analytics Event Tracking - JSHint Checked
Written By Cheyne Wallace - 19th Nov 2012
Click Usage: <a href="http://somewhere"
class="ga-track"
event_category="Event Category"
event_action="Specific Action"
event_label="Optional Message"
# Reglas bounces manuales phplist
# updated 12/15
#falsos positivos primeros, si esta activa debería ser la primera e interceptarlos para no tener que negarlos en las posteriores
(.*(SPAM|spam|temporarily|quota exceeded|temporary|storage full|SPF Fail|their quota|SpamAssassin|over quota|account is full|spamcannibal.org))
#MUESTRAS DE MENSAJES DE FALSOS POSITIVOS
5.7.1 Requested action not taken: message refused
5.7.1 jk9710: The receiver denied your mail. Please contact the receiver with another way
5.2.1 This mailbox has been blocked due to
@luison
luison / sass-maps-index-iterator.css
Created January 5, 2018 20:20 — forked from juanbrujo/sass-maps-index-iterator.css
sass-maps loop with index iterator
/**
* output from sass-maps-index-iterator.scss
*/
li:nth-of-type(1):before {
content: "english - hello";
}
li:nth-of-type(2):before {
content: "spanish - hola";
}
@luison
luison / SassMeister-input.scss
Created January 8, 2018 16:36 — forked from elijahmanor/SassMeister-input.scss
Generated by SassMeister.com.
// ----
// Sass (v3.3.9)
// Compass (v1.0.0.alpha.20)
// Scut (v0.10.4)
// ----
@import "scut";
@mixin typeset( $type: body-copy ) {
$types: (
@luison
luison / SassMeister-input.scss
Created January 8, 2018 16:36 — forked from elijahmanor/SassMeister-input.scss
Generated by SassMeister.com.
// ----
// Sass (v3.3.9)
// Compass (v1.0.0.alpha.20)
// Scut (v0.10.4)
// ----
@import "scut";
@mixin typeset( $type: body-copy ) {
$types: (
@luison
luison / permanent.email.errors.txt
Created October 11, 2018 09:32
Errores permanentes email bounces de limpieza
220-fe23.mail.saunalahti.fi ESMTP Postfix\r\n
220-fe26.mail.saunalahti.fi ESMTP Postfix\r\n
220-mx02-out.cloud.vadesecure.com ESMTP vcfr1mtai06p\r\n
220-mx1.agenturserver.de ESMTP Postfix\r\n
220-pre-greet-you-are-not-allowed-to-talk-yet.mx2.asom-net.dk\r\n
220-redirect.ovh.net smtp6\r\n
220-spamcadiznew.cadiz.es ESMTP - AyuntamientodeCadiz\r\n
450 Requested mail action not taken: mailbox unavailable.\r\n
453 4.1.1 AIemgvTg3q8Q7 Too Many Invalid Recipients (TT510)\r\n
501 5.5.4 Invalid Address.\r\n
@luison
luison / ubuntu-webmin.yml
Last active December 14, 2018 11:01 — forked from lzhengqc/ubuntu-webmin.yml
Ansible playbook: install Webmin on Ubuntu
---
#
# Ansible playbook: Webmin for Ubuntu v201501302302
# Louis T. Getterman IV (@LTGIV)
# www.GotGetLLC.com / www.opensour.cc
#
# Example Usage:
# [user@host ~$] ansible-playbook /etc/ansible/playbooks/webmin.yml --extra-vars 'target=nameFromHostsFile'
#
#- hosts: '{{ target }}'
@luison
luison / generate-wp-nginx.sh
Last active January 31, 2019 15:29 — forked from Tucker-Eric/generate.sh
Script to generate our WP proxied nginx configurations
SED=`which sed`
CURRENT_DIR=`dirname $0`
echo "Dominio?"
read DOMAIN
# check the domain is valid!
PATTERN="^(([a-zA-Z]|[a-zA-Z][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z]|[A-Za-z][A-Za-z0-9\-]*[A-Za-z0-9])$";
if [[ "$DOMAIN" =~ $PATTERN ]]; then
DOMAIN=`echo $DOMAIN | tr '[A-Z]' '[a-z]'`
@luison
luison / .gitignore_wordpress
Last active July 9, 2019 19:03 — forked from gavin-hall/.gitignore_wordpress
Template .gitignore for git-managed WordPress projects
# This is a template .gitignore file for git-managed WordPress projects.
# This is my own implementation based on various files
#
# Fact: you don't want WordPress core files, or your server-specific
# configuration files etc., in your project's repository. You just don't.
#
# Solution: stick this file up your repository root (which it assumes is
# also the WordPress root directory) and add exceptions for any plugins,
# themes, and other directories that should be under version control.
#
@luison
luison / fix-wordpress-permissions.sh
Last active July 18, 2019 19:19 — forked from Adirael/fix-wordpress-permissions.sh
Fix wordpress file permissions
#!/bin/bash
#
# This script configures WordPress file permissions based on recommendations
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions
#
# Author: Michael Conigliaro <mike [at] conigliaro [dot] org>
# modified by Jose Luis Moya - alsur.es
#
WP_OWNER=www-data # <-- wordpress owner
WP_GROUP=www-data # <-- wordpress group