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
/Library/Ruby/Gems/1.8/gems/activerecord-3.0.3/lib/active_record/connection_adapters/mysql_adapter.rb:30:in `mysql_connection': undefined method `init' for Mysql:Class (NoMethodError) |
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 | |
include('phpviddler.php'); | |
$user = 'YOUR USERNAME'; | |
$pass = 'YOUR PASSWORD'; | |
$api_key = 'YOUR API KEY'; | |
$callback_url = 'CALLBACK'; | |
$v = new Viddler_V2($api_key); |
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
<% | |
## Controller stuff! | |
# Assuming... require 'rubygems' | |
# Assuming... require 'viddler-ruby' | |
# Create the client and authenticate it | |
viddler = Viddler::Client.new 'YOUR API KEY' | |
viddler.authenticate! 'USERNAME', 'PASSWORD' | |
upload = viddler.get 'viddler.videos.prepareUpload' |
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
<html> | |
<head> | |
<title>JSONP Example Using jQuery</title> | |
<script type="text/javascript" language="javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> | |
<script type="text/javascript" language="javascript"> | |
function writeMsg(msg) | |
{ | |
if (window.console) { | |
console.log(msg); | |
} |
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
<html> | |
<head> | |
<title>Viddler: Resumable video player demonstration</title> | |
</head> | |
<body> | |
<h1>Viddler: Resumable video player demonstration</h1> | |
<p>This demonstration goes along with <a href="http://blog.viddler.com/cdevroe/resumable-video/">this Viddler blog post</a>.</p> | |
<p>Here is a short video from a recent trip to Ireland. If you come back you should start watching the video right where you've left off.</p> |
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: Recent Posts Photos | |
Plugin URI: http://www.ProgrammersCountry.com | |
Description: Displays Recent Posts Photos from the media library in the sidebar. If the post does not contain a photo it is not displayed. | |
Version: 0.0.2 | |
Author: Asad Iqbal | |
Author URI: http://www.ProgrammersCountry.com | |
With edits by Colin Devroe | http://cdevroe.com/ |
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
Template: Client Call % Client Name % - % Date % | |
# Call information | |
Dial-in information: | |
- Number: | |
- Pin: | |
- URL: | |
Parties on call: |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<opml version="1.0"> | |
<head> | |
<title>Hypertext Member Blogs</title> | |
</head> | |
<body> | |
<outline text="Hypertext Member Blogs" title="Hypertext Member Blogs"> | |
<outline type="rss" text="Colin Devroe" title="Colin Devroe" xmlUrl="http://cdevroe.com/feed" htmlUrl="http://cdevroe.com/"/> | |
<outline type="rss" text="Hypertext" title="Hypertext by Justin Blanton" xmlUrl="http://feeds.feedburner.com/jblanton" htmlUrl="http://hypertext.net"/> |
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
<!-- repeat:blogpost:5 --> | |
<your code /> | |
<!-- endrepeat --> | |
<!-- repeat:my_section:10 --> | |
<your code /> | |
<!-- endrepeat --> |
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
<!-- repeat:blogpost:5 --> | |
<article> | |
<h2 class="title"> | |
<a href="%URL%">%TITLE%</a> | |
</h2> | |
<div class="meta"> | |
<h4 class="author"> | |
Written by <span class="emphasize">%AUTHOR%</span> <span class="date">Published on <a href="%URL%" class="published_on" data-barley-publish-post="%ID%">%PUBLISHED_ON%</a></span> | |
</h4> | |
</div> |