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
<? | |
header('Content-Type: text/plain'); | |
/** | |
* Changes permissions on files and directories within $dir and dives recursively | |
* into found subdirectories. | |
*/ | |
function chmod_r($dir) | |
{ |
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
[Default Text] | |
FileNameExtensions=txt; text; wtx; log; asc; doc; diz; nfo | |
Default Style=font:DejaVu Sans Mono; size:11; fore:#FFFFFF; back:#293134 | |
Margins and Line Numbers=size:-2; fore:#81969a; back:#3f4b4e | |
Matching Braces=size:+1; bold; fore:#000000; back:#FD971F | |
Matching Braces Error=size:+1; bold; fore:#F8F8F0; back:#F92672 | |
Control Characters (Font)=size:-1 | |
Indentation Guide (Color)=fore:#A0A0A0 | |
Selected Text (Colors)=back:#7D9399; eolfilled | |
Whitespace (Colors, Size 0-5)= |
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
[Default Text] | |
FileNameExtensions=txt; text; wtx; log; asc; doc; diz; nfo | |
Default Style=font:Consolas; size:10; fore:#F8F8F2; back:#272822 | |
Margins and Line Numbers=size:-2; fore:#BCBCBC; back:#3B3A32 | |
Matching Braces=size:+1; bold; fore:#000000; back:#FD971F | |
Matching Braces Error=size:+1; bold; fore:#F8F8F0; back:#F92672 | |
Control Characters (Font)=size:-1 | |
Indentation Guide (Color)=fore:#A0A0A0 | |
Selected Text (Colors)=fore:#F8F8F2; back:#49483E; eolfilled | |
Whitespace (Colors, Size 0-5)= |
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
insert into vl86p_categories (title,alias,parent_id,published,access,extension) select name,alias,parent,published,access,'com_content' from dnaur123_1.cththemes_k2_categories | |
INSERT INTO `dnaur123_teste`.`vl86p_content` (`id`, `title`, `alias`, `catid`, `introtext`, `fulltext`, `created`, `created_by`, `publish_up`, `publish_down`, `access`, `hits`, `metadesc`, `metakey`, `state`) SELECT `id`, `title`, `alias`, `catid`, `introtext`, `fulltext`, `created`, `created_by`, `publish_up`, `publish_down`, `access`, `hits`, `metadesc`, `metakey`, `published` FROM `dnaur123_1`.`cththemes_k2_items` | |
USE O RECURSO DE CONCATENAÇÃO DO EXCEL DEPOIS DE TOMAR NOTA DE TODAS AS CATEGORIAS PRESENTES NO K2 QUE FORAM IMPORTADAS E DAS NOVAS CATEGORIAS CRIADAS. TENHA EM MENTE QUE 74 É A NOVA CATEGORIA DE EXEMPLO E 1 É CATEGORIA ORIGINAL DE EXEMPLO, CUJAS QUAIS DEVEM SER TROCADAS VIA CONCATENAÇÃO | |
UPDATE vl86p_content SET catid = 74 WHERE catid = 1; | |
Ir em categorias e mandar reconstruir a árvore de categorias depois de tudo impo |
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
/** | |
* Equal Heights Plugin | |
* Equalize the heights of elements. Great for columns or any elements | |
* that need to be the same size (floats, etc). | |
* | |
* Version 1.0 | |
* Updated 12/10/2008 | |
* | |
* Copyright (c) 2008 Rob Glazebrook (cssnewbie.com) | |
* |
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 | |
/** | |
* @package Joomla.Site | |
* @subpackage mod_articles_latest | |
* | |
* @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved. | |
* @license GNU General Public License version 2 or later; see LICENSE.txt | |
*/ | |
/* | |
Joomla Latest Articles Module with Youtube and VIMEO custom fields and ADD XML FIELDS plugin. |
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 replace_scripts_with_src( $html ) { | |
$html = preg_replace( '`\<script\b[^\x3e]*\bsrc\b[\x00-\x20\x7f]*\=[\x00-\x20\x7f]*(?:[\x22](?:[^\x22]*)[\x22]|[\x27](?:[^\x27]*)[\x27]|[^\x20\x3e]*)[^\x3c]*(?:(?!\<\/script\>)\<[^\x3c]*)*\<\/script\>`i', '', $html ); | |
return $html; | |
} | |
$old_html = file_get_contents( 'https://www.facebook.com' ); | |
$new_html = replace_scripts_with_src( $old_html ); |
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 | |
/** | |
* @package Joomla.Site | |
* @subpackage com_search | |
* | |
* @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved. | |
* @license GNU General Public License version 2 or later; see LICENSE.txt | |
*/ | |
defined('_JEXEC') or die; | |
$db = JFactory::getDBO(); |
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
/*! Copyright (c) 2019 WhatsApp Inc. All Rights Reserved. */ ! function(e) { | |
function i(n) { | |
if (r[n]) return r[n].exports; | |
var f = r[n] = { | |
i: n, | |
l: !1, | |
exports: {} | |
}; | |
return e[n].call(f.exports, f, f.exports, i), f.l = !0, f.exports | |
} |
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
#------------------------------------------------------------------------------# | |
# OFFICIAL DEBIAN REPOS | |
#------------------------------------------------------------------------------# | |
###### Debian Main Repos | |
deb http://deb.debian.org/debian/ stable main contrib non-free | |
deb-src http://deb.debian.org/debian/ stable main contrib non-free | |
deb http://deb.debian.org/debian/ stable-updates main contrib non-free | |
deb-src http://deb.debian.org/debian/ stable-updates main contrib non-free |