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
#!/bin/bash | |
read -p "Enter IP address: " -e -i 192.168.0.4 IP | |
echo $IP |
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
$(document).ready(function() { | |
$('dt').prepend('<img class="toggle" src="images/arrow.png" width="9" height="9" /> '); | |
var hashTag = window.location.hash.substring(1); | |
$('dd').each(function(i) { | |
var itemAnchor = $(this).prev('dt').find('a[name]').attr("name"); | |
if ( itemAnchor == hashTag ) { | |
$(this).show(); | |
} | |
else { | |
$(this).hide(); |
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
Add the following to your /com_content/category/blog.php template override just before <?php $this->item = &$item; echo $this->loadTemplate('item'); ?> of the class="leading" item. | |
<?php if ($this->pagination->get('pages.current') == 1) echo '<h1>Absolute First Article</h1>' ?> | |
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
body { | |
font-size: 76%; | |
} | |
#body-container { | |
width: 96%; | |
} | |
#body-container .gutter { | |
margin: 0 2%; | |
} |
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 defined('_JEXEC') or die; | |
$doc = JFactory::getDocument(); | |
$doc->addStyleSheet('/templates/system/css/screen.css'); | |
$doc->addStyleSheet('/templates/system/css/general.css'); | |
$doc->addStyleSheet('templates/' . $this->template . '/css/default.css'); | |
?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" > | |
<head> | |
<jdoc:include type="head" /> |
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
Index: components/com_docman/assets/css/doclink.css | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- components/com_docman/assets/css/doclink.css (revision 2a61a685c476f7a9c5780fa1aad1fae07892c1e5) | |
+++ components/com_docman/assets/css/doclink.css (revision ) | |
@@ -9,7 +9,7 @@ | |
*/ | |
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
Replace <li>(<span>.+?</span>) (<a .+?</a>)</li> with: <li>$2 $1</li> - https://twitter.com/#!/NoNumber_nl/status/204938777389576194 |
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
background: #666; | |
background-image: -webkit-gradient(radial,center center,125,center center,800,from(white),to(#4C4C4C)); | |
background-image: -moz-radial-gradient(50% 50% 90deg,circle farthest-side,white,#4C4C4C); | |
position: fixed; | |
left: 0; | |
top: 0; | |
z-index: 999; |
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
from: https://groups.google.com/forum/#!msg/joomla-dev-general/WfMoTdxf6hg/Mgep5T42i0EJ | |
<?php echo JHtml::_('sliders.start', 'slider-panel-id', array('useCookie'=>0, 'startOffset'=>-1, 'startTransition'=>1)); ?> |
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
update jos_content set introtext = replace(introtext,'<table style=\"width: 800px; height: 304px;\" border=\"0\">','<table border=\"0\">'); |