This file contains hidden or 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
| /* | |
| Implementing Semantic UI and Algolia search can be a pain in the but if you're not use to deal with Semantic UI API stuff. This feels a little bit hackish but so far it works well enough; bonus for not needing the Algolia javascript client. | |
| */ | |
| var algolia = { | |
| id: "Algolia app ID", | |
| key: "Public key", | |
| index: "Index name" | |
| }; |
This file contains hidden or 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
| {% layout none %} | |
| {% capture results %} | |
| {% for item in search.results %} | |
| {% assign product = item %} | |
| { | |
| "title" : {{ product.title | json }}, | |
| "url" : {{ product.url | within: product.collections.last | json }}, | |
| "thumbnail": {{ product.featured_image.src | product_img_url: 'thumb' | json }} | |
| } | |
| {% unless forloop.last %},{% endunless %} |
This file contains hidden or 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
| {% comment %} Width of results box {% endcomment %} | |
| {% assign results_box_width = '242px' %} | |
| {% comment %} Background color of results box {% endcomment %} | |
| {% assign results_box_background_color = '#ffffff' %} | |
| {% comment %} Border color of results box {% endcomment %} | |
| {% assign results_box_border_color = '#d4d4d4' %} | |
| <script> | |
| $(function() { | |
| // Current Ajax request. |
This file contains hidden or 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 Boxstarter Killer Feature: Handling Reboots!!! | |
| # Enable Big-Kid Mode | |
| #Disables UAC. Note that Windows 8 and 8.1 can not launch Windows Store applications with UAC disabled. | |
| Disable-UAC | |
| Update-ExecutionPolicy -Policy Unrestricted | |
| # Disable Password Expiration | |
| Write-BoxstarterMessage "Disabing password expiration..." | |
| wmic useraccount where "name='$([Environment]::UserName)'" set PasswordExpires=FALSE |
NewerOlder