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 * from wp_terms t | |
LEFT JOIN wp_term_taxonomy tt ON t.term_id=tt.term_id |
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 object_id | |
FROM wp_term_relationships tr , wp_term_taxonomy tt | |
WHERE tt.term_taxonomy_id=tr.term_taxonomy_id AND tr.term_id=151 |
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 CliCounter{ | |
static $text=null; | |
static $bs = "\x08"; | |
static $loading = array("[\\]", "[|]","[/]", "[|]"); | |
static $loader = false; | |
static $date = 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
<?php | |
$subject = isset($_POST['subject']) ? $_POST['subject'] : null; | |
$pattern = isset($_POST['pattern']) ? $_POST['pattern'] : null; | |
$historyFile = "preg_match_history.html"; | |
session_start(); | |
if(!isset($_SESSION['lastPattern'])){ | |
$_SESSION['lastPattern'] = null; |
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 Address extends AddressCore {} | |
class AddressFormat extends AddressFormatCore {} | |
class AdminTab extends AdminTabCore {} | |
class Alias extends AliasCore {} | |
class Attachment extends AttachmentCore {} | |
class Attribute extends AttributeCore {} | |
class AttributeGroup extends AttributeGroupCore {} | |
class Backup extends BackupCore {} | |
class Blowfish extends BlowfishCore {} |
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
SET NAMES 'utf8'; | |
SET CHARACTER SET 'utf8'; | |
SET COLLATION_CONNECTION='utf8_general_ci'; | |
SET CHARSET 'utf8'; | |
SET COLLATION_DATABASE='utf8_general_ci'; | |
SET COLLATION_SERVER='utf8_general_ci'; |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>title</title> | |
<link rel="stylesheet" href="style.css"> | |
<script src="script.js"></script> | |
</head> | |
<body> | |
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
file_put_contents("file", var_export($query, true), FILE_APPEND); |
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
deb http://security.debian.org/ squeeze/updates main contrib | |
deb-src http://security.debian.org/ squeeze/updates main contrib | |
deb http://ftp.pl.debian.org/debian/ squeeze main contrib non-free | |
deb-src http://ftp.pl.debian.org/debian/ squeeze main contrib non-free | |
#nginx | |
#deb http://packages.dotdeb.org squeeze all | |
#deb-src http://packages.dotdeb.org squeeze all |
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 list_thumbnail_sizes() { | |
global $_wp_additional_image_sizes; | |
$sizes = array(); | |
$rSizes = array(); | |
foreach (get_intermediate_image_sizes() as $s) { | |
$sizes[$s] = array(0, 0); | |
if (in_array($s, array('thumbnail', 'medium', 'large'))) { | |
$sizes[$s][0] = get_option($s . '_size_w'); | |
$sizes[$s][1] = get_option($s . '_size_h'); |
OlderNewer