<commit_before><?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>ClojureDocs<%=h yield(:title) %></title>
	<meta name="description" content="Documentation and examples for Clojure." />
	<meta name="google-site-verification" content="XjzqkjEPtcgtLjhnqAvtnVSeveEccs-O_unFGGlbk4g" />
	<meta http-equiv="Content-Type" content="text/html" charset="utf-8"/>
	<link rel="search" type="application/opensearchdescription+xml" title="ClojureDocs" href="opensearch.xml">
	<%= stylesheet_link_tag 'reset.css',
		'text.css',
		'grid.css',
		'common.css',
		'main.css',
		'shCore.css',
		'shThemeDefault.css'#,
		#:cache => 'cache-application' 
		%>
	<%= javascript_include_tag 'shCore.js', 
		'shBrushClojure.js', 
		'jquery-1.4.2.min.js',
		'jquery-ui-1.8.2.custom.min.js', 
		'jquery.form.js',
		'jquery.qtip.min.js',
		'jquery.scrollTo-1.4.2-min.js',
		'showdown.js',
		'cd.js'#,
		#:cache => 'cache-application' 
		%>

	<script type="text/javascript" charset="utf-8">
	// <![CDATA[
	
	CD.ROOT_URL = "<%= ROOT_URL %>"
	
	function setUpInternalNav() {
		$(".scroll").click(function(event){
			//prevent the default action for the click event
			event.preventDefault();

			//get the full url - like mysitecom/index.htm#home
			var full_url = this.href;

			//split the url by # and get the anchor target name - home in mysitecom/index.htm#home
			var parts = full_url.split("#");
			var trgt = parts[1];
			
			//get the top offset of the target anchor
			var target_offset = $("a[name="+trgt+"]").offset();
			var target_top = target_offset.top - 10;

			//goto that anchor by setting the body scroll top to anchor top
			$('html, body').animate({scrollTop:target_top}, 500);
		});
	}
	
	$(document).ready(function() {
		setUpInternalNav()
		var mainText = "Search";
		$("#main_search").makeFocusBlur(mainText, {setColorOnInit: true})

		var acUrl = "<%= ROOT_URL %>/ac_search";
		<% if params[:lib] %>
		//acUrl = "<%= ROOT_URL %>/ac_search/<%= CGI::escape(params[:lib]) %>";
		<% end %>
		
		$('#main_search').keydown(function(e) {
			if(e.ctrlKey && e.which == 13) {
				$(".search form").append("<input type='hidden' name='feeling_lucky' value='true' />")
			}
		})
			
		$(document).keydown(function(e) {
			if(e.ctrlKey && (e.which == 83)) {
				$('#main_search').focus()
			}
			
			e.stopPropagation();
		})
	})
	// ]]>	
	</script>

	<script type="text/javascript">
	/*** UserVoice ***/
	var uservoiceOptions = {
		/* required */
		key: 'clojuredocs',
		host: 'clojuredocs.uservoice.com', 
		forum: '64757',
		showTab: true,  
		/* optional */
		alignment: 'right',
		background_color:'#ccc', 
		text_color: 'white',
		hover_color: '#888',
		lang: 'en'
	};

	function _loadUserVoice() {
		var s = document.createElement('script');
		s.setAttribute('type', 'text/javascript');
		s.setAttribute('src', ("https:" == document.location.protocol ? "https://" : "http://") + "cdn.uservoice.com/javascripts/widgets/tab.js");
		document.getElementsByTagName('head')[0].appendChild(s);
	}
	_loadSuper = window.onload;
	window.onload = (typeof window.onload != 'function') ? _loadUserVoice : function() { _loadSuper(); _loadUserVoice();};
	</script>
	
	<script type="text/javascript">
	  /*** Google Analytics ***/
	  var _gaq = _gaq || [];
	  _gaq.push(['_setAccount', 'UA-17348828-1']);
	  _gaq.push(['_trackPageview']);

	  (function() {
	    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
	    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
	    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	  })();

	</script>

</head>

<body>
	<%= render :partial => '/layouts/header' %>
	
	
	<%= yield %>
	
	
	<div class="clear"></div>
	<div class="footer">
		ClojureDocs uses some elements of HTML5 / CSS3, and is best viewed in an up-to-date <a href="http://getfirefox.com">gecko</a> / <a href="http://www.google.com/chrome">webkit</a> -based browser.
		<br />
		<br />
		&copy; 2010 <NAME> <a href="http://zacharykim.com">http://zacharykim.com</a>
		<br />
		<br />
	</div>
</body>
</html>

