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
| <?php | |
| // Add service provider | |
| // Add the following to your providers in the app config | |
| \Tomgrohl\Laravel\Encryption\EncryptionServiceProvider::class | |
| // Check Encryption Key settings in app config | |
| // Cipher must either be ‘AES-128-CBC’ with a key length of 16 | |
| // OR | |
| // Cipher must either be ‘AES-256-CBC’ with a key length of 32 |
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
| <p>The download should start shortly. If it doesn't, click | |
| <a data-auto-download href="/your/file/url">here</a>.</p> |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>Title</title> | |
| <link href="stylesheets/main.css" rel="stylesheet" /> | |
| </head> | |
| <body> | |
| <header> | |
| <hgroup> |
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
| // Script originally made by @zzseba78 | |
| // Using JQuery | |
| var $ac = $('#accordion'); | |
| UIkit.accordion($ac, { | |
| multiple: false, | |
| collapsible: true, | |
| duration: 300, | |
| transition:"easeInOut" | |
| }); | |
| $('a.uk-accordion-title').on('click', function() { |
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
| <script> | |
| jQuery( document ).ready(function() { | |
| jQuery(".et_bloom_submit_subscription").click(function(){ | |
| var form = jQuery(this).parent(), error = 0; | |
| var name_val = form.find(".et_bloom_subscribe_name input").val(); | |
| if(name_val.trim() == '') { | |
| form.find(".et_bloom_subscribe_name input").addClass('et_bloom_warn_field'); | |
| error = 1; |
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
| <script> | |
| "use strict"; | |
| !(function($) { | |
| $.getScript('https://cdnjs.cloudflare.com/ajax/libs/js-cookie/2.2.0/js.cookie.min.js', function() { | |
| var visits = Cookies.set('visits') || 0; | |
| visits++; | |
| Cookies.set('visits', visits, { expires: 1, path: '/' }); |
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
| $colors-list: #3b5999 #55acee #e4405f #cd201f #dd4b39; | |
| @each $bg-color in $colors-list { | |
| $i: index($colors-list, $bg-color); | |
| li:not(:last-child):nth-child(#{$i}) a { | |
| background: $bg-color; | |
| @include square(32px); | |
| } | |
| } |
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
| <script> | |
| $(window).load(function(){ | |
| setTimeout(function(){ | |
| $('#myModal').modal('show'); | |
| }, 5000); | |
| }); | |
| </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
| sudo spctl --master-disable |
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
| <?php | |
| // SHOW YOAST PRIMARY CATEGORY, OR FIRST CATEGORY | |
| $category = get_the_category(); | |
| $useCatLink = true; | |
| // If post has a category assigned. | |
| if ($category){ | |
| $category_display = ''; | |
| $category_link = ''; | |
| if ( class_exists('WPSEO_Primary_Term') ) |