This file contains hidden or 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
http://webmasters.stackexchange.com/questions/61009/how-to-enable-use-of-htaccess-in-apache-on-ubuntu | |
Instala uma nova opção de terminal | |
sudo apt install yakuake | |
yakuake& | |
------------------------------------------------------------------------- | |
FileZilla não salva senha dos servidores web. | |
Para resolver o problema, desmarcar a caixa: “Não salvar senhas”, que está no menu “Editar >> Configurações >> Interface” |
This file contains hidden or 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
<?php | |
$numeros = array('1', '2', '3', '4', '5', '6', '7', '8', '9', '10'); | |
echo "<table>"; | |
echo "<tr>"; | |
foreach ($numeros as $x) { | |
foreach ($numeros as $y) { | |
echo "<td>" . ($x * $y) . "</td>"; | |
} | |
echo "</tr>"; |
This file contains hidden or 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
1. Download | Ubuntu 14.04 LTS | |
----------------------------------------- | |
2. Formatar pendrive | http://www.baixaki.com.br/download/usb-disk-storage-format-tool.htm | |
----------------------------------------- | |
3. Pendrive ISO | http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/#button | |
----------------------------------------- | |
4. Instalar Yakuake | |
sudo apt install yakuake | |
- o comando yakuake& inicia |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<rewrite> | |
<rules> | |
<rule name="WordPress: http://colmeiasites.com.br" patternSyntax="Wildcard"> | |
<match url="*"/> | |
<conditions> | |
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/> | |
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/> |
This file contains hidden or 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
1. install openjdk | |
`sudo apt-get install openjdk-7-jdk` | |
2. install `android sdk` | |
# download android sdk | |
wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz | |
tar -xvf android-sdk_r24.2-linux.tgz | |
cd android-sdk-linux/tools |
This file contains hidden or 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
wp-admin/options-general.php?page=adminimize%2Fadminimize.php |
This file contains hidden or 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
<?php | |
/** | |
* | |
* Safe Search and Replace on Database with Serialized Data v2.0.1 | |
* | |
* This script is to solve the problem of doing database search and replace when | |
* developers have only gone and used the non-relational concept of serializing | |
* PHP arrays into single database columns. It will search for all matching | |
* data on the database and change it, even if it's within a serialized PHP | |
* array. |
This file contains hidden or 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
<?php | |
/* | |
Plugin Name: Convert NextGEN Galleries to WordPress | |
Plugin URI: | |
Description: Converts NextGEN galleries to WordPress default galleries. | |
Version: 1.0 | |
Author: Stefan Senk | |
Author URI: http://www.senktec.com | |
License: GPL2 |
This file contains hidden or 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
<?php | |
$terms = get_terms( 'categoria-produto' ); | |
echo '<ul>'; | |
foreach ( $terms as $term ) { | |
$term_link = get_term_link( $term ); |
This file contains hidden or 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
<?php | |
$terms = get_the_terms( get_the_ID(), 'categoria-produto' ); | |
if ( $terms && ! is_wp_error( $terms ) ) : | |
foreach ( $terms as $term ) { | |
$term_name = $term->name; | |
} | |
endif; | |
$term = get_term_by( 'name', $term_name,'categoria-produto'); |
OlderNewer