<commit_before>#
# Cookbook Name:: appserver
# Attributes:: default
#

# Swap file, multiples of the server memory size
default['swapsize'] = 0

# Timezone
default['tz'] = 'Europe/Stockholm'

# Sudo
default['authorization']['sudo']['groups'] = %w(admin wheel sysadmin)
default['authorization']['sudo']['passwordless'] = true

# MySQL
default['mysql']['server_root_username'] = 'root'
default['mysql']['server_root_password'] = '<PASSWORD>'
default['mysql']['server_debian_password'] = '<PASSWORD>'
default['mysql']['databases'] = []

# NGINX
default['nginx']['sites'] = []

# PHP
# Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
# Development Value: E_ALL
# Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
default['php']['error_reporting'] = 'E_ALL'
default['php']['display_errors'] = 'Off'
default['php']['log_errors'] = 'On'
default['php']['post_max_size'] = '96M'
default['php']['upload_max_filesize'] = '64M'
default['php']['max_file_uploads'] = '20'
default['php']['memory_limit'] = '256M'

# OPcache
default['opcache']['enabled'] = '1'
default['opcache']['memory_consumption'] = '128'
default['opcache']['interned_strings_buffer'] = '8'
default['opcache']['max_accelerated_files'] = '4000'
default['opcache']['revalidate_freq'] = '60'
default['opcache']['fast_shutdown'] = '1'
default['opcache']['enable_cli'] = '1'
default['opcache']['consistency_checks'] = '0'

# Node
default['nodejs']['install_method'] = 'source' 
#default["nodejs"]["version"] = "4.2.4"
#default['nodejs']['source']['checksum'] = "4ee244ffede7328d9fa24c3024787e71225b7abaac49fe2b30e68b27460c10ec"
#default["nodejs"]["npm"]["install_method"] = "source"<commit_msg>Rubocop fixes<commit_after>#
# Cookbook Name:: appserver
# Attributes:: default
#

# Swap file, multiples of the server memory size
default['swapsize'] = 0

# Timezone
default['tz'] = 'Europe/Stockholm'

# Sudo
default['authorization']['sudo']['groups'] = %w(admin wheel sysadmin)
default['authorization']['sudo']['passwordless'] = true

# MySQL
default['mysql']['server_root_username'] = 'root'
default['mysql']['server_root_password'] = '<PASSWORD>'
default['mysql']['server_debian_password'] = '<PASSWORD>'
default['mysql']['databases'] = []

# NGINX
default['nginx']['sites'] = []

# PHP
# Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
# Development Value: E_ALL
# Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
default['php']['error_reporting'] = 'E_ALL'
default['php']['display_errors'] = 'Off'
default['php']['log_errors'] = 'On'
default['php']['post_max_size'] = '96M'
default['php']['upload_max_filesize'] = '64M'
default['php']['max_file_uploads'] = '20'
default['php']['memory_limit'] = '256M'

# OPcache
default['opcache']['enabled'] = '1'
default['opcache']['memory_consumption'] = '128'
default['opcache']['interned_strings_buffer'] = '8'
default['opcache']['max_accelerated_files'] = '4000'
default['opcache']['revalidate_freq'] = '60'
default['opcache']['fast_shutdown'] = '1'
default['opcache']['enable_cli'] = '1'
default['opcache']['consistency_checks'] = '0'

# Node
default['nodejs']['install_method'] = 'source'
# default["nodejs"]["version"] = "4.2.4"
# default['nodejs']['source']['checksum'] = "4ee244ffede7328d9fa24c3024787e71225b7abaac49fe2b30e68b27460c10ec"
# default["nodejs"]["npm"]["install_method"] = "source"
{'fraction_non_alphanumeric': 0.21626506024096387, 'fraction_numerical': 0.0391566265060241, 'mean_word_length': 9.852941176470589, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4400560', 'n_tokens_mistral': 1235, 'n_tokens_neox': 1160, 'n_words': 182}