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
01:38,39,69,71,73,74 | |
02:08,51,59,60,77,80 | |
03:18,23,42,58,63,71 | |
04:05,06,26,83,84 | |
05:04,26,38,73 | |
06:04,83 | |
07:26,30,38,42,43,48,84 | |
08:02,51,55 | |
09:11,31,66 | |
10:21,51,52,77,89 |
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 | |
/** | |
* @author Nicolas Clavaud <[email protected]> | |
* http://n.clavaud.free.fr/blog/index.php?article31/symfony2-standalone-form-component-tutorial | |
*/ | |
namespace Me\MyApp; | |
use Symfony\Component\ClassLoader\UniversalClassLoader; |
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
set :application, 'www.mysite.com' | |
set :deploy_to, "/srv/www.mysite.com" | |
set :domain, "www.mysite.com" | |
set :user, "deploymentuser" | |
set :scm, :git | |
set :repository, "[email protected]:myusername/myproject.git" | |
set :branch, :master | |
set :deploy_via, :remote_cache | |
set :copy_exclude, ['.git'] | |
ssh_options[:forward_agent] = 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
{ | |
"require": { | |
"symfony/form": "2.1.*", | |
"symfony/validator": "2.1.*", | |
"symfony/templating": "2.1.*", | |
"symfony/framework-bundle": "2.1.*" | |
}, | |
"minimum-stability": "dev" | |
} |
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
<html> | |
<head> | |
<title>Standalone Form Component</title> | |
</head> | |
<body> | |
<form action="#" method="post"> | |
<?php echo $view['form']->widget($form); ?> | |
<input type="submit" /> | |
</form> | |
</body> |
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
DELETE pm | |
FROM wp_postmeta pm | |
LEFT JOIN wp_posts wp ON wp.ID = pm.post_id | |
WHERE wp.ID IS NULL |
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
// | |
// AppDelegate.m | |
// | |
// | |
// Created by Cory D. Wiles on 10/8/12. | |
// Copyright (c) 2013 Cory D. Wiles. All rights reserved. | |
// | |
#import "AppDelegate.h" | |
#import "iTunes.h" |
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 my_function() { | |
$start = microtime(true); | |
// function code here | |
$time_taken = microtime(true) - $start; | |
wp_die( $time_taken ); // in seconds | |
} |
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 | |
/** | |
* A helper class to implement arbitrary content at arbitrary URLs without a supporting post or page. | |
* Inherit from this class and implement the render_page method | |
* | |
* @author: Tom J Nowell ww.tomjn.com | |
* @License: GPL 2+ | |
*/ | |
abstract class Tomjn_Custom_Page { |
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 | |
/** | |
* Plugin Name: My Plugin | |
* Description: A sample plugin with class autoloader, for object-oriented programming. | |
* Version: 0.1 | |
* Plugin URI: http://shaunscovil.com/ | |
* Author: Shaun Scovil | |
* Author URI: http://shaunscovil.com/ | |
* License: GPL2 | |
*/ |
OlderNewer