<commit_before>#
# Cookbook Name:: duckduckhack-vm
# Recipe:: artwork
#

directory "/opt/duckduckhack-vm" do
  owner "root"
  group "root"
  mode 00755
  action :create
end

cookbook_file "/opt/duckduckhack-vm/dont-track-us.png" do
  source "dont-track-us.png"
  action :create
end

cookbook_file "/opt/duckduckhack-vm/dax.png" do
  source "dax.png"
  action :create
end

cookbook_file "/opt/duckduckhack-vm/bg.jpg" do
  source "bg.jpg"
  action :create
end

# https://arcticdog.wordpress.com/2012/02/08/customising-the-lightdm-gtk-greeter/
# Unfortunately, if a user installs an update, it will revert the patch.
# FIXME: Incorporate updates before applying this patch. Chef advises against it using chef to apply updates though..
# There is one update for precise: 1.1.5-0ubuntu1 -> 1.1.5-0ubuntu1.1
cookbook_file "/usr/share/lightdm-gtk-greeter/gnome/64x64/apps/dax.png" do
  source "dax64.png"<commit_msg>Fix for configuring the LightDM icon to be Dax<commit_after>#
# Cookbook Name:: duckduckhack-vm
# Recipe:: artwork
#

directory "/opt/duckduckhack-vm" do
  owner "root"
  group "root"
  mode 00755
  action :create
end

cookbook_file "/opt/duckduckhack-vm/dont-track-us.png" do
  source "dont-track-us.png"
  action :create
end

cookbook_file "/opt/duckduckhack-vm/dax.png" do
  source "dax.png"
  action :create
end

cookbook_file "/opt/duckduckhack-vm/bg.jpg" do
  source "bg.jpg"
  action :create
end

# https://arcticdog.wordpress.com/2012/02/08/customising-the-lightdm-gtk-greeter/
# Unfortunately, if a user installs an update, it will revert the patch.
# FIXME: Incorporate updates before applying this patch. Chef advises against it using chef to apply updates though..
# There is one update for precise: 1.1.5-0ubuntu1 -> 1.1.5-0ubuntu1.1
directory "/usr/share/lightdm-gtk-greeter/gnome/64x64" do
  owner "root"
  group "root"
  mode 00755
  action :create
end
directory "/usr/share/lightdm-gtk-greeter/gnome/64x64/apps" do
  owner "root"
  group "root"
  mode 00755
  action :create
end
cookbook_file "/usr/share/lightdm-gtk-greeter/gnome/64x64/apps/dax.png" do
  source "dax64.png"
{'fraction_non_alphanumeric': 0.11761904761904762, 'fraction_numerical': 0.037142857142857144, 'mean_word_length': 3.931924882629108, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '967548', 'n_tokens_mistral': 858, 'n_tokens_neox': 793, 'n_words': 201}