<commit_before># User for testing purposes:
unless Rails.env == "production"
    ENV['MQTT_HOST']        = "blooper.io"
    ENV['OS_UPDATE_SERVER'] = "http://blah.com"
    ENV['FW_UPDATE_SERVER'] = "http://test.com"
    User.delete_all
    Device.delete_all
    Users::Create.run!(name:                   "Administrator",
                         email:                 "<EMAIL>",
                         password:              "<PASSWORD>",
                         password_confirmation: "<PASSWORD>")
    User.last.update_attributes(verified_at: Time.now)
    Log.transaction do
      FactoryGirl.create_list(:log, 35, device: User.last.device)
    end

    10.times do
      Plant.create(
        device: User.last.device,
        x: rand(1...100),
        y: rand(1...100),
        name: Haikunator.haikunate,
        img_url: "http://placehold.it/200x150",
        icon_url: "/icons/Natural Food-96.png",
        openfarm_slug: "tomato")
    end
end<commit_msg>Add fake plant pictures to seeds.rb, merge gabes button color change<commit_after># User for testing purposes:
unless Rails.env == "production"
    ENV['MQTT_HOST']        = "blooper.io"
    ENV['OS_UPDATE_SERVER'] = "http://blah.com"
    ENV['FW_UPDATE_SERVER'] = "http://test.com"
    User.delete_all
    Device.delete_all
    Users::Create.run!(name:                   "Administrator",
                         email:                 "<EMAIL>",
                         password:              "<PASSWORD>",
                         password_confirmation: "<PASSWORD>")
    User.last.update_attributes(verified_at: Time.now)
    Log.transaction do
      FactoryGirl.create_list(:log, 35, device: User.last.device)
    end
    [ "http://i.imgur.com/bBfIDqR.jpg",
      "http://i.imgur.com/YvTHnjt.jpg",
      "http://i.imgur.com/cWWLVKv.jpg",
      "http://i.imgur.com/NmibZez.jpg" ].each do |url|
        Images::Create.run!(attachment_url: url, device: User.last.device)
    end
    10.times do
      Plant.create(
        device: User.last.device,
        x: rand(1...100),
        y: rand(1...100),
        name: Haikunator.haikunate,
        img_url: "http://placehold.it/200x150",
        icon_url: "/icons/Natural Food-96.png",
        openfarm_slug: "tomato")
    end
end
{'fraction_non_alphanumeric': 0.14101423487544484, 'fraction_numerical': 0.017793594306049824, 'mean_word_length': 1.9748677248677249, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '4684460', 'n_tokens_mistral': 760, 'n_tokens_neox': 717, 'n_words': 127}