I hereby claim:
- I am jessebeach on github.
- I am jessebeach (https://keybase.io/jessebeach) on keybase.
- I have a public key whose fingerprint is BF30 F36A 7CD9 34AB 8F0B D874 8559 F954 0D51 E914
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
HTTP/1.1 200 OK | |
Content-Type: application/json | |
Link: <http://api.example.com/person.jsonld>;rel="http://www.w3.org/ns/json-ld#context" | |
{ | |
"n": "Jenny Gallegos", | |
"photo_link": "http://www.example.com/img/omjennyg" | |
} | |
Example taken from: Richardson, Leonard. "Restful Web APIs". |
<ul class="dropdown-menu" role="menu"> | |
<li class="heading cfx"> | |
<span class="left">Google Apps Domain</span> | |
<span class="mid">Users</span> | |
<span class="right">Status</span> | |
</li> | |
<li class="cfx"> | |
<a href="/settings/domains/1/dashboard"> | |
<span class="left">backupifydevman1.com</span> | |
<span class="mid">9</span> |
Former and latter fun! | |
* It is up to the class implementing this interface to manage where the | |
* information comes from. For example, field.module provides an implementation | |
* based on two levels of configuration. It allows the site administrator to add | |
* custom fields to any entity type and bundle via the "field_config" and | |
* "field_instance_config" configuration entities. The former for storing | |
* configuration that is independent of which entity type and bundle the field | |
* is added to, and the latter for storing configuration that is specific to the | |
* entity type and bundle. |
javascript:(function (srcs,cfg) %7B var cbcount %3D 1%3B var callback %3D function () %7B -- cbcount%3B if (cbcount %3D%3D%3D 0) %7B BrowserPonies.setBaseUrl(cfg.baseurl)%3B if (!BrowserPoniesBaseConfig.loaded) %7B BrowserPonies.loadConfig(BrowserPoniesBaseConfig)%3B BrowserPoniesBaseConfig.loaded %3D true%3B %7D BrowserPonies.loadConfig(cfg)%3B if (!BrowserPonies.running()) BrowserPonies.start()%3B %7D %7D%3B if (typeof(BrowserPoniesConfig) %3D%3D%3D "undefined") %7B window.BrowserPoniesConfig %3D %7B%7D%3B %7D if (typeof(BrowserPoniesBaseConfig) %3D%3D%3D "undefined") %7B %2B%2B cbcount%3B BrowserPoniesConfig.onbasecfg %3D callback%3B %7D if (typeof(BrowserPonies) %3D%3D%3D "undefined") %7B %2B%2B cbcount%3B BrowserPoniesConfig.oninit %3D callback%3B %7D var node %3D (document.body %7C%7C document.documentElement %7C%7C document.getElementsByTagName(%27head%27)%5B0%5D)%3B for (var id in srcs) %7B if (document.getElementById(id)) continue%3B if (node) %7B var s %3D document.createElement(%27script%27)%3B s.t |
(function ($) { | |
$(function () { | |
var $links = $('a[href^="#"]'); | |
$links | |
.on('click', function (event) { | |
var $this = $(this); | |
var href = $this.attr('href'); |
<script> | |
// Multiple calls will concatenate. | |
Drupal.announce( | |
Drupal.t('Freegan before they sold out polaroid') | |
); | |
Drupal.announce( | |
Drupal.t('pitchfork letterpress polaroid four loko') | |
); | |
Drupal.announce( | |
Drupal.t('Cardigan cosby sweater fanny pack') |
// Pass a string. | |
Drupal.announce('The application has been updated.'); | |
// Make sure the string is translatable. | |
Drupal.announce( | |
Drupal.t('The application has been updated.') | |
); | |
/** | |
* Gets the entity controller class for an entity type. | |
* | |
* @return Drupal\Core\Entity\EntityStorageControllerInterface | |
*/ | |
function entity_get_controller($entity_type) { | |
$controllers = &drupal_static(__FUNCTION__, array()); | |
if (!isset($controllers[$entity_type])) { | |
$type_info = entity_get_info($entity_type); | |
$class = $type_info['controller_class']; |
Stack trace: | |
[09-Nov-2012 21:06:48 UTC] PHP 1. {main}() /Users/jbeach/code/drupal/core/spark/d8/docroot/index.php:0 | |
[09-Nov-2012 21:06:48 UTC] PHP 2. Symfony\Component\HttpKernel\Kernel->handle() /Users/jbeach/code/drupal/core/spark/d8/docroot/index.php:35 | |
[09-Nov-2012 21:06:48 UTC] PHP 3. Drupal\Core\HttpKernel->handle() /Users/jbeach/code/drupal/core/spark/d8/docroot/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Kernel.php:193 | |
[09-Nov-2012 21:06:48 UTC] PHP 4. Symfony\Component\HttpKernel\HttpKernel->handle() /Users/jbeach/code/drupal/core/spark/d8/docroot/core/lib/Drupal/Core/HttpKernel.php:51 | |
[09-Nov-2012 21:06:48 UTC] PHP 5. Symfony\Component\HttpKernel\HttpKernel->handleRaw() /Users/jbeach/code/drupal/core/spark/d8/docroot/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php:73 | |
[09-Nov-2012 21:06:48 UTC] PHP 6. Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() /Users/jbeach/code/drupal/core/spark/d8/docroot/core/vendor/symfony/h |