Incluir esse código no functions.php
.
Nas action_hooks, no lugar de "category"
é só incluir o slug da sua taxonomia :)
#!/bin/bash | |
### Set Language | |
TEXTDOMAIN=virtualhost | |
### Set default parameters | |
action=$1 | |
domain=$2 | |
rootDir=$3 | |
owner=$(who am i | awk '{print $1}') | |
email='webmaster@localhost' |
#!/bin/bash | |
### Set Language | |
### Set default parameters | |
if [ "$(whoami)" != 'root' ]; then | |
echo $"You have no permission to run $0 as non-root user. Use sudo" | |
exit 1; | |
fi | |
pacote=$(dpkg --get-selections | grep "^expect" ) |
#!/bin/bash | |
######################################################################### | |
# # | |
# MySQL Automate # | |
# Writen by: Douglas alves # | |
# Version: 1.2.2 # | |
# Released: 2016-04-27 # | |
# Licenced: MIT # | |
# # | |
######################################################################### |
<video controls="" width="400"> | |
<source src="http://66.128.61.175/reel/1cc976948e74aa62f7a7fde16e64fb6b/360p" type="video/mp4"> | |
Your browser does not support HTML5 video. | |
</video> |
MYSQL=`which mysql` | |
PWD=`pwd` | |
INICIO="sh $PWD/adminftp.sh" | |
USERDB=XXXXXXXX | |
DB=XXXXXXXXXX | |
PWDDB="XXXXXX" | |
criar_usuario() { | |
clear | |
$MYSQL -u $USERDB -p$PWDDB -e "select * from ftpusers" $DB | |
echo " Criacao de Usuarios para FTP" |
<?php | |
/******************************************************************** | |
A seguir estão as funções escritas em PHP que realizam conversão de | |
coordenadas de projeção para coordenadas geográficas e vice versa e | |
que são utilizadas na Calculadora Geografica do INPE | |
(www.dpi.inpe.br/calcula/) | |
Referencia: | |
SNYDER, John Parr. Map projections--A working manual. | |
US Government Printing Office, 1987. |