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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
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
@media only screen and (min-width: 320px) { | |
/* Small screen, non-retina */ | |
} | |
@media | |
only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 320px), | |
only screen and ( min--moz-device-pixel-ratio: 2) and (min-width: 320px), | |
only screen and ( -o-min-device-pixel-ratio: 2/1) and (min-width: 320px), |
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
{ | |
// Keybindings to emulate Fastmail shortcuts in MailMate | |
// From: http://fastmail.wikia.com/wiki/KeyboardShortcuts | |
// Created by Jeffrey Horn <[email protected]> | |
"n" = "nextMessage:"; | |
"p" = "previousMessage:"; | |
"j" = "nextThread:"; | |
"k" = "previousThread:"; | |
"o" = "openMessages:"; |
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
{ | |
// Message Actions | |
"o" = "openMessages:"; // Don't really use this. ⌘o still works | |
"j" = "markAsJunk:"; | |
"J" = "markAsNotJunk:"; | |
"s" = "toggleFlag:"; | |
"m" = "toggleReadState:"; | |
"a" = ( "setTag:", "\\Seen", "archive:"); // archive and mark read | |
"A" = ( "selectWithFilter:", "#thread-id = ${#thread-id}","setTag:", "\\Seen", "archive:" ); // Select whole thread, mark as read and archive | |
"=" = ( "moveToMailbox:",'/Action'); |
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
<?php | |
// Gravity Forms Custom Addresses (Australia) | |
add_filter('gform_address_types', 'australian_address', 10, 2); | |
function australian_address( $address_types, $form_id ) { | |
$address_types['australia'] = array( | |
'label' => 'Australia', //labels the dropdown | |
'country' => 'Australia', //sets Australia as default country | |
'zip_label' => 'Post Code', //what it says | |
'state_label' => 'State', //as above |
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
<!--- Provide your ticket number and a general summary of your changes in the Title above e.g. [PSE-295] Add credit card dialog --> | |
## Description | |
<!--- Add a link to your ticket: --> | |
<!--- https://airtasker.atlassian.net/browse/WK-234 --> | |
<!--- Describe your changes in detail; Add context --> | |
<!--- Why is this change required? What problem does it solve? --> |