I hereby claim:
- I am mckelvey on github.
- I am mckelvey (https://keybase.io/mckelvey) on keybase.
- I have a public key whose fingerprint is 6C10 B568 D534 3F3A EF3B C6E1 02CF 9F99 0275 F076
To claim this, I am signing this object:
<?php | |
$_LW->REGISTERED_APPS['time_formatter']=array( | |
'title'=>'Time Formatter', | |
'handlers'=>array('onWidgetFormat'), | |
); | |
class LiveWhaleApplicationTimeFormatter { | |
public function onWidgetFormat($type, $handler, $variables) { // alter widget variables |
<?php | |
$_LW->REGISTERED_APPS['short_summary']=array( | |
'title'=>'Short Summary', | |
'handlers'=>array('onWidgetFormat'), | |
); | |
class LiveWhaleApplicationShortSummary { | |
public function onWidgetFormat($type, $handler, $variables) { // alter widget variables |
<?php | |
$_LW->REGISTERED_APPS['community_public_group'] = array( // configure this application module | |
'title' => 'Community Public Group', | |
'handlers' => array( | |
'onLoad', | |
'onLoginSuccess', | |
'onLoginFailure', | |
'onSubnavs', | |
'onManagerQuery', |
// Generated by CoffeeScript 1.4.0 | |
(function() { | |
var PreProcessor; | |
PreProcessor = (function() { | |
/* | |
from: https://github.com/sockjs/sockjs-node/commit/e0e7113f0f8bd8e5fea25e1eb2a8b1fe1413da2c | |
from: https://github.com/sockjs/sockjs-client/blob/a571c94e051de7af489b4fc541194956e1d171fe/lib/utils.js | |
*/ |
... | |
<xphp content="true"> | |
<if var="profiles_edit_link"/> | |
<content> | |
<div class="profiles_edit_link"> | |
<xphp var="profiles_edit_link" inner="true"/> | |
</div> | |
</content> | |
</xphp> |
<?php | |
/* | |
This is a sample application designed to demonstrate how to add an additional custom field to a backend editor. | |
The example provided adds a "Dress Code" field to the existing event editor in LiveWhale. To add a custom field to the news editor, for example, follow the same example but change all references from events to news below. | |
*/ |
# Inside the repo root | |
$ mkdir svg-collected | |
$ find . -type f -iname '*_48px.svg' -exec cp {} ~/Desktop/material-design-icons-2.0/svg-collected/ \; | |
# Rename the Filenames | |
$ for i in *_48px.svg; do mv -- "$i" "${i/_48px/}"; done | |
$ for i in ic_*; do mv -- "$i" "${i/ic_/}"; done | |
$ for i in *_*; do mv -- "$i" "${i/_/ }"; done |
I hereby claim:
To claim this, I am signing this object:
/* replaces lines 18985-19057 of HTMLPurifier.standalone.php v.4.9.3 */ | |
/** | |
* @param DOMNode $node | |
*/ | |
protected function getTagName($node) | |
{ | |
if (property_exists($node, 'tagName')) { | |
return $node->tagName; | |
} else if (property_exists($node, 'nodeName')) { |
wget --recursive --no-clobber --page-requisites --adjust-extension --span-hosts --convert-links --no-parent --no-check-certificate -erobots=off --domains yoursite.com yoursite.com/whatever/path |