mirror of
https://github.com/arcan1s/arcanis.me.git
synced 2025-07-03 17:05:47 +00:00
try to apply jekyll
+ added paper
This commit is contained in:
@ -1,146 +0,0 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
||||
<title>About zshrc</title>
|
||||
<meta name="author" content="Evgeniy Alekseev" />
|
||||
<meta name="description" content="arcanis' homepage" />
|
||||
<link rel="license" type="text/html" href="/LICENSE" />
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/styles.css">
|
||||
<link rel="stylesheet" href="../stylesheets/pygment_trac.css">
|
||||
<link rel="shortcut icon" href="/resources/icon.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<!-- comment block -->
|
||||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
|
||||
<!-- sharethis -->
|
||||
<script type="text/javascript">var switchTo5x=false;</script>
|
||||
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
|
||||
<script type="text/javascript">stLight.options({publisher: "70dd9cde-7276-47af-8de7-9c43883daf2b", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
<header>
|
||||
<h1>About zshrc</h1>
|
||||
<p align="justify">13 Jan 22:02 2014<br>
|
||||
<i>Last edit: 13 Jan 22:02 2014</i></p>
|
||||
<p align="justify"><a href="google_tag1">#tag1</a>
|
||||
<a href="google_tag2">#tag2</a>
|
||||
<a href="google_tag3">#tag3</a></p>
|
||||
</header>
|
||||
<section>
|
||||
|
||||
<h2><a name="title" class="anchor" href="#title"><span class="octicon octicon-link"></span></a>About zshrc</h2>
|
||||
<p align="justify">It is first paper in my blog (I think I need something here for tests =)). There are many similar articles, and I'll not be an exception. I just want to show my <code>.zshrc</code> and explain what it does and why it is needed. Also any comments or additions are welcome. It is a translated paper from Russian (<a href="http://archlinux.org.ru/forum/topic/12752/">original</a>).</p>
|
||||
|
||||
<h3><a name="prepare" class="anchor" href="#prepare"><span class="octicon octicon-link"></span></a>Prepare</h2>
|
||||
<p align="justify">First install recommended minima:</p>
|
||||
<pre><code>pacman -Sy pkgfile zsh zsh-completions zsh-syntax-highlighting</code></pre>
|
||||
<p align="justify"><a href="https://www.archlinux.org/packages/pkgfile/">pkgfile</a> is a very useful utility. Alo this command will install shell, additional completion and syntax highlighting.</p>
|
||||
<div class="codeblock"><pre>pacman -Sy pkgfile zsh zsh-completions zsh-syntax-highlighting
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
|
||||
f
|
||||
f
|
||||
f
|
||||
f
|
||||
|
||||
f
|
||||
f</pre></div>
|
||||
|
||||
<!-- comment block -->
|
||||
<script type="text/javascript" src="http://datejs.googlecode.com/svn/trunk/build/date-en-US.js"></script>
|
||||
<script type="text/javascript">
|
||||
$("#post p").each( function(index) {
|
||||
if (index > 0 && $.trim($(this).text()).length > 0) {
|
||||
$(this).attr("id", "par" + index.toString());
|
||||
var html = $(this).html();
|
||||
$(this).html(html + " <a href='#par" + index.toString() + "'>#</a>");
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<div id="comments">
|
||||
<h2>Comments</h2>
|
||||
<div id="header">
|
||||
Want to leave a comment? Visit <a href="https://github.com/arcan1s/arcan1s.github.io/issues/$PAPER_NUM" target="_blank"> this post's issue page on GitHub</a> (you'll need a GitHub account).
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
function loadComments(data) {
|
||||
for (var i=0; i<data.length; i++) {
|
||||
var cuser = data[i].user.login;
|
||||
var cuserlink = "https://www.github.com/" + data[i].user.login;
|
||||
var clink = "https://github.com/arcan1s/arcan1s.github.io/issues/$PAPER_NUM#issuecomment-" + data[i].url.substring(data[i].url.lastIndexOf("/")+1);
|
||||
var cbody = data[i].body_html;
|
||||
var cavatarlink = data[i].user.avatar_url;
|
||||
var cdate = Date.parse(data[i].created_at).toString("yyyy-MM-dd HH:mm:ss");
|
||||
|
||||
$("#comments").append("<div class='comment'><div class='commentheader'><div class='commentgravatar'>" + '<img src="' + cavatarlink + '" alt="" width="20" height="20">' + "</div><a class='commentuser' href=\""+ cuserlink + "\">" + cuser + "</a><a class='commentdate' href=\"" + clink + "\">" + cdate + "</a></div><div class='commentbody'>" + cbody + "</div></div>");
|
||||
}
|
||||
}
|
||||
$.ajax("https://api.github.com/repos/arcan1s/arcan1s.github.io/issues/$PAPER_NUM/comments?per_page=100", {
|
||||
headers: {Accept: "application/vnd.github.full+json"},
|
||||
dataType: "json",
|
||||
success: function(msg){
|
||||
loadComments(msg);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<!-- end of comment block -->
|
||||
|
||||
</section>
|
||||
<footer>
|
||||
<p class="view"><a href="javascript:history.back()">Back</a><br>
|
||||
<a href="/">Back to Homepage</a></p>
|
||||
<p><span class='st_vkontakte'></span>
|
||||
<span class='st_facebook'></span>
|
||||
<span class='st_twitter'></span>
|
||||
<span class='st_googleplus'></span>
|
||||
<span class='st_livejournal'></span><br>
|
||||
<small>Hosted on GitHub Pages. <a href="/authors">Authors</a></small></p>
|
||||
</footer>
|
||||
</div>
|
||||
<script src="/javascripts/scale.fix.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,3 +1,14 @@
|
||||
---
|
||||
posts:
|
||||
- title: About zshrc
|
||||
date: 14 January 2014
|
||||
last: 14 January 2014
|
||||
tags:
|
||||
- zshrc
|
||||
- configuration
|
||||
- linux
|
||||
---
|
||||
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
@ -23,9 +34,16 @@
|
||||
</header>
|
||||
<section>
|
||||
|
||||
<h1><a name="title" class="anchor" href="#title"><span class="octicon octicon-link"></span></a>title</h1>
|
||||
<p align="justify">Когда-нибудь здесь будет что-нибудь. Может быть даже интересеное.</p>
|
||||
{% for post in site.posts %}
|
||||
<h1><a name="{{ post.title }}" class="anchor" href="#{{ post.title }}"><span class="octicon octicon-link"></span></a><a href="{{ post.url }}">{{ post.title }}</a></h1>
|
||||
<p align="justify">{{ post.date | date_to_string}}</p>
|
||||
<p align="justify">{{ post.description }}</p>
|
||||
<p align="justify">Tags: {% for tag in post.tags %}
|
||||
<a href="https://www.google.ru/search?q={{ tag }}+site:arcan1s.github.io">{{ tag }}</a>
|
||||
{% endfor %}</p>
|
||||
{% endfor %}
|
||||
|
||||
<script type="text/javascript" src="http://datejs.googlecode.com/svn/trunk/build/date-en-US.js"></script>
|
||||
</section>
|
||||
<footer>
|
||||
<p class="view"><a href="/">Back to Homepage</a></p>
|
||||
|
Reference in New Issue
Block a user