<commit_before>module Hack
  class SlideCommand < Generator
    argument :name

    def copy_slim_templates
      copy_file "index.slim", "#{name}/index.slim"
      copy_file "lecture.slim", "#{name}/lecture.slim"
    end

    def copy_support_files
      copy_file "Gemfile", "#{name}/Gemfile"
      copy_file "Rakefile", "#{name}/Rakefile"
    end

    def copy_stylesheets
      copy_file "css/reveal.css", "#{name}/css/reveal.css"
      copy_file "css/simple.css", "#{name}/css/simple.css"
    end

    def copy_stylesheets
      copy_file "css/fonts/Fixedsys500c.eot", "#{name}/css/fonts/Fixedsys500c.eot"
      copy_file "css/fonts/Fixedsys500c.otf", "#{name}/css/fonts/Fixedsys500c.otf"
      copy_file "css/fonts/Fixedsys500c.svg", "#{name}/css/fonts/Fixedsys500c.svg"
      copy_file "css/fonts/Fixedsys500c.ttf", "#{name}/css/fonts/Fixedsys500c.ttf"<commit_msg>Fix fonts and stylesheets copying for hack slide<commit_after>module Hack
  class SlideCommand < Generator
    argument :name

    def copy_slim_templates
      copy_file "index.slim", "#{name}/index.slim"
      copy_file "lecture.slim", "#{name}/lecture.slim"
    end

    def copy_support_files
      copy_file "Gemfile", "#{name}/Gemfile"
      copy_file "Rakefile", "#{name}/Rakefile"
    end

    def copy_stylesheets
      copy_file "css/reveal.css", "#{name}/css/reveal.css"
      copy_file "css/simple.css", "#{name}/css/simple.css"
      copy_file "css/googlecode.css", "#{name}/css/googlecode.css"
    end

    def copy_fonts
      copy_file "css/fonts/Fixedsys500c.eot", "#{name}/css/fonts/Fixedsys500c.eot"
      copy_file "css/fonts/Fixedsys500c.otf", "#{name}/css/fonts/Fixedsys500c.otf"
      copy_file "css/fonts/Fixedsys500c.svg", "#{name}/css/fonts/Fixedsys500c.svg"
      copy_file "css/fonts/Fixedsys500c.ttf", "#{name}/css/fonts/Fixedsys500c.ttf"
{'fraction_non_alphanumeric': 0.14961915125136016, 'fraction_numerical': 0.026115342763873776, 'mean_word_length': 3.5295566502463056, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '801005', 'n_tokens_mistral': 745, 'n_tokens_neox': 675, 'n_words': 105}