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
git diff --name-only --diff-filter=ACMRT | grep -E '.*\.schema\.json$' |
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
/// # Examples | |
/// | |
/// ``` | |
/// let output = get_utf8_vec(); | |
/// println!("{}", String::from_utf8(output)?); | |
/// # Ok::<(), std::string::FromUtf8Error>(()) | |
/// ``` |
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 python3 | |
import subprocess | |
import platform | |
import sys | |
class Update: | |
def __init__(self, list_packages_cmd: str, update_package_cmd: str): | |
self.list_packages_cmd = list_packages_cmd |
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
// Add the line below to your HTML | |
// <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"> | |
// Infinite scroll | |
$(window).on("scroll", function() { | |
var scrollHeight = $(document).height(); | |
var scrollPos = $(window).height() + $(window).scrollTop(); | |
if ((scrollHeight - scrollPos) / scrollHeight == 0) { | |
$('.load-more-days-button').click(); | |
console.log("bottom!"); |