<commit_msg>Minor fix to opensearch changes in main.html.erb.  Added leading `/` to href.<commit_after><?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>ClojureDocs<%=h yield(:title) %></title>
	<meta name="description" content="Documentation and examples for Clojure." />
	<meta name="google-site-verification" content="XjzqkjEPtcgtLjhnqAvtnVSeveEccs-O_unFGGlbk4g" />
	<meta http-equiv="Content-Type" content="text/html" charset="utf-8"/>
	<link rel="search" type="application/opensearchdescription+xml" title="ClojureDocs" href="/opensearch.xml">
	<%= stylesheet_link_tag 'reset.css',
		'text.css',
		'grid.css',
		'common.css',
		'main.css',
		'shCore.css',
		'shThemeDefault.css'#,
		#:cache => 'cache-application' 
		%>
	<%= javascript_include_tag 'shCore.js', 
		'shBrushClojure.js', 
		'jquery-1.4.2.min.js',
		'jquery-ui-1.8.2.custom.min.js', 
		'jquery.form.js',
		'jquery.qtip.min.js',
		'jquery.scrollTo-1.4.2-min.js',
		'showdown.js',
		'cd.js'#,
		#:cache => 'cache-application' 
		%>

	<script type="text/javascript" charset="utf-8">
	// <![CDATA[
	
	CD.ROOT_URL = "<%= ROOT_URL %>"
	
	function setUpInternalNav() {
		$(".scroll").click(function(event){
			//prevent the default action for the click event
			event.preventDefault();

			//get the full url - like mysitecom/index.htm#home
			var full_url = this.href;

			//split the url by # and get the anchor target name - home in mysitecom/index.htm#home
			var parts = full_url.split("#");
			var trgt = parts[1];
			
			//get the top offset of the target anchor
			var target_offset = $("a[name="+trgt+"]").offset();
			var target_top = target_offset.top - 10;

			//goto that anchor by setting the body scroll top to anchor top
			$('html, body').animate({scrollTop:target_top}, 500);
		});
	}
	
	$(document).ready(function() {
		setUpInternalNav()
		var mainText = "Search";
		$("#main_search").makeFocusBlur(mainText, {setColorOnInit: true})

		var acUrl = "<%= ROOT_URL %>/ac_search";
		<% if params[:lib] %>
		//acUrl = "<%= ROOT_URL %>/ac_search/<%= CGI::escape(params[:lib]) %>";
		<% end %>
		
		$('#main_search').keydown(function(e) {
			if(e.ctrlKey && e.which == 13) {
				$(".search form").append("<input type='hidden' name='feeling_lucky' value='true' />")
			}
		})
			
		$(document).keydown(function(e) {
			if(e.ctrlKey && (e.which == 83)) {
				$('#main_search').focus()
			}
			
			e.stopPropagation();
		})
	})
	// ]]>	
	</script>

	<script type="text/javascript">
	/*** UserVoice ***/
	var uservoiceOptions = {
		/* required */
		key: 'clojuredocs',
		host: 'clojuredocs.uservoice.com', 
		forum: '64757',
		showTab: true,  
		/* optional */
		alignment: 'right',
		background_color:'#ccc', 
		text_color: 'white',
		hover_color: '#888',
		lang: 'en'
	};

	function _loadUserVoice() {
		var s = document.createElement('script');
		s.setAttribute('type', 'text/javascript');
		s.setAttribute('src', ("https:" == document.location.protocol ? "https://" : "http://") + "cdn.uservoice.com/javascripts/widgets/tab.js");
		document.getElementsByTagName('head')[0].appendChild(s);
	}
	_loadSuper = window.onload;
	window.onload = (typeof window.onload != 'function') ? _loadUserVoice : function() { _loadSuper(); _loadUserVoice();};
	</script>
	
	<script type="text/javascript">
	  /*** Google Analytics ***/
	  var _gaq = _gaq || [];
	  _gaq.push(['_setAccount', 'UA-17348828-1']);
	  _gaq.push(['_trackPageview']);

	  (function() {
	    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
	    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
	    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	  })();

	</script>

</head>

<body>
	<%= render :partial => '/layouts/header' %>
	
	
	<%= yield %>
	
	
	<div class="clear"></div>
	<div class="footer">
		ClojureDocs uses some elements of HTML5 / CSS3, and is best viewed in an up-to-date <a href="http://getfirefox.com">gecko</a> / <a href="http://www.google.com/chrome">webkit</a> -based browser.
		<br />
		<br />
		&copy; 2010 <NAME> <a href="http://zacharykim.com">http://zacharykim.com</a>
		<br />
		<br />
	</div>
</body>
</html>


{'fraction_non_alphanumeric': 0.20810717172883705, 'fraction_numerical': 0.015013280979327867, 'mean_word_length': 3.808439755691283, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 2, '>': 105, 'https://': 4, 'lorem ipsum': 0, 'www.': 8, 'xml': 8}, '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': '5693241', 'n_tokens_mistral': 3629, 'n_tokens_neox': 3180, 'n_words': 590}