<commit_before>	<% @upcoming_beer = Event.upcoming.published.find_by_event_type_id(1, :first)  %>
	<% @upcoming_theater = Event.upcoming.published.find_by_event_type_id(2, :first) %>
	<% @add_to_sidebar_theatre = Event.published.theatre.add_to_sidebar %>
	<% @add_to_sidebar_beer = Event.published.beer.add_to_sidebar %>
	<% @sidebar_image = Sidebar.first %>
	<h4>Upcoming Events</h4>
	<img class="event-type-image" src="/theme/images/eventBeer.png" />
	<p>
		<% if !@upcoming_beer.blank? %>
		<strong><span style="color:#ffffff;"><%= @upcoming_beer.name %></span></strong><br />
		<small><%= @upcoming_beer.date.strftime("%m/%d/%Y") %></small>&nbsp;&nbsp;
		<small><%= link_to "For Tickets Click Here", @upcoming_beer.purchase_link unless @upcoming_beer.purchase_link.empty? %></small><br>
		<%if !@add_to_sidebar_beer.blank? %>
			<% @add_to_sidebar_beer.each do |e| %>
				<strong><span style="color:#ffffff;"><%= e.name %></span></strong><br />
				<small><%= e.date.strftime("%m/%d/%Y") %></small>
				<small><%= link_to "For Tickets Click Here", e.purchase_link unless e.purchase_link.empty? %></small>
				<br />
			<% end %>
		<% end %>
	<% else %>
		<small>Check back often to see what's going on here at the brewery</small>
	<% end %>
	</p>
	
	
	<img class="event-type-image" src="/theme/images/eventDW.png" />
		<p>
	<% if !@upcoming_theater.blank? %>
	<strong><span style="color:#ffffff;"><%= @upcoming_theater.name %></span></strong><br />
	<small><%= @upcoming_theater.date.strftime("%m/%d/%Y") %></small>&nbsp;&nbsp;
	<small><%= link_to "For Tickets Click Here", @upcoming_theater.purchase_link unless @upcoming_theater.purchase_link.empty? %></small><br />
	<% if !@add_to_sidebar_theatre.blank? %>
		<% @add_to_sidebar_theatre.each do |e| %>
			<strong><span style="color:#ffffff;"><%= e.name %></span></strong><br />
			<small><%= e.date.strftime("%m/%d/%Y") %></small>		
			<small><%= link_to "For Tickets Click Here", e.purchase_link unless e.purchase_link.empty? %></small>
			<br />
		<% end %>
	<%end %>
	<% else %>
		<small>Check back often to see what's going on at the drinking and writing theater</small>
	<% end %>
	</p>
	
	
	<% @featured_beer = Beer.find_by_featured(true) %>
	<% unless @featured_beer.nil? %>
	<h4>Featured Beer</h4>
	<p>
		<strong><span style="color:#ffffff;"><%= @featured_beer.name %></span></strong> <br />
		<small><%= @featured_beer.description %></small>
	</p>
	<% end %>
	<% @featured_food = Food.find_by_daily_special(true) %>
	<%unless @featured_food.nil? %>
	<h4>Featured Food</h4>
	<p>
		<strong><span style="color:#ffffff;"><%= @featured_food.name %> - $<%= @featured_food.price %></span></strong><br />
		<small><%= @featured_food.description %></small>
	</p>
	<% end %>
	<br />
	<div id="sidebar_image">
		<%=link_to image_fu(@sidebar_image.image), @sidebar_image.url, :target => "blank" unless @sidebar_image.blank? %>
	</div>	
	<!-- <a href="http://www.drinkingandwriting.com"><img src="/theme/images/dw_abc.jpg"  style="display:block; margin-bottom:15px;"/></a> -->
