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
ID post_author post_date post_date_gmt post_content post_title post_excerpt post_status comment_status ping_status post_password post_name to_ping pinged post_modified post_modified_gmt post_content_filtered post_parent guid menu_order post_type post_mime_type comment_count | |
------ ----------- ------------------- ------------------- ------------ ------------------ ------------ ----------- -------------- ----------- ------------- ----------------- ------- ------ ------------------- ------------------- --------------------- ----------- --------------------------------------------------- ---------- --------- -------------- --------------- | |
2348 4 2017-11-29 09:33:03 2017-11-29 09:33:03 Travis Test publish closed closed travis-test 2017-11-29 09:36:09 2017-11-29 09:36:09 |
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
namespace WP_Wrapper | |
{ | |
abstract class Options | |
{ | |
// wp-includes/option.php | |
public static function update($option, $value, $autoload = NULL) | |
{ | |
return update_option($option, $value, $autoload); | |
} |
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
function toggleFullscreen(e) | |
{ | |
var d = document, done; | |
e = e || d.documentElement; | |
'-frsexit ms-FRsExit moz-FRSCancel webkit-FRsExit'.replace(/(\w*)-(f)(r)(s)(\w+)/gi, function (_, p, f, r, s, c) | |
{ | |
if (!done) | |
{ |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<opml version="1.0"> | |
<head> | |
<title>Pierre subscriptions in feedly Cloud</title> | |
</head> | |
<body> | |
<outline text="all" title="all"> | |
<outline type="rss" text="ScaleScale.com" title="ScaleScale.com" xmlUrl="http://www.scalescale.com/feed/" htmlUrl="http://www.scalescale.com"/> | |
<outline type="rss" text="InfoQ" title="InfoQ" xmlUrl="https://www.infoq.com/fr/feed?token=SLR1jAj2muGO5L2U2sIUYaQgzGPlyuFP" htmlUrl="http://www.infoq.com"/> |
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
$.ajax({ | |
//... | |
data: $("#my-form").serialize(), | |
// ... | |
}) |
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
SET FOREIGN_KEY_CHECKS = 0; | |
SET GROUP_CONCAT_MAX_LEN = 32768; | |
SET @tables = NULL; | |
SELECT GROUP_CONCAT('`', table_name, '`') INTO @tables | |
FROM information_schema.tables | |
WHERE table_schema = (SELECT DATABASE()); | |
SELECT IFNULL(@tables,'dummy') INTO @tables; | |
SET @tables = CONCAT('DROP TABLE IF EXISTS ', @tables); |
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 | |
function _(&$_) | |
{ | |
return new class($_) | |
{ | |
private $_; | |
public function __construct(&$_) | |
{ |
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
export class SongTrack | |
{ | |
constructor( | |
private element: ElementRef, | |
private renderer: Renderer | |
) | |
{ | |
let elem = this.element.nativeElement; | |
renderer.setElementStyle(elem, "color", "blue"); |
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
export class SongTrack | |
{ | |
constructor(private element: ElementRef) | |
{ | |
let elem = this.element.nativeElement; | |
elem.style.color = "blue"; | |
elem.style.cssText = "color: blue; ..."; // multiple styles | |
elem.setAttribute("style", "color: blue;"); | |
} |
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 | |
class LocaleDateFormat | |
{ | |
private $locale; | |
private $pattern; | |
public function __construct($pattern, $locale = 'en_US') | |
{ | |
$this->setLocale($locale); |