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
| Fix object fit cover for IE | |
| $('.card-with-image img').each(function () { | |
| var t = $(this), | |
| s = 'url(' + t.attr('src') + ')', | |
| p = t.parent(); | |
| t.hide(); | |
| if (p.has('img')) { | |
| p.css({ |
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
| <?xml version="1.0"?> | |
| <!-- | |
| Umbraco examine is an extensible indexer and search engine. | |
| This configuration file can be extended to create your own index sets. | |
| Index/Search providers can be defined in the UmbracoSettings.config | |
| More information and documentation can be found on GitHub: https://github.com/Shazwazza/Examine/ | |
| --> | |
| <ExamineLuceneIndexSets> | |
| <!-- The internal index set used by Umbraco back-office - DO NOT REMOVE --> |
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
| <?xml version="1.0"?> | |
| <!-- | |
| Umbraco examine is an extensible indexer and search engine. | |
| This configuration file can be extended to add your own search/index providers. | |
| Index sets can be defined in the ExamineIndex.config if you're using the standard provider model. | |
| More information and documentation can be found on GitHub: https://github.com/Shazwazza/Examine/ | |
| --> | |
| <Examine> | |
| <ExamineIndexProviders> |
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
| #!/usr/bin/env python | |
| from __future__ import print_function | |
| from __future__ import absolute_import | |
| import os | |
| import sys | |
| import shutil | |
| import numpy as np | |
| CONTEXT_LENGTH = 48 |
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
| MS-DOS script for creating files (any extension) from an array in a text document. | |
| ie: 'filenames.txt' document contains below list of items: | |
| file-1.html | |
| file-2.html | |
| file-3.html | |
| file-4.html | |
| file-5.html | |
| Open MS-DOS in same folder and run below script |
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
| <style> | |
| a { | |
| position: relative; | |
| transition: all 0.2s ease; | |
| } | |
| .ink { | |
| display: inline-block; | |
| position: absolute; | |
| background: rgba(155, 155, 155, 0.3); |
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
| /** | |
| * Display template for post meta information. | |
| * | |
| */ | |
| function THEME_posted_on() | |
| { | |
| printf(__('Posted on <a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s" pubdate>%4$s</time></a><span class="byline"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>','M247'), | |
| esc_url(get_permalink()), | |
| esc_attr(get_the_time()), | |
| esc_attr(get_the_date('c')), |
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
| /** | |
| * Check for any theme dependencies | |
| * | |
| * @return array | |
| */ | |
| function M247_check_theme_dependencies() { | |
| $missing = array(); | |
| $plugins = array( | |
| 'contact-form-7/wp-contact-form-7.php' => 'Contact Form 7', | |
| 'advanced-custom-fields/acf.php' => 'Advanced Custom Fields', |