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
var cores = [ | |
"#F44336", | |
"#E91E63", | |
"#9C27B0", | |
"#673AB7", | |
"#3F51B5", | |
"#2196F3", | |
"#03A9F4", | |
"#00BCD4", | |
"#009688", |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
</head> | |
<body> | |
<p class="esg-click-to-play-video">Teste</p> | |
<p class="esg-click-to-play-video">Teste</p> |
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
#F44336 | |
#E91E63 | |
#9C27B0 | |
#673AB7 | |
#3F51B5 | |
#2196F3 | |
#03A9F4 | |
#00BCD4 | |
#009688 | |
#4CAF50 |
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
<!-- Ativar popup --> | |
<script type="text/javascript"> | |
<?php global $wp, $post; | |
$current_url = home_url(add_query_arg(array(),$wp->request)); | |
// $current_url = home_url(); | |
$meta_popup = get_post_meta($post->ID, 'popupsite', true); | |
?> | |
//sim: liga popup nao ou '' desliga popup |
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
WP_DEBUG=false | |
DB_TABLE_PREFIX=wp_ | |
DB_NAME=wordpress | |
DB_USER=root | |
DB_PASSWORD=root | |
DB_HOST=localhost | |
AUTH_KEY='put your unique phrase here' | |
LOGGED_IN_KEY='put your unique phrase here' |
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
<?php | |
require_once(__DIR__ . '/vendor/autoload.php'); | |
(new \Dotenv\Dotenv(__DIR__))->load(); | |
define('WP_DEBUG', getenv('WP_DEBUG')); | |
$table_prefix = getenv('DB_TABLE_PREFIX'); | |
define('DB_NAME', getenv('DB_NAME')); | |
define('DB_USER', getenv('DB_USER')); |
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
<?php | |
echo number_format(substr("11990", 0, -2),0,"",".").','.substr("11990", -2); |
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
<?php | |
$params = ['id' => 0]; | |
try { | |
$api = new Gerencianet($options); | |
$subscription = $api->detailSubscription($params, []); | |
// var_dump($subscription); die; | |
foreach ($subscription as $value) { | |
// Array simples |
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
alias phpkey='php -r "echo md5(uniqid()).\"\n\";"' |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |