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 | |
wp_embed_register_handler( 'gist', '/https?:\/\/gist\.github\.com\/([a-z0-9]+)\/([a-z0-9]+)(#file=.*)?/i', function( $matches, $attr, $url, $rawattr ) { | |
$embed = sprintf( | |
'<script src="https://gist.github.com/%1$s/%2$s.js"></script>', | |
esc_attr( $matches[1] ), | |
esc_attr( $matches[2] ) | |
); | |
return apply_filters( 'embed_gist', $embed, $matches, $attr, $url, $rawattr ); | |
} ); |
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
.gist .file { | |
height: auto; | |
} |
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 | |
define( 'ITUNES_AFFILIATE_TAG', '' ); | |
new Itunes_Link_Builder(); | |
/** | |
* Class Name: iTunes Link Builder | |
* @author @ottanxyz | |
*/ | |
class iTunes_Link_Builder { |
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 | |
define( 'AWS_API_KEY', '' ); | |
define( 'AWS_API_SECRET_KEY', '' ); | |
define( 'AWS_ASSOCIATE_TAG', '' ); | |
new Amazon_Link_Builder(); | |
use ApaiIO\Configuration\GenericConfiguration; | |
use ApaiIO\Operations\Lookup; | |
use ApaiIO\ApaiIO; |
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
javascript:window.location='http://www.amazon.co.jp/dp/'+(document.getElementsByName('ASIN')[0]||document.getElementsByName('ASIN.0')[0]).value; |
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 | |
new External_Link_Builder(); | |
/** | |
* Class Name: External Link Builder | |
*@author @ottanxyz | |
*/ | |
class External_Link_Builder { | |
function __construct() { |
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
.wp-embed { | |
padding: 25px; | |
font: 400 14px/1.5 sans-serif; | |
color: #82878c; | |
background: #fff; | |
border: 1px solid #e5e5e5; | |
box-shadow: 0 1px 1px rgba(0, 0, 0, .05); | |
overflow: auto; | |
zoom: 1; | |
margin-bottom: 25px; |
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 | |
new Google_Play_Link_Builder(); | |
/** | |
* Class Name: Google Play Link Builder | |
*@author @ottanxyz | |
*/ | |
class Google_Play_Link_Builder { | |
function __construct() { |
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
div.wpappbox { | |
height: auto; | |
background-color: #f5f5f5; | |
overflow: hidden; | |
border: 0; | |
padding: 5px; | |
clear: both; | |
font-family: inherit;; | |
background-color: #f9f9f9; | |
width: auto; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>EnvironmentVariables</key> | |
<dict> | |
<key>PATH</key> | |
<string>/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin</string> | |
</dict> | |
<key>Label</key> |
OlderNewer