#Blur The Lines Links from our SXSW Presentation
###Challenges http://codepen.io/mutewinter/ ####Animations Challenge: http://codepen.io/mutewinter/pen/fKcyr
Answer: http://codepen.io/mutewinter/pen/pcraL ####Image Upload
| <?php | |
| /** | |
| * WordPress' missing is_blog_page() function. Determines if the currently viewed page is | |
| * one of the blog pages, including the blog home page, archive, category/tag, author, or single | |
| * post pages. | |
| * | |
| * @see http://core.trac.wordpress.org/browser/tags/3.4.1/wp-includes/query.php#L1572 | |
| * | |
| * @return bool |
#Blur The Lines Links from our SXSW Presentation
###Challenges http://codepen.io/mutewinter/ ####Animations Challenge: http://codepen.io/mutewinter/pen/fKcyr
Answer: http://codepen.io/mutewinter/pen/pcraL ####Image Upload
| HEADER | EMPHASIS | HORIZONTAL_LINE | LIST | TABLE
| ### Initial schema | |
| type Query { | |
| vacationRentalById(id: $id) : VacationRental | |
| } | |
| type VacationRental { | |
| id: ID! | |
| title: String! | |
| description: String! |
| # ... | |
| type Owner { | |
| name: String! | |
| email: String! | |
| phone: String! | |
| twitterHandle: String! | |
| inboxNotifications: [Notification] # removed the ! | |
| } | |
| # ... | |
| type Owner { | |
| name: String! | |
| email: String! | |
| phone: String! | |
| twitterHandle: String # removed the ! | |
| inboxNotifications: [Notification] | |
| } | |
| type Query { | |
| vacationRentalById(id: $id) : VacationRental | |
| } | |
| type VacationRental { | |
| id: ID! | |
| title: String | |
| description: String | |
| owner: Owner! | |
| roomCount: Int |
| # ... | |
| type VacationRental { | |
| id: ID! | |
| title: String # removed the ! | |
| description: String # removed the ! | |
| owner: Owner! | |
| roomCount: Int # removed the ! | |
| address: Address # removed the ! | |
| geolocation: GeoLocation # removed the ! |
| # Print the green/red arrow. | |
| PROMPT="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )" | |
| # Add the current directory & git prompt info | |
| # | |
| # This checks whether the path is longer then 5 elements, and in that case prints the first element (%-1~), | |
| # some dots (/…/) and the last 3 elements. It is not exactly the same as paths that are not in your home | |
| # directory, will also have the first element at the beginning, while bash just prints dots in that case: | |
| # | |
| # "%(5~|%-1~/…/%3~|%4~)" |
| #!/usr/bin/env bash | |
| ########################################################################## | |
| # Shellscript : Backup and update WordPress using wp-cli | |
| # Author : Grant Norwood <grantnorwood.com> | |
| # Original Author : Paco Orozco <paco@pacoorozco.info> | |
| # Requires : wp-cli | |
| ########################################################################## | |
| # Changelog | |
| # 20220430: 2.0 | |
| # Adds a user-specified option for forcing backup & updates |