<commit_before>(function($, Papa, md) {
  'use strict';
  // Scroll to content if we have a hash
  if (window.location.hash) {
    setTimeout(function() {
      var offset = parseInt($(".headspacer").css("margin-bottom").replace(/[A-Za-z]/, "")) - 150;
      window.scrollTo(0, $(window.location.hash).offset().top - offset);
    }, 100);
  }

  function truncStr(str, n, useWordBoundary){
         var toLong = str.length>n,
             s_ = toLong ? str.substr(0,n-1) : str;
         s_ = useWordBoundary && toLong ? s_.substr(0,s_.lastIndexOf(' ')) : s_;
         return  toLong ? s_ + '&hellip;' : s_;
  }
  function parseArticles(articles) {
    for(var i = 0; i < articles.length; i++) {
      articles[i].text = md.toHTML(articles[i].text);
    }
    return articles;
  }

  // API key for data from Google (may be depreciated)
  var DATA_KEY_COMING_UP = "<KEY>";

  // Event setup, handler
  function EventHandler(app) {
    var self = this;
    this.app = app;

    // Mobile nav-bar manipulation
    this.navbarOpen = false;
    $(".nav-toggle").click(this.toggleNav.bind(this));
    $(document).click(this.hiddeNav.bind(this));

    $('nav ul li a').click(function(event) {
      event.preventDefault();
      if (!self.navbarOpen) return;
      var target = $(this).attr('href');
      history.pushState(null, null, target);
      self.scrollToElement(target);
    });

    // Gallery
    $("#gallery-carousel").owlCarousel({
      lazyLoad: true,
      autoplay:true,
      autoplayTimeout:1000,
      // autoplayHoverPause:true,
      // loop: true,
      items: 3,
      itemsDesktop : [1199,2],
      itemsDesktopSmall : [979,1],
      itemsTablet: [600,1], //2 items between 600 and 0
      itemsMobile : false
    });

<commit_msg>autoplay galery<commit_after>(function($, Papa, md) {
  'use strict';
  // Scroll to content if we have a hash
  if (window.location.hash) {
    setTimeout(function() {
      var offset = parseInt($(".headspacer").css("margin-bottom").replace(/[A-Za-z]/, "")) - 150;
      window.scrollTo(0, $(window.location.hash).offset().top - offset);
    }, 100);
  }

  function truncStr(str, n, useWordBoundary){
         var toLong = str.length>n,
             s_ = toLong ? str.substr(0,n-1) : str;
         s_ = useWordBoundary && toLong ? s_.substr(0,s_.lastIndexOf(' ')) : s_;
         return  toLong ? s_ + '&hellip;' : s_;
  }
  function parseArticles(articles) {
    for(var i = 0; i < articles.length; i++) {
      articles[i].text = md.toHTML(articles[i].text);
    }
    return articles;
  }

  // API key for data from Google (may be depreciated)
  var DATA_KEY_COMING_UP = "<KEY>";

  // Event setup, handler
  function EventHandler(app) {
    var self = this;
    this.app = app;

    // Mobile nav-bar manipulation
    this.navbarOpen = false;
    $(".nav-toggle").click(this.toggleNav.bind(this));
    $(document).click(this.hiddeNav.bind(this));

    $('nav ul li a').click(function(event) {
      event.preventDefault();
      if (!self.navbarOpen) return;
      var target = $(this).attr('href');
      history.pushState(null, null, target);
      self.scrollToElement(target);
    });

    // Gallery
    $("#gallery-carousel").owlCarousel({
      lazyLoad: true,
      autoPlay: 7000,
      stopOnHover: true,
      items: 3,
      itemsDesktop : [1199,2],
      itemsDesktopSmall : [979,1],
      itemsTablet: [600,1], //2 items between 600 and 0
      itemsMobile : false
    });


{'fraction_non_alphanumeric': 0.16371552975326562, 'fraction_numerical': 0.019738751814223514, 'mean_word_length': 2.6620616365568543, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1626394', 'n_tokens_mistral': 1213, 'n_tokens_neox': 1145, 'n_words': 252}