<!-- <iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2F%23%21%2FHaymarketBrewing&amp;width=300&amp;colorscheme=dark&amp;show_faces=true&amp;stream=true&amp;header=false&amp;height=556" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:300px; height:556px;" allowTransparency="true"></iframe> --><commit_msg>fb plugin<commit_after>	<% @upcoming_beer = Event.upcoming.published.find_by_event_type_id(1, :first)  %>
	<% @upcoming_theater = Event.upcoming.published.find_by_event_type_id(2, :first) %>
	<% @add_to_sidebar_theatre = Event.published.theatre.add_to_sidebar %>
	<% @add_to_sidebar_beer = Event.published.beer.add_to_sidebar %>
	<% @sidebar_image = Sidebar.first %>
	<h4>Upcoming Events</h4>
	<img class="event-type-image" src="/theme/images/eventBeer.png" />
	<p>
		<% if !@upcoming_beer.blank? %>
		<strong><span style="color:#ffffff;"><%= @upcoming_beer.name %></span></strong><br />
		<small><%= @upcoming_beer.date.strftime("%m/%d/%Y") %></small>&nbsp;&nbsp;
		<small><%= link_to "For Tickets Click Here", @upcoming_beer.purchase_link unless @upcoming_beer.purchase_link.empty? %></small><br>
		<%if !@add_to_sidebar_beer.blank? %>
			<% @add_to_sidebar_beer.each do |e| %>
				<strong><span style="color:#ffffff;"><%= e.name %></span></strong><br />
				<small><%= e.date.strftime("%m/%d/%Y") %></small>
				<small><%= link_to "For Tickets Click Here", e.purchase_link unless e.purchase_link.empty? %></small>
				<br />
			<% end %>
		<% end %>
	<% else %>
		<small>Check back often to see what's going on here at the brewery</small>
	<% end %>
	</p>
	
	
	<img class="event-type-image" src="/theme/images/eventDW.png" />
		<p>
	<% if !@upcoming_theater.blank? %>
	<strong><span style="color:#ffffff;"><%= @upcoming_theater.name %></span></strong><br />
	<small><%= @upcoming_theater.date.strftime("%m/%d/%Y") %></small>&nbsp;&nbsp;
	<small><%= link_to "For Tickets Click Here", @upcoming_theater.purchase_link unless @upcoming_theater.purchase_link.empty? %></small><br />
	<% if !@add_to_sidebar_theatre.blank? %>
		<% @add_to_sidebar_theatre.each do |e| %>
			<strong><span style="color:#ffffff;"><%= e.name %></span></strong><br />
			<small><%= e.date.strftime("%m/%d/%Y") %></small>		
			<small><%= link_to "For Tickets Click Here", e.purchase_link unless e.purchase_link.empty? %></small>
			<br />
		<% end %>
	<%end %>
	<% else %>
		<small>Check back often to see what's going on at the drinking and writing theater</small>
	<% end %>
	</p>
	
	
	<% @featured_beer = Beer.find_by_featured(true) %>
	<% unless @featured_beer.nil? %>
	<h4>Featured Beer</h4>
	<p>
		<strong><span style="color:#ffffff;"><%= @featured_beer.name %></span></strong> <br />
		<small><%= @featured_beer.description %></small>
	</p>
	<% end %>
	<% @featured_food = Food.find_by_daily_special(true) %>
	<%unless @featured_food.nil? %>
	<h4>Featured Food</h4>
	<p>
		<strong><span style="color:#ffffff;"><%= @featured_food.name %> - $<%= @featured_food.price %></span></strong><br />
		<small><%= @featured_food.description %></small>
	</p>
	<% end %>
	<br />
	<div id="sidebar_image">
		<%=link_to image_fu(@sidebar_image.image), @sidebar_image.url, :target => "blank" unless @sidebar_image.blank? %>
	</div>	
	<iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2FHaymarketBrewing&amp;width=292&amp;height=427&amp;colorscheme=dark&amp;show_faces=false&amp;border_color&amp;stream=true&amp;header=true&amp;appId=275996522418578" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:427px;" allowTransparency="true"></iframe>
	<!-- <a href="http://www.drinkingandwriting.com"><img src="/theme/images/dw_abc.jpg"  style="display:block; margin-bottom:15px;"/></a> -->
<!-- <iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2F%23%21%2FHaymarketBrewing&amp;width=300&amp;colorscheme=dark&amp;show_faces=true&amp;stream=true&amp;header=false&amp;height=556" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:300px; height:556px;" allowTransparency="true"></iframe> -->
{'fraction_non_alphanumeric': 0.21968854282536152, 'fraction_numerical': 0.013348164627363738, 'mean_word_length': 5.527223230490018, 'pattern_counts': {'":': 0, '<': 259, '<?xml version=': 0, '>': 261, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, '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': '821383', 'n_tokens_mistral': 3048, 'n_tokens_neox': 2694, 'n_words': 414}