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 | |
function backtrace() { | |
$keys = array('file','line'); | |
$target = array(); | |
foreach(debug_backtrace() as $key => $s) { | |
/*if ($key == 0) { | |
continue; | |
}*/ | |
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 (!defined('BASEPATH')) exit('No direct script access allowed'); | |
class FreightRatesAndService { | |
protected $username = ''; | |
protected $password = ''; | |
protected $accessKey = ''; | |
protected $sandbox = ''; | |
protected $endpointUrl = ''; | |
protected static $endpointUrls = array( |
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
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | |
'use strict'; | |
var Popper = require('popper.js'); | |
module.exports = { | |
props: { | |
showPopper: { | |
type: Boolean, |
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> | |
module.exports = { | |
props: { | |
value: { | |
type: Number, | |
twoWay: true | |
}, | |
disabled: { | |
type: Boolean, | |
default: false |
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
[ | |
{ | |
"name": "Afghanistan", | |
"host": "www.google.com.af", | |
"code": "AF" | |
}, | |
{ | |
"name": "Albania", | |
"host": "www.google.al", | |
"code": "AL" |
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
[ | |
{ | |
"code": "af", | |
"name": "Afrikaans" | |
}, | |
{ | |
"code": "am", | |
"name": "Amharic" | |
}, | |
{ |
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
const Popper = require('popper.js'); | |
(function (Vue) { | |
let VuePopperDirective = { | |
params: ['placement', 'content', 'show'], | |
popper: null, | |
initPopper() { | |
this.popper = new Popper( |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> | |
<soapenv:Header/> | |
<soapenv:Body> | |
<freightRate:FreightRateResponse xmlns:freightRate="http://www.ups.com/XMLSchema/XOLTWS/FreightRate/v1.0"> | |
<common:Response xmlns:common="http://www.ups.com/XMLSchema/XOLTWS/Common/v1.0"> | |
<common:ResponseStatus> | |
<common:Code>1</common:Code> | |
<common:Description>Success</common:Description> | |
</common:ResponseStatus> |
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 | |
class File_Upload | |
{ | |
/** | |
* Index key from upload form | |
* @var string | |
*/ | |
public $index_key = ''; | |
/** |
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 | |
// No, Thanks. Direct file access forbidden. | |
! defined( 'ABSPATH' ) AND exit; | |
// INIT | |
add_action( 'after_setup_theme', array( 'unavailable_post_status', 'init' ) ); | |
class unavailable_post_status extends wp_custom_post_status | |
{ | |
/** |
NewerOlder