- dockblockr - a helper package for writing documentation.
- git-log - graphs your git commits.
- git-plus - do git things in Atom without terminal.
- grunt-runner - run grun tasks from Atom
- language-nginx - adds Nginx syntax/coloring support.
- merge-conflicts - Resolve git conflicts visually in Atom.
- react (by orktes) - adds React.js JSX langauge support, snippets, auto completion.
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
<!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"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<!--[if !mso]><!--> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<!--<![endif]--> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title></title> | |
<link rel="stylesheet" type="text/css" href="styles.css"> |
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 | |
/** | |
* Plugin Name: WP Missed Scheduled Check | |
* Description: Checks for missed scheduled posts once a day and force publishes them if they missed their scheduled publish time. | |
* Version: 1.0 | |
* Author: Seth Rubenstein | |
* Author URI: http://sethrubenstein.info | |
* License: GPL2 | |
*/ |
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 | |
/** | |
* This hook tells the media uploader to only display select sizes to users. | |
* @param $sizes the original image sizes available to the image editor. | |
* @return $new_sizes the original $sizes and the new sizes we're adding. | |
* @author Mahder | |
*/ | |
function sr_add_image_sizes_to_editor($sizes) { | |
$new_sizes = array(); |
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
<div class="browser-mockup with-url"> | |
<img src="http://placehold.it/500x300/fff/eee" /> | |
</div> |
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
jQuery(function() { | |
jQuery(window).scroll(function() { | |
jQuery('.wp-video-shortcode').each(function() { | |
var str = jQuery(this).attr('id'); | |
var arr = str.split('_'); | |
typecheck = arr[0]; | |
if (jQuery(this).is(":in-viewport( 400 )") && typecheck == "mep") { | |
mejs.players[jQuery(this).attr('id')].media.play(); | |
} else if (typecheck == "mep") { | |
mejs.players[jQuery(this).attr('id')].media.stop(); |
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
location ~* \.(jpe?g|gif|png)$ { | |
try_files $uri @photon; | |
} | |
location @photon { | |
rewrite ^(.*)-([0-9]+)x([0-9]+)\.(jpe?g|gif|png)$ http://i0.wp.com/$host$1.$4?resize=$2,$3; | |
rewrite . http://i0.wp.com/$host$request_uri; | |
} |
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_filter( 'excerpt_length', 'my_excerpt_length' ); | |
function my_excerpt_length( $length ) { | |
return 110; | |
} |
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
a |
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
/** | |
* Override WP oEmbed | |
* @version 1.0 | |
*/ | |
add_filter( 'embed_oembed_html', 'mycred_override_video_shortcode', 999, 4 ); | |
function mycred_override_video_shortcode( $original, $url, $attr, $post_ID ) { | |
// If myCRED is not enabled | |
if ( ! function_exists( 'mycred_render_shortcode_video' ) ) return $original; | |
// Get cache |