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
{ | |
"title": "AppraiserPage", | |
"type": "object", | |
"properties": { | |
"display_name": { | |
"title": "Display Name", | |
"type": "string" | |
}, | |
"honorific_prefix": { | |
"title": "Honorific Prefix", |
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
{ | |
"title": "AppraisalPage", | |
"type": "object", | |
"properties": { | |
"title": { | |
"title": "Title", | |
"type": "string" | |
}, | |
"slug": { | |
"title": "Slug", |
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
{ | |
"global": { | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": true, | |
"show_profile_name_in_menu_bar": false | |
}, | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"parameters": { |
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
{"title": "SphericalVideoPage", "description": "note that transcript is part of video schema", "type": "object", "properties": {"title": {"title": "Title", "type": "string"}, "slug": {"title": "Slug", "type": "string"}, "page_type": {"title": "Page Type", "type": "string"}, "canonical_image": {"$ref": "#/definitions/Image"}, "summary": {"title": "Summary", "type": "string"}, "url": {"$ref": "#/definitions/Hyperlink"}, "contentType": {"title": "Contenttype", "default": "application/vnd.theseus+novapage", "type": "string"}, "topic": {"$ref": "#/definitions/Topic"}, "brand": {"$ref": "#/definitions/Brand"}, "short_description": {"title": "Short Description", "type": "string"}, "long_description": {"title": "Long Description", "type": "string"}, "publish_date": {"title": "Publish Date", "type": "string", "format": "date"}, "related_content": {"title": "Related Content", "type": "array", "items": {"$ref": "#/definitions/NovaPage"}}, "video": {"$ref": "#/definitions/YouTubeVideo"}}, "required": ["title", "topic", " |
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
[style] | |
# Align closing bracket with visual indentation. | |
align_closing_bracket_with_visual_indent=False | |
# Allow dictionary keys to exist on multiple lines. For example: | |
# | |
# x = { | |
# ('this is the first element of a tuple', | |
# 'this is the second element of a tuple'): | |
# value, |
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
<!doctype html> | |
<html class="no-js" lang="en-gb"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | |
<title>Wagtail - Editing image Potted plant and stars</title> | |
<meta name="description" content="" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
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
{ | |
"title": "Shift keys to parentheses", | |
"rules": [ | |
{ | |
"description": "map left shift to opening parenthesis", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_shift", |
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
#!/usr/bin/env php | |
<?php | |
$arg = 'T'; | |
$vehicle = ( ( $arg == 'B' ) ? 'bus' : | |
( $arg == 'A' ) ? 'airplane' : | |
( $arg == 'T' ) ? 'train' : | |
( $arg == 'C' ) ? 'car' : | |
( $arg == 'H' ) ? 'horse' : | |
'feet' ); | |
echo $vehicle; |
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 Dashing.Plum extends Dashing.Widget | |
ready: -> | |
container = $(@node).parent() | |
@width = (Dashing.widget_base_dimensions[0] * container.data("sizex")) + Dashing.widget_margins[0] * 2 * (container.data("sizex") - 1) | |
@height = (Dashing.widget_base_dimensions[1] * container.data("sizey")) | |
@currentIndex = 0 | |
@imgElem = $(@node).find('.plum-image') | |
@nextPhoto() | |
@startCarousel() |
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
# uncomment if you get no picture on HDMI for a default "safe" mode | |
#hdmi_safe=1 | |
# uncomment this if your display has a black border of unused pixels visible | |
# and your display can output without overscan | |
disable_overscan=1 | |
# uncomment the following to adjust overscan. Use positive numbers if console | |
# goes off screen, and negative if there is too much border | |
#overscan_left=16 |
NewerOlder