Skip to content

Instantly share code, notes, and snippets.

@saintplay
saintplay / .htacess
Created July 24, 2017 14:22
Cache-Control .htaccess
<IfModule mod_expires.c>
ExpiresActive on
ExpiresByType text/css "access plus 7 days"
ExpiresByType text/xml "access plus 0 seconds"
ExpiresByType text/javascript "access plus 14 days"
ExpiresByType application/x-javascript "access plus 14 days"
ExpiresByType image/ico "access plus 14 days"
ExpiresByType image/jpg "access plus 7 days"
ExpiresByType image/jpeg "access plus 14 days"
ExpiresByType image/gif "access plus 14 days"
<Directory "/path/to/your/project">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
</Directory>
@saintplay
saintplay / GOBLIN LICENCE_ES.MD
Last active December 2, 2016 03:23
Licencia para compartir trabajos finales o exámenes!! 🐷🐷🐷

GOBLIN LICENCE (GLIN)

Copyright (c) 2017 Diego Jara

Por la presente NO se autoriza, de forma gratuita, a cualquier persona que haya obtenido una copia de este software o material de estudio (el "Material"), a utilizar el Material, no garantizando los derechos de usar, copiar, modificar, fusionar, publicar, distribuir, sublicenciar, y/o vender copias de este Material, a excepción de contar con permiso explícito de las partes originales(autor intelectual del Material) y/o intermediarios.

El aviso de copyright anterior y este aviso de permiso tendrán que ser incluidos en todas las copias o partes sustanciales del Material.

EL MATERIAL SE ENTREGA "TAL CUAL", SIN GARANTÍA DE NINGÚN TIPO, YA SEA EXPRESA O IMPLÍCITA, INCLUYENDO, A MODO ENUNCIATIVO, CUALQUIER GARANTÍA DE COMERCIABILIDAD, IDONEIDAD PARA UN FIN PARTICULAR Y NO INFRACCIÓN. EN NINGÚN CASO LOS AUTORES O TITULARES DEL COPYRIGHT INCLUIDOS EN ESTE AVISO SERÁN RESPONSABLES DE NINGUNA RECLAMACIÓN, DAÑOS U OTRAS RESPONSABILIDADES, YA SEA EN UN LITIGIO, AGRA

@saintplay
saintplay / normalize.scss
Created August 29, 2016 22:47
Normalize.scss 2016 v.4.1.1 without comments
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
body {
margin: 0;
}
{
"0": 48, "1": 49, "2": 50, "3": 51, "4": 52, "5": 53, "6": 54, "7": 55,
"8": 56, "9": 57, "☺": 9786, "☻": 9787, "•": 8226, "◘": 9688, "○": 9675, "◙": 9689,
"♂": 9794, "♀": 9792, "♪": 9834, "♫": 9835, "☼": 9788, "►": 9658, "◄": 9668, "‼": 8252,
"▬": 9644, "↨": 8616, "↑": 8593, "↓": 8595, "→": 8594, "←": 8592, "∟": 8735, "▲": 9650,
"▼": 9660, "!": 33, "\"": 34, "#": 35, "$": 36, "%": 37, "&": 38, "(": 40,
")": 41, "*": 42, "+": 43, ",": 44, "-": 45, ".": 46, "/": 47, "⌂": 8962,
"░": 9617, "▒": 9618, "▓": 9619, ":": 58, ";": 59, "<": 60, "=": 61, ">": 62,
"?": 63, "@": 64, "A": 65, "B": 66, "C": 67, "D": 68, "E": 69, "F": 70,
"G": 71, "H": 72, "I": 73, "J": 74, "K": 75, "L": 76, "M": 77, "N": 78,
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
# YAOURT CONFIG
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK
{
"tab_size": 2,
"translate_tabs_to_spaces": false,
"word_wrap": "false"
}
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
" Basic configurations
set nocompatible
set hidden
set nobackup
set noswapfile
set number
"Pathogen configuration
execute pathogen#infect()
syntax on