😶🌫️
This file contains 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
# MariaDB 10.0 CentOS repository list - created 2014-05-30 20:12 UTC | |
# http://mariadb.org/mariadb/repositories/ | |
[mariadb] | |
name = MariaDB | |
baseurl = http://yum.mariadb.org/10.0/centos6-x86 | |
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB | |
gpgcheck=1 |
This file contains 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
# | |
# This is the main Apache server configuration file. It contains the | |
# configuration directives that give the server its instructions. | |
# See <URL:http://httpd.apache.org/docs/2.2/> for detailed information. | |
# In particular, see | |
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html> | |
# for a discussion of each configuration directive. | |
# | |
# | |
# Do NOT simply read the instructions in here without understanding |
This file contains 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
# Based on: Apache Server Configs v1.1.0 | MIT License | |
# https://github.com/h5bp/server-configs-apache | |
# Set default index files for directories | |
# https://httpd.apache.org/docs/current/mod/mod_dir.html | |
DirectoryIndex index.html index.htm index.php default.html default.htm default.php | |
# ############################################################################## | |
# # CROSS-ORIGIN RESOURCE SHARING (CORS) # |
This file contains 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
# Default Host - Configuration | |
# ============================ | |
# Here the variable principals of the program are defined in respect | |
# to the configuration of the different types of directives. | |
[HOST] | |
# ServerName: | |
# ----------- | |
# Allow you to set a host and domain name (e.g monkey.linuxchile.cl). If | |
# you are working in a local network just set your IP address or if you |
This file contains 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
[FASTCGI_SERVER] | |
ServerName php5-fpm | |
ServerPath /var/run/php5-fpm.sock | |
MaxConnections 20 | |
[FASTCGI_LOCATION] | |
LocationName php5_location | |
ServerNames php5-fpm | |
KeepAlive On | |
Match .*\.php |
This file contains 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
[FASTCGI_SERVER] | |
ServerName php5-fpm | |
ServerPath /var/run/php5-fpm.sock | |
MaxConnections 20 | |
[FASTCGI_LOCATION] | |
LocationName php5_location | |
ServerNames php5-fpm | |
KeepAlive On | |
Match .*\.php |
This file contains 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
[mysqld] | |
log-error = /var/log/mysql/mariadb_err.log | |
port = 3306 | |
socket = /var/lib/mysql/mysql.sock | |
skip-external-locking | |
key_buffer = 16K | |
max_allowed_packet = 1M | |
table_cache = 4 | |
sort_buffer_size = 64K | |
read_buffer_size = 256K |
This file contains 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/sh | |
yum update -y | |
yum localinstall http://mirror.globo.com/epel/6/i386/epel-release-6-8.noarch.rpm -y | |
yum update -y | |
MACHINE_TYPE=`getconf LONG_BIT` | |
if [ ${MACHINE_TYPE} == '64' ]; then | |
yum localinstall http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm -y |
This file contains 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
corrigiridt () { | |
echo "Uso: corrigiridt arquivo.html"; | |
tidy5 --indent yes -m -w 160 -utf8 -ashtml --drop-empty-elements no --drop-empty-paras no $1 | |
} | |
gerarhtml5 () { | |
echo "Uso: gerarhtml5 pandoc.template header.html footer.html origem distino"; | |
pandoc -S --template=$1 -B $2 -A $3 -f markdown -t html5 -s $4 -o $5; | |
} |
This file contains 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
I can’t believe I got fired from the calendar factory: all I did was take a day off! | |
| | |
Money talks: mine always says goodbye. | |
| | |
I went to see the doctor about my short-term memory problems — the first thing he did was make me pay in advance. | |
| | |
You have two parts of the brain, “left” and “right” — in the left side, there’s nothing right and in the right side, there’s nothing left. | |
| | |
Why do bees hum? They don’t remember the lyrics! | |
| |
OlderNewer