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 | |
header('Access-Control-Allow-Origin: *'); | |
header('Access-Control-Allow-Methods: GET, POST'); | |
header("Access-Control-Allow-Headers: X-Requested-With, Content-Type, Origin, Cache-Control, Pragma, Authorization, Accept, Accept-Encoding"); | |
require_once('wp-load.php'); | |
require_once('wp-includes/user.php'); | |
function generateRandomString($length = 10) { | |
$characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; |
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 | |
header('Access-Control-Allow-Origin: *'); | |
header('Access-Control-Allow-Methods: GET, POST'); | |
header("Access-Control-Allow-Headers: X-Requested-With, Content-Type, Origin, Cache-Control, Pragma, Authorization, Accept, Accept-Encoding"); | |
require_once('wp-load.php'); | |
function generateRandomString($length = 10) { | |
$characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; | |
$charactersLength = strlen($characters); |
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
location ~ .(gif|png|jpe?g)$ { | |
valid_referers none blocked dominio.com, *.dominio.com, outrodominio.com, *.outrodominio.com; | |
if ($invalid_referer) { | |
return 403; | |
} |
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
colocar o campo currency_list , logo depois de durationtype_list. | |
O código fica como abaixo: | |
<field name="DURATIONTYPE_LIST">t</field> | |
<field name="CURRENCY_LIST">USD</field> |
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
// Command to activate | |
sudo curl -X PUT --data-binary @/home/user/wordpress-multi.config --unix-socket /run/control.unit.sock http://localhost/config | |
{ | |
"listeners": { | |
"127.0.0.1:8090": { | |
"application": "script_index_php" | |
}, | |
"127.0.0.1:8091": { |
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
Verifying that I control the following Nostr public key: npub1pdn83s76f7wwehgdc7cw3ullxq8xdctg83zdgfut0yapa3g2c7cssw50dq |
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
#!/bin/bash | |
cd /home/americanbot/americanpro | |
/home/americanbot/.nvm/versions/node/v10.19.0/bin/node node_modules/gulp/bin/gulp.js watch |
OlderNewer