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 if ( jetpack_is_mobile() ) // if is mobile ?> | |
<?php else : | |
if (function_exists('is_amp_endpoint')) : //if is AMP | |
if (is_amp_endpoint()) : ?> | |
<?php else : // !is_amp_endpoint() ?> | |
<!-- DESKTOP ADS --> |
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
git clone https://github.com/wpcomvip/xxxxx.git www/xxxxx/public_html/wp-content | |
git clone git@github.com:Automattic/vip-go-mu-plugins.git --recursive www/xxxxx/public_html/wp-content/mu-plugins/ | |
wp user create bi0xid raven@bi0xid.es --role=administrator |
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
SELECT DISTINCT us.ID, us.user_login, us.user_email, umeta.meta_value, umeta2.meta_value FROM wparl_users as us, wparl_usermeta as umeta, wparl_usermeta as umeta2 WHERE umeta.meta_key = 'first_name' AND umeta2.meta_key = 'last_name' AND umeta.user_id = us.ID AND umeta2.user_id = us.ID AND ( user_email = 'xxxxxx' | |
OR user_email = 'xxxxxxx' | |
OR user_email = 'xxxxxxxx'); |
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
select host, user, password from mysql.user; | |
create database **********; | |
show databases; | |
create user '*******'@'%' identified by '**********'; | |
grant all privileges on *********.* to '**********'@'%' identified by '**********'; | |
flush privileges; | |
mysqldump -u root -p database > database.sql | |
mysql -u root -p wp_users < wp_users.sql |
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
Homebrew build logs for mysql on macOS 10.12.3 | |
Build date: 2017-03-08 13:44:23 |
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
SELECT SQL_CALC_FOUND_ROWS | |
a.`id_order`, `reference`, `total_paid_tax_incl`, `payment`, a.`date_add` AS `date_add` | |
, | |
a.id_currency, | |
a.id_order AS id_pdf, | |
CONCAT(c.`firstname`,' ', c.`lastname`) AS `customer`, | |
c.email as email, | |
osl.`name` AS `osname`, | |
os.`color`, | |
IF((SELECT so.id_order FROM `ps_orders` so WHERE so.id_customer = a.id_customer AND so.id_order < a.id_order LIMIT 1) > 0, 0, 1) as new, |
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 | |
@unlink(__FILE__); | |
// Validate if the request is from Softaculous | |
if($_REQUEST['pass'] != 'mv8gdj4ohqfxpu34yj5ursupfabcmvdm'){ // your password here | |
die("Unauthorized Access"); | |
} | |
require('wp-blog-header.php'); | |
require('wp-includes/pluggable.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
// Use rapidlinkr.com to copy-paste the links that you are going to obtain and open them in two clicks | |
var divs = document.getElementsByClassName('contribute-button'); | |
var elem = []; | |
for (var i = 0; i < divs.length; i++) { | |
var a = divs[i].getElementsByTagName('a'); | |
for (var j = 0; j < a.length; j++) { | |
var elemento = a[j]; | |
elem.push(elemento); | |
} |
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
<script> | |
var end = new Date('02/19/2017 10:1 AM'); | |
var _second = 1000; | |
var _minute = _second * 60; | |
var _hour = _minute * 60; | |
var _day = _hour * 24; | |
var timer; | |
function showRemaining() { |
NewerOlder