Skip to content

Instantly share code, notes, and snippets.

View cuongdcdev's full-sized avatar
🔥
👷🔨🪚💻

Cuong DC cuongdcdev

🔥
👷🔨🪚💻
View GitHub Profile
<?php
use \Inpsyde\BackWPup\Pro\Settings;
/**
* BackWPup_Admin
*/
final class BackWPup_Admin {
public $page_hooks = [];
{"items":[{"matp":"01","name":"Thành phố Hà Nội","type":"Thành phố Trung ương","huyen":[{"maqh":"001","name":"Quận Ba Đình","type":"Quận","matp":"01","xa":[{"xaid":"00001","name":"Phường Phúc Xá","type":"Phường","maqh":"001"},{"xaid":"00004","name":"Phường Trúc Bạch","type":"Phường","maqh":"001"},{"xaid":"00006","name":"Phường Vĩnh Phúc","type":"Phường","maqh":"001"},{"xaid":"00007","name":"Phường Cống Vị","type":"Phường","maqh":"001"},{"xaid":"00008","name":"Phường Liễu Giai","type":"Phường","maqh":"001"},{"xaid":"00010","name":"Phường Nguyễn Trung Trực","type":"Phường","maqh":"001"},{"xaid":"00013","name":"Phường Quán Thánh","type":"Phường","maqh":"001"},{"xaid":"00016","name":"Phường Ngọc Hà","type":"Phường","maqh":"001"},{"xaid":"00019","name":"Phường Điện Biên","type":"Phường","maqh":"001"},{"xaid":"00022","name":"Phường Đội Cấn","type":"Phường","maqh":"001"},{"xaid":"00025","name":"Phường Ngọc Khánh","type":"Phường","maqh":"001"},{"xaid":"00028","name":"Phường Kim Mã","type":"Phường","maqh":"001"},{"xai
<?php
use Base32\Base32;
/**
* Class for options
*/
final class BackWPup_Option {
/**
<?php
/**
* Class in that the BackWPup job runs
*/
final class BackWPup_Job {
const ENCRYPTION_SYMMETRIC = 'symmetric';
const ENCRYPTION_ASYMMETRIC = 'asymmetric';
@cuongdcdev
cuongdcdev / class-jobtype-wpexp.php
Last active July 22, 2020 15:34
class-jobtype-wpexp.php
<?php
/**
*
*/
class BackWPup_JobType_WPEXP extends BackWPup_JobTypes {
/**
*
*/
public function __construct() {
<?php
/**
* BackWPup_Destination_Downloader
*
* @since 3.6.0
* @package Inpsyde\BackWPup
*/
use Inpsyde\Restore\Api\Controller\DecryptController;
use Inpsyde\Restore\Api\Module\Decryption\Exception\DecryptException;
jQuery(document).ready(function(a){backwpup_htmlspecialchars=function(t){return jQuery("<span>").text(t).html()},a.fn.backwpupDelayKeyup=function(t){var i=0;return a(this).keyup(function(){clearTimeout(i),i=setTimeout(t,200)}),a(this)},backwpup_tb_position=function(){var t=a("#TB_window"),i=a(window).width(),e=a(window).height(),n=720<i?720:i,h=525<e?525:e,o=0;return a("body.admin-bar").length&&(o=28),0<t.length&&(t.width(n-50).height(h-45-o),a("#TB_iframeContent").width(n-50).height(h-75-o),t.css({"margin-left":"-"+parseInt((n-50)/2,10)+"px"}),void 0!==document.body.style.maxWidth&&t.css({top:20+o+"px","margin-top":"0"})),a("a.thickbox").each(function(){var t=a(this).attr("href");t&&(t=(t=t.replace(/&width=[0-9]+/g,"")).replace(/&height=[0-9]+/g,""),a(this).attr("href",t+"&width="+(n-80)+"&height="+(h-85-o)))})},a(window).resize(function(){backwpup_tb_position()}),backwpup_tb_position()});
<div id="theme-1">
<div class="np_avatar"></div>
<div class="np_title"></div>
<div class="np_description"></div>
<div class="np_social_links"></div>
<div class="np_social_extra"></div>
</div>
<div id="theme-1">
<div class="np_avatar"></div>
<div class="np_title"></div>
<div class="np_description"></div>
<div class="np_social_links"></div>
<div class="np_social_extra"></div>
</div>
This file has been truncated, but you can view the full file.
// modules are defined as an array
// [ module function, map of requires ]
//
// map of requires is short require name -> numeric require
//
// anything defined in a previous bundle is accessed via the
// orig method which is the require for previous bundles
(function (modules, entry, mainEntry, parcelRequireName, globalName) {
/* eslint-disable no-undef */