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
{ | |
"meta": { | |
"name": "ais-platform", | |
"version": 1, | |
"semver": "2.2.3", | |
"env": "int", | |
"debug": true, | |
"seconds": null | |
}, | |
"body": { |
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
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../topeka-elements/avatars.html"> | |
<polymer-element name="my-element"> |
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
<!-- ko if: response() == 'email' && $root.emailSetting() != 'local' --> | |
<div class="fieldset"> | |
<label class="norm proxima semibold fc-dgrey">Email list</label> | |
<select data-bind="options: $root.emailLists(), optionsText: 'name', optionsValue: 'id', value: options()[0].list"></select> | |
</div> | |
<!-- /ko --> | |
<!-- ko if: response() == 'email' && $root.emailSetting() == 'local' --> | |
<input type="hidden" data-bind="value: options()[0].list('local')"> | |
<!-- /ko --> |
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
$('.category').hover(function() { | |
var categoryId = $(this).attr('id'); | |
$(this).append("<span class='delete' onclick='deleteItem(" + categoryId + ");'> <a href='#'>delete</a></span>"); | |
}, function() { | |
$(this).find("span:last").remove(); | |
}); |
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
class Validate | |
{ | |
private static function clean($input = array()) | |
{ | |
$clean = array(); | |
foreach ($input as $key => $value) { | |
$clean[$key] = htmlentities(mb_convert_encoding($value, 'UTF-8', 'UTF-8'), ENT_QUOTES, 'UTF-8'); | |
} | |
return $clean; | |
} |
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
foreach ($result as $key => $value) { // compare date elements to current date | |
$reminderDate = $value[4] . "-" . $value[1]. "-" . $value[2]; // concatenate to match format of date function | |
if ($reminderDate == DATE) { | |
$queue[] = $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
http://pinterest.com/pin/create/button/?url=http://www.domain.com&description=&media= | |
ex: | |
http://pinterest.com/pin/create/button/?url=http://www.youworkforthem.com&media=http://www.youworkforthem.com/img/eps/E1174/E1174_00.jpg&description=Escapism 30 pulls further away from reality by manipulating organic materials into beautiful, hi-res bursting textures. This is art, this is space, this is nature, this is chaos. Use as you wish. |