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
| error_reporting(E_ALL); | |
| ini_set('display_errors', 1); |
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 ob_start(); ?> | |
| <!--content--> | |
| <?='<span class="replace" data-block-id="' . base64_encode(ob_get_clean()) . '"></span>'?> | |
| jQuery(".replace2").each(function () { | |
| var hash = jQuery(this).attr("data-block-id"); | |
| jQuery(this).replaceWith(jQuery.base64.atob(hash, true)); | |
| }); |
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
| ALTER TABLE some_table ADD( | |
| `created` bigint(11) NOT NULL, | |
| `author` int(11) NOT NULL, | |
| `last_author` int(11) NOT NULL, | |
| `last_edit` bigint(11) NOT NULL, | |
| `seo_index` tinyint(1) NOT NULL DEFAULT '1', | |
| `seo_title` varchar(256) NOT NULL, | |
| `seo_h1` varchar(256) NOT NULL, | |
| `seo_description` varchar(512) NOT NULL, | |
| `seo_keywords` varchar(512) NOT NULL, |
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
| // ==UserScript== | |
| // @name csgolounge-autobump | |
| // @namespace csgoloungeAutobump | |
| // @include http://csgolounge.com/mytrades | |
| // @version 1 | |
| // @grant none | |
| // ==/UserScript== | |
| /*global $, console*/ | |
| (function ($) { |
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
| chcp 1251 |
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
| $qMarks = str_repeat('?,', count($articles) - 1) . '?'; |
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
| SELECT an.article, ano.article | |
| FROM atr_nomenclature an | |
| LEFT OUTER JOIN atr_nomenclature ano ON an.article = ano.article AND ano.deleted = '0' AND ano.article_replaced is not null | |
| WHERE an.deleted = '0' AND an.article_replaced is null AND an.article is not null AND ano.article is null |