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
#!/bin/bash | |
avail=/etc/httpd/sites-enabled/$1.conf | |
enabled=/etc/httpd/sites-enabled | |
site=`ls /etc/httpd/sites-enabled/` | |
if [ "$#" != "1" ]; then | |
echo "Use script: a2dissite virtual_site" | |
echo -e "\nAvailable virtual hosts: \n$site" | |
exit 0 | |
else |
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
<style> | |
ul { | |
list-style:none; | |
} | |
li { | |
display: inline-block; | |
padding: 5px; | |
} | |
</style> |
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 | |
include_once dirname(__FILE__)."/Tax-meta-class/Tax-meta-class.php"; | |
class MyTax_Meta_Class extends Tax_Meta_Class { | |
public function load_scripts_styles(){ | |
parent::load_scripts_styles(); | |
// enqueue only in the right place | |
if(isset($_REQUEST['taxonomy'])) { | |
//script must have been registered previously (priority of at least 10) |
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 alter_comment_form_fields($fields){ | |
$commenter = wp_get_current_commenter(); | |
$fields['author'] = '<p class="comment-form-input comment-form-author"><label for="author">' . __( 'This is a fancy label', 'your-text-domain' ) . '</label><input id="author" required name="author" type="text" placeholder="Seu nome" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30" aria-required="true" /></p>'; | |
return $fields; | |
} |
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
using System; | |
namespace FacebookGroup { | |
public class Example(){ | |
public Exemple(){ | |
Console.WriteLine("hej på dig"); | |
} | |
} | |
} |
NewerOlder