<?php
function init_trace($object)
{
$r = new ReflectionObject($object);
// Create array of object's property names.
$properties = array_map(function (ReflectionProperty $property) {
return $property->getName();
}, $r->getProperties());
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
name = Tattoo | |
core = 7.x | |
dependencies[] = restws |
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 | |
namespace DependencyInjection\Compiler; | |
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; | |
use Symfony\Component\DependencyInjection\ContainerBuilder; | |
class ClosureCompilerPass implements CompilerPassInterface | |
{ | |
private $pass; |
IFTTT (http://www.ifttt.com/)
- URL scheme:
http://ifttt.com/recipes/*
- API endpoint:
http://www.ifttt.com/oembed/
- Example: https://ifttt.com/oembed?url=https%3A%2F%2Fifttt.com%2Frecipes%2F107745
- Supports discovery via
<link>
tags
YouTube (http://www.youtube.com/)
- API endpoint:
http://www.youtube.com/oembed
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 | |
<<<CONFIG | |
packages: | |
- "fabpot/goutte: ~3.1" | |
- "symfony/console: ~2.7" | |
- "symfony/yaml: ~2.7" | |
CONFIG; | |
use Goutte\Client; |
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 | |
<<<CONFIG | |
packages: | |
- "guzzlehttp/guzzle: ~6.0" | |
- "symfony/dom-crawler: ~2.7" | |
- "symfony/css-selector: ~2.7" | |
- "symfony/console: ~2.7" | |
CONFIG; |
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 | |
class TwigFormatServiceProvider implements \Pimple\ServiceProviderInterface | |
{ | |
public function register(\Pimple\Container $pimple) | |
{ | |
$pimple['twig.sandbox.allowed_tags'] = array(); | |
$pimple['twig.sandbox.allowed_filters'] = array(); | |
$pimple['twig.sandbox.allowed_methods'] = array(); | |
$pimple['twig.sandbox.allowed_properties'] = array(); |
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
{ | |
"repositories": [ | |
{ | |
"type": "composer", | |
"url": "http://bangpound.github.io/packages" | |
} | |
], | |
"require": { | |
"composer/composer": "~1.0@dev", | |
"composer/installers": "~1.0@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
diff --git a/app/index.html b/app/index.html | |
index 6ae0c13..5616fa4 100644 | |
--- a/app/index.html | |
+++ b/app/index.html | |
@@ -12,7 +12,6 @@ | |
<!-- build:css(.) styles/vendor.css --> | |
<!-- bower:css --> | |
- <link rel="stylesheet" href="bower_components/jquery-mobile/css/themes/default/jquery.mobile.css" /> | |
<link rel="stylesheet" href="bower_components/font-awesome/css/font-awesome.css" /> |
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
diff --git a/app/index.html b/app/index.html | |
index c63ec15..673e360 100644 | |
--- a/app/index.html | |
+++ b/app/index.html | |
@@ -14,6 +14,7 @@ | |
<!-- bower:css --> | |
<link rel="stylesheet" href="bower_components/jquery-mobile/css/themes/default/jquery.mobile.css" /> | |
<link rel="stylesheet" href="bower_components/font-awesome/css/font-awesome.css" /> | |
+ <link rel="stylesheet" href="bower_components/isteven-angular-multiselect/angular-multi-select.css" /> | |
<!-- endbower --> |