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
function my_remove_wp_seo_meta_box() { | |
remove_meta_box('wpseo_meta', YOUR_POST_TYPE_NAME_HERE, 'normal'); | |
} | |
add_action('add_meta_boxes', 'my_remove_wp_seo_meta_box', 100); |
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 | |
/* | |
* Modification of tribe_events_list_the_date_headers() for date grouping | |
* call this instead in tribe-events/list/loop.php | |
* | |
* @source the-events-calendar/src/functions/template-tags/loop.php | |
*/ | |
function conact_list_the_date_headers() { | |
$show_headers = apply_filters( 'tribe_events_list_show_date_headers', 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
jQuery.noConflict(); | |
jQuery(document).ready(function($) { | |
// ... | |
$('#commentform').submit(function() { | |
piwikTracker.trackGoal(1); // logs a conversion for goal 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
# 1. Get an account on http://www.justin.tv/ | |
# 2. Copy streaming key from: http://www.justin.tv/broadcast/adv_other | |
# 2. Install VLC: http://www.videolan.org/vlc/ | |
# 3. Get Win/Mac/Lin Stream Client: \ | |
# http://apiwiki.justin.tv/mediawiki/index.php/Linux_Broadcasting_API | |
# 4. Adjust the vlc parameters to your liking and run VLC like this | |
#!/bin/bash | |
cvlc screen:// \ | |
--screen-width 1576 \ |
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
1. Set your channel invite only but allow messages from outside: | |
/mode #yourchannel +i-n | |
2. Set an inite exception for any user whose ident is longer than two chars, this | |
/mode #yourchannel +I *!??*@* | |
3. In the repository administration, give the irc bot a nick like 'G' |
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
require "rubygems" | |
require "ap" | |
IRB::Irb.class_eval do | |
def output_value | |
ap @context.last_value, | |
:multiline => false, | |
:plain => false, | |
:indent => 2, | |
:color => { |