<commit_before><!DOCTYPE html>
<html>
	<head>
		<title>Human | Humanist Documentation</title>
		<script type="text/javascript" src="/static/showdown.js"></script>
		<script type="text/javascript" src="/static/Ladda/spin.min.js"></script>
		<script type="text/javascript" src="/static/Ladda/ladda.min.js"></script>
		<script type="text/javascript" src="/static/Prism/prism.min.js"></script>
		<script type="text/javascript" src="/static/query.js"></script>
		<link rel="stylesheet" type="text/css" href="/static/styles.css"></link>
		<link rel="stylesheet" type="text/css" href="/static/Ladda/ladda.min.css"></link>
		<link rel="stylesheet" type="text/css" href="/static/Prism/prism.css"></link>
	</head>
	<body>
		<div id="header">
			<h1>Hu&middot;man | Humanist Documentation
			<!-- Place this tag where you want the +1 button to render. -->
			<div class="g-plusone" data-size="medium" data-href="http://humanual-sv.appspot.com"></div>

			<!-- Place this tag after the last +1 button tag. -->
			<script type="text/javascript">
			  (function() {
			    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
			    po.src = 'https://apis.google.com/js/plusone.js';
			    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
			  })();
			</script>
			</h1>
		</div>
		<div id="pagewrapper">
			<blockquote><em>I have a natural revulsion to any operating system that shows so little planning as to have to named all of its commands after digestive noises (awk, grep, fsck, nroff).</em><br/><div style="text-align:right;">&mdash; Unknown</div></blockquote>
			<p class="dropcap">UNIX was built by hackers. For hackers, the source is the documentation. <code class="language-bash">man</code> was designed to avoid straight answers. So how do I list hidden files in a directory with <code class="language-bash">ls</code>? What's <code class="language-bash">grep</code>? How do I get out of <code class="language-bash">less</code>? Developers waste precious development time Googling around for questions that should have obvious answers.

			<p>Enter Human. Human believes in instant code snippets. No more following dozens of failed StackOverflow links, or scrolling through pages of <code class="language-bash">man</code>. Just replace it with <code class="language-bash">human</code> command and get an FAQ written by and for developers like you.

			<h2>Install</h2>
			Using Sudo (root priviledges needed):
			<pre><code class="language-bash">sudo curl "http://humanual-sv.appspot.com/static/install" -o /usr/bin/human
sudo chmod +rx</code></pre>
			As a non-root user:
<pre><code class="language-bash">cd ~/
echo "PATH=\"$PATH:~/human\"" >> ~/.profile<commit_msg>Added argument to chmod<commit_after><!DOCTYPE html>
<html>
	<head>
		<title>Human | Humanist Documentation</title>
		<script type="text/javascript" src="/static/showdown.js"></script>
		<script type="text/javascript" src="/static/Ladda/spin.min.js"></script>
		<script type="text/javascript" src="/static/Ladda/ladda.min.js"></script>
		<script type="text/javascript" src="/static/Prism/prism.min.js"></script>
		<script type="text/javascript" src="/static/query.js"></script>
		<link rel="stylesheet" type="text/css" href="/static/styles.css"></link>
		<link rel="stylesheet" type="text/css" href="/static/Ladda/ladda.min.css"></link>
		<link rel="stylesheet" type="text/css" href="/static/Prism/prism.css"></link>
	</head>
	<body>
		<div id="header">
			<h1>Hu&middot;man | Humanist Documentation
			<!-- Place this tag where you want the +1 button to render. -->
			<div class="g-plusone" data-size="medium" data-href="http://humanual-sv.appspot.com"></div>

			<!-- Place this tag after the last +1 button tag. -->
			<script type="text/javascript">
			  (function() {
			    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
			    po.src = 'https://apis.google.com/js/plusone.js';
			    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
			  })();
			</script>
			</h1>
		</div>
		<div id="pagewrapper">
			<blockquote><em>I have a natural revulsion to any operating system that shows so little planning as to have to named all of its commands after digestive noises (awk, grep, fsck, nroff).</em><br/><div style="text-align:right;">&mdash; Unknown</div></blockquote>
			<p class="dropcap">UNIX was built by hackers. For hackers, the source is the documentation. <code class="language-bash">man</code> was designed to avoid straight answers. So how do I list hidden files in a directory with <code class="language-bash">ls</code>? What's <code class="language-bash">grep</code>? How do I get out of <code class="language-bash">less</code>? Developers waste precious development time Googling around for questions that should have obvious answers.

			<p>Enter Human. Human believes in instant code snippets. No more following dozens of failed StackOverflow links, or scrolling through pages of <code class="language-bash">man</code>. Just replace it with <code class="language-bash">human</code> command and get an FAQ written by and for developers like you.

			<h2>Install</h2>
			Using Sudo (root priviledges needed):
			<pre><code class="language-bash">sudo curl "http://humanual-sv.appspot.com/static/install" -o /usr/bin/human
sudo chmod +rx /usr/bin/human</code></pre>
			As a non-root user:
<pre><code class="language-bash">cd ~/
echo "PATH=\"$PATH:~/human\"" >> ~/.profile
{'fraction_non_alphanumeric': 0.16590950390695983, 'fraction_numerical': 0.002544066872614937, 'mean_word_length': 4.48207171314741, 'pattern_counts': {'":': 0, '<': 129, '<?xml version=': 0, '>': 133, 'https://': 2, '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': '761473', 'n_tokens_mistral': 1857, 'n_tokens_neox': 1694, 'n_words': 489}