View pluralsight video downloader.js
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
// open all sections | |
$$('section.module:not(.open) header').forEach((h) => h.click()); | |
// get all list course videos in each section | |
let listItems = $$('section.module li'); | |
// download them | |
for (let i = 0; i < listItems.length; i++) { | |
let listItem = listItems[i]; | |
let title = listItem.querySelector('h3').textContent; |
View wp-bootstrap4.4-pagination.php
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 | |
/** | |
* @param WP_Query|null $wp_query | |
* @param bool $echo | |
* | |
* @return string | |
* Accepts a WP_Query instance to build pagination (for custom wp_query()), | |
* or nothing to use the current global $wp_query (eg: taxonomy term page) | |
* - Tested on WP 5.3 |
View jquery-bootstrap-datepicker.scss
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
.ui-datepicker { | |
background-color: $white; | |
border: 1px solid $primary; | |
border-radius: $border-radius; | |
box-shadow: 0 0 8px rgba(102,175,233,.6); | |
display: none; | |
margin-top: $spacer * 0.5; | |
padding: $spacer * 0.5; | |
width: 240px; | |
font-family: $font-family-base; |