<commit_before>class ApplicationController < ActionController::Base
  protect_from_forgery

  before_filter :fuck_off_lisa
  def fuck_off_lisa
    if user_signed_in? and current_user.id == 951
      response.headers["X-Accel-Limit-Rate"] = "150"
    end
  end

  def forem_user; current_user; end
  helper_method :forem_user

  def hide_cover_image
    @hide_cover_image = true
  end

  def mixpanel
    @mixpanel ||= Mixpanel::Tracker.new '92b66301c752642b40ca39e718517d94', { :async => true, :env => request.env }<commit_msg>Slightly faster page loads for Lisa to avoid hurting our Apdex too badly.<commit_after>class ApplicationController < ActionController::Base
  protect_from_forgery

  before_filter :fuck_off_lisa
  def fuck_off_lisa
    if user_signed_in? and current_user.id == 951
      response.headers["X-Accel-Limit-Rate"] = "300"
    end
  end

  def forem_user; current_user; end
  helper_method :forem_user

  def hide_cover_image
    @hide_cover_image = true
  end

  def mixpanel
    @mixpanel ||= Mixpanel::Tracker.new '92b66301c752642b40ca39e718517d94', { :async => true, :env => request.env }
{'fraction_non_alphanumeric': 0.08527827648114901, 'fraction_numerical': 0.05565529622980251, 'mean_word_length': 4.412621359223301, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3618084', 'n_tokens_mistral': 427, 'n_tokens_neox': 382, 'n_words': 86}