Move website to Jekyll now

This commit is contained in:
arcan1s 2014-01-15 03:34:04 +04:00
parent 7acf589e7a
commit 62b9552182
20 changed files with 549 additions and 987 deletions

View File

@ -1,21 +1,10 @@
<!doctype html> ---
<html> layout: default
<head> comment: false
<meta charset="utf-8"> share: false
<meta http-equiv="X-UA-Compatible" content="chrome=1"> back: 0
<title>Error 404</title> title: Error 404
<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]-->
</head>
<body> <body>
<div class="wrapper"> <div class="wrapper">
<header> <header>
@ -31,13 +20,3 @@
<img src="/resources/pinkiepie.png" alt="pinkiepie"> <img src="/resources/pinkiepie.png" alt="pinkiepie">
<p align="justify">I'm Pinkie Pie. You are seeing me because you want a page that I could not find. I'm sorry. Seriously. I'll try to work better. But now I may suggest you to return to the <a href="/">Homepage</a> or <a href="javascript:history.back()">back</a></p> <p align="justify">I'm Pinkie Pie. You are seeing me because you want a page that I could not find. I'm sorry. Seriously. I'll try to work better. But now I may suggest you to return to the <a href="/">Homepage</a> or <a href="javascript:history.back()">back</a></p>
</section>
<footer>
<p><small>Hosted on GitHub Pages. <a href="/authors">Authors</a></small></p>
</footer>
</div>
<script src="/javascripts/scale.fix.js"></script>
</body>
</html>

View File

@ -1,2 +1,63 @@
markdown: rdiscount source: .
destination: ./_site
plugins: ./_plugins
layouts: ./_layouts
include: ['.htaccess']
exclude: []
keep_files: ['.git','.svn']
gems: []
future: true
limit_posts: 0
pygments: true pygments: true
relative_permalinks: true
permalink: pretty
paginate_path: 'page:num'
markdown: rdiscount
markdown_ext: markdown,mkd,mkdn,md
textile_ext: textile
excerpt_separator: "\n\n"
safe: false
host: 0.0.0.0
port: 4000
baseurl: /
url: http://localhost:4000
lsi: false
maruku:
use_tex: false
use_divs: false
png_engine: blahtex
png_dir: images/latex
png_url: /images/latex
fenced_code_blocks: true
rdiscount:
extensions: []
redcarpet:
extensions: []
kramdown:
auto_ids: true
footnote_nr: 1
entity_output: as_char
toc_levels: 1..6
smart_quotes: lsquo,rsquo,ldquo,rdquo
use_coderay: false
coderay:
coderay_wrap: div
coderay_line_numbers: inline
coderay_line_numbers_start: 1
coderay_tab_width: 4
coderay_bold_every: 10
coderay_css: style
redcloth:
hard_breaks: true

View File

@ -0,0 +1 @@
<p class="view"><a href="/">Back to Homepage</a></p>

View File

@ -0,0 +1,38 @@
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<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/{{page.commentIssueId}}" 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/{{page.commentIssueId}}#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/{{page.commentIssueId}}/comments?per_page=100", {
headers: {Accept: "application/vnd.github.full+json"},
dataType: "json",
success: function(msg){
loadComments(msg);
}
});
</script>

View File

@ -0,0 +1,2 @@
<p class="view"><a href="javascript:history.back()">Back</a><br>
<a href="/">Back to Homepage</a></p>

View File

@ -0,0 +1,5 @@
<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>

View File

@ -0,0 +1 @@
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>

View File

@ -0,0 +1,3 @@
<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>

49
_layouts/default.html Normal file
View File

@ -0,0 +1,49 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>{{ page.title }}</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]-->
{% if page.comment == true %}
{% include header_comment.html %}
{% endif %}
{% if page.share == true %}
{% include header_sharethis.html %}
{% endif %}
</head>
{{ content }}
{% if page.comment == true %}
{% include footer_comment.html %}
{% endif %}
</section>
<footer>
{% if page.back == 1 %}
{% include footer_back.html %}
{% elsif page.back == 2 %}
{% include footer_fullback.html %}
{% endif %}
<p>
{% if page.share == true %}
{% include footer_sharethis.html %}
{% endif %}
<small>Hosted on GitHub Pages. <a href="/authors">Authors</a></small></p>
</footer>
</div>
<script src="/javascripts/scale.fix.js"></script>
</body>
</html>

View File

@ -1,27 +1,9 @@
<!doctype html> ---
<html> comment: true
<head> share: true
<meta charset="utf-8"> back: 2
<meta http-equiv="X-UA-Compatible" content="chrome=1"> layout: default
<title>{{ page.title }}</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> <body>
<div class="wrapper"> <div class="wrapper">
<header> <header>
@ -38,60 +20,3 @@
<p align="justify">{{ page.description }}</p> <p align="justify">{{ page.description }}</p>
{{ content }} {{ content }}
<!-- 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/{{page.commentIssueId}}" 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/{{page.commentIssueId}}#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/{{page.commentIssueId}}/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>

View File

@ -1,133 +1,33 @@
<!doctype html> ---
<html> comment: true
<head> share: true
<meta charset="utf-8"> back: 2
<meta http-equiv="X-UA-Compatible" content="chrome=1"> layout: default
<title>$PROJECT_NAME</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> <body>
<div class="wrapper"> <div class="wrapper">
<header> <header>
<h1>$PROJECT_NAME</h1> <h1>{{ page.title }}</h1>
<p class="view">$SHORT_DESC</p> <p class="view">{{ page.description }}</p>
<p class="view"><a href="#information">General information</a><br> <p class="view"><a href="#info">General information</a><br>
<a href="#installation">Installation guide</a><br> <a href="#install">Installation guide</a><br>
<a href="#configuration">Configuration</a><br> <a href="#howto">How to use</a><br>
<a href="#config">Configuration</a><br>
{% if page.hasgui == true %}
<a href="#gui">GUI</a><br>
<a href="#screenshots">Screenshots</a><br> <a href="#screenshots">Screenshots</a><br>
{% endif %}
<a href="#links">Links</a></p> <a href="#links">Links</a></p>
</header> </header>
<section> <section>
<h2><a name="information" class="anchor" href="#information"><span class="octicon octicon-link"></span></a>Information</h2> {{ content }}
<h3><a name="devel" class="anchor" href="#devel"><span class="octicon octicon-link"></span></a>Developers and contributors</h3>
<ul>
<li>Evgeniy Alekseev</li>
</ul>
<h3><a name="license" class="anchor" href="#license"><span class="octicon octicon-link"></span></a>License</h3>
<ul>
<li>GPL</li>
</ul>
<h2><a name="installation" class="anchor" href="#installation"><span class="octicon octicon-link"></span></a>Installation</h2>
<h3><a name="instruction" class="anchor" href="#instruction"><span class="octicon octicon-link"></span></a>Instruction</h3>
<ul>
<li><p align="justify">Download an <a href="https://github.com/arcan1s/$PROJECT_NAME/releases">archive</a> with latest version of source files.</p></li>
<li><p align="justify">Extract it and install:</p>
<pre><code>example command</code></pre></li>
</ul>
<h3><a name="dependencies" class="anchor" href="#dependencies"><span class="octicon octicon-link"></span></a>Dependencies</h3>
<p align="justify">I want note that all were tested on latest version of dependencies.</p>
<ul>
<li>$DEPS</li>
<li>$MAKEDEPS <i>(make)</i></li>
<li>#OPTDEPS <i>(optional, for ...)</i></li>
</ul>
<h2><a name="configuration" class="anchor" href="#configuration"><span class="octicon octicon-link"></span></a>Configuration</h2>
<h2><a name="screenshots" class="anchor" href="#screenshots"><span class="octicon octicon-link"></span></a>Screenshots</h2>
<p align="justify"><a href="/resources/screenshots/$IMG.png"><img src="/resources/preview/$IMG.jpg"></a></p>
<h2><a name="links" class="anchor" href="#links"><span class="octicon octicon-link"></span></a>Links</h2> <h2><a name="links" class="anchor" href="#links"><span class="octicon octicon-link"></span></a>Links</h2>
<ul> <ul>
<li><a href="https://github.com/arcan1s/$PROJECT_NAME">GitHub repo</a></li> <li><a href="https://github.com/arcan1s/{{ page.short }}">GitHub repo</a></li>
<li><a href="https://github.com/arcan1s/$PROJECT_NAME/releases">Latest release</a></li> <li><a href="https://github.com/arcan1s/{{ page.short }}/releases">Latest release</a></li>
{% for link in page.links %}
<li>{{ link }}</li>
{% endfor %}
</ul> </ul>
<!-- 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/$PROJECT_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/$PROJECT_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/$PROJECT_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>

View File

@ -10,7 +10,6 @@ title: About zshrc
description: 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>). description: 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>).
commentIssueId: 5 commentIssueId: 5
--- ---
<h3><a name="prepare" class="anchor" href="#prepare"><span class="octicon octicon-link"></span></a>Prepare</h2> <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> <p align="justify">First install recommended minima:</p>
<pre>pacman -Sy pkgfile zsh zsh-completions zsh-syntax-highlighting</pre> <pre>pacman -Sy pkgfile zsh zsh-completions zsh-syntax-highlighting</pre>
@ -41,8 +40,8 @@ bindkey '\e[6~' down-line-or-history # page-down</pre>
<pre># autocomplete <pre># autocomplete
autoload -U compinit autoload -U compinit
compinit compinit
zstyle ':completion:\*' insert-tab false zstyle ':completion:*' insert-tab false
zstyle ':completion:\*' max-errors 2</pre> zstyle ':completion:*' max-errors 2</pre>
<p align="justify">Full command autocomplete will be enabled. <code>insert-tab false</code> will enable autocomplete for <b>non-entered</b> commands. <code>max-errors</code> sets maximum number of errors that could be corrected.</p> <p align="justify">Full command autocomplete will be enabled. <code>insert-tab false</code> will enable autocomplete for <b>non-entered</b> commands. <code>max-errors</code> sets maximum number of errors that could be corrected.</p>
<p align="justify">Prompt:</p> <p align="justify">Prompt:</p>
@ -89,19 +88,19 @@ source /usr/share/doc/pkgfile/command-not-found.zsh</pre>
<div class="codeblock"># highlighting <div class="codeblock"># highlighting
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern) ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern)
\# brackets # brackets
ZSH_HIGHLIGHT_STYLES[bracket-level-1]='fg=blue,bold' ZSH_HIGHLIGHT_STYLES[bracket-level-1]='fg=blue,bold'
ZSH_HIGHLIGHT_STYLES[bracket-level-2]='fg=red,bold' ZSH_HIGHLIGHT_STYLES[bracket-level-2]='fg=red,bold'
ZSH_HIGHLIGHT_STYLES[bracket-level-3]='fg=yellow,bold' ZSH_HIGHLIGHT_STYLES[bracket-level-3]='fg=yellow,bold'
ZSH_HIGHLIGHT_STYLES[bracket-level-4]='fg=magenta,bold' ZSH_HIGHLIGHT_STYLES[bracket-level-4]='fg=magenta,bold'
\# cursor # cursor
\#ZSH_HIGHLIGHT_STYLES[cursor]='bg=blue' #ZSH_HIGHLIGHT_STYLES[cursor]='bg=blue'
\# main # main
\# default # default
ZSH_HIGHLIGHT_STYLES[default]='none' ZSH_HIGHLIGHT_STYLES[default]='none'
\# unknown # unknown
ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=red' ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=red'
\# command # command
ZSH_HIGHLIGHT_STYLES[reserved-word]='fg=magenta,bold' ZSH_HIGHLIGHT_STYLES[reserved-word]='fg=magenta,bold'
ZSH_HIGHLIGHT_STYLES[alias]='fg=yellow,bold' ZSH_HIGHLIGHT_STYLES[alias]='fg=yellow,bold'
ZSH_HIGHLIGHT_STYLES[builtin]='fg=green,bold' ZSH_HIGHLIGHT_STYLES[builtin]='fg=green,bold'
@ -112,31 +111,31 @@ ZSH_HIGHLIGHT_STYLES[commandseparator]='fg=yellow'
ZSH_HIGHLIGHT_STYLES[hashed-command]='fg=green' ZSH_HIGHLIGHT_STYLES[hashed-command]='fg=green'
ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='fg=blue,bold' ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='fg=blue,bold'
ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='fg=blue,bold' ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='fg=blue,bold'
\# path # path
ZSH_HIGHLIGHT_STYLES[path]='fg=cyan,bold' ZSH_HIGHLIGHT_STYLES[path]='fg=cyan,bold'
ZSH_HIGHLIGHT_STYLES[path_prefix]='fg=cyan' ZSH_HIGHLIGHT_STYLES[path_prefix]='fg=cyan'
ZSH_HIGHLIGHT_STYLES[path_approx]='fg=cyan' ZSH_HIGHLIGHT_STYLES[path_approx]='fg=cyan'
\# shell # shell
ZSH_HIGHLIGHT_STYLES[globbing]='fg=cyan' ZSH_HIGHLIGHT_STYLES[globbing]='fg=cyan'
ZSH_HIGHLIGHT_STYLES[history-expansion]='fg=blue' ZSH_HIGHLIGHT_STYLES[history-expansion]='fg=blue'
ZSH_HIGHLIGHT_STYLES[assign]='fg=magenta' ZSH_HIGHLIGHT_STYLES[assign]='fg=magenta'
ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=cyan' ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=cyan'
ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=cyan' ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=cyan'
ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='fg=blue' ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='fg=blue'
\# quotes # quotes
ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=yellow,underline' ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=yellow,underline'
ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=yellow' ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=yellow'
\# pattern example # pattern example
\#ZSH_HIGHLIGHT_PATTERNS+=('rm -rf \*' 'fg=white,bold,bg=red') #ZSH_HIGHLIGHT_PATTERNS+=('rm -rf *' 'fg=white,bold,bg=red')
\# root example # root example
\#ZSH_HIGHLIGHT_STYLES[root]='bg=red'</div> #ZSH_HIGHLIGHT_STYLES[root]='bg=red'</div>
<p align="justify">In first line highlighting is turned on. Next main, brackets and pattern highlighting are turned on. Patterns are set below (<code>rm -rf \*</code> in the example). Also <code>root</code> and <code>cursor</code> highlighting may be turned on. Colors syntax is understandable, <code>fg</code> is font color, <code>bg</code> is background color.</p> <p align="justify">In first line highlighting is turned on. Next main, brackets and pattern highlighting are turned on. Patterns are set below (<code>rm -rf *</code> in the example). Also <code>root</code> and <code>cursor</code> highlighting may be turned on. Colors syntax is understandable, <code>fg</code> is font color, <code>bg</code> is background color.</p>
<h3><a name="prompt" class="anchor" href="#prompt"><span class="octicon octicon-link"></span></a>$PROMPT and $RPROMPT</h2> <h3><a name="prompt" class="anchor" href="#prompt"><span class="octicon octicon-link"></span></a>$PROMPT and $RPROMPT</h2>
<p align="justify">The general idea is the use single <code>.zshrc</code> for root and normal user:</p> <p align="justify">The general idea is the use single <code>.zshrc</code> for root and normal user:</p>
<div class="codeblock"># PROMPT && RPROMPT <div class="codeblock"># PROMPT && RPROMPT
if [[ $EUID == 0 ]]; then if [[ $EUID == 0 ]]; then
\# [root@host dir]\# # [root@host dir]#
PROMPT="%{$fg_bold[white]%}[%{$reset_color%}\ PROMPT="%{$fg_bold[white]%}[%{$reset_color%}\
%{$fg_bold[red]%}%n%{$reset_color%}\ %{$fg_bold[red]%}%n%{$reset_color%}\
%{$fg_bold[white]%}@%{$reset_color%}\ %{$fg_bold[white]%}@%{$reset_color%}\
@ -144,7 +143,7 @@ if [[ $EUID == 0 ]]; then
%{$fg_bold[yellow]%}%1/%{$reset_color%}\ %{$fg_bold[yellow]%}%1/%{$reset_color%}\
%{$fg_bold[white]%}]# %{$reset_color%}" %{$fg_bold[white]%}]# %{$reset_color%}"
else else
\# [user@host dir]$ # [user@host dir]$
PROMPT="%{$fg_bold[white]%}[%{$reset_color%}\ PROMPT="%{$fg_bold[white]%}[%{$reset_color%}\
%{$fg_bold[green]%}%n%{$reset_color%}\ %{$fg_bold[green]%}%n%{$reset_color%}\
%{$fg_bold[white]%}@%{$reset_color%}\ %{$fg_bold[white]%}@%{$reset_color%}\
@ -213,21 +212,21 @@ $returncode\
<p align="justify">Here is the first group of aliases:</p> <p align="justify">Here is the first group of aliases:</p>
<div class="codeblock">## alias <div class="codeblock">## alias
\# colored grep # colored grep
alias grep='grep --colour=auto' alias grep='grep --colour=auto'
\# change top to htop # change top to htop
alias top='show_which top && htop' alias top='show_which top && htop'
\# chromium with different proxy servers (i2p and tor included) # chromium with different proxy servers (i2p and tor included)
alias chrommsu='show_which chrommsu && chromium --proxy-server=cache.msu:3128' alias chrommsu='show_which chrommsu && chromium --proxy-server=cache.msu:3128'
alias chromtor='show_which chromtor && chromium --proxy-server="socks://localhost:9050" --incognito' alias chromtor='show_which chromtor && chromium --proxy-server="socks://localhost:9050" --incognito'
alias chromi2p='show_which chromi2p && chromium --proxy-server="http=127.0.0.1:4444;https=127.0.0.1:4445" --incognito' alias chromi2p='show_which chromi2p && chromium --proxy-server="http=127.0.0.1:4444;https=127.0.0.1:4445" --incognito'
\# human-readable df and du # human-readable df and du
alias df='show_which df && df -k --print-type --human-readable' alias df='show_which df && df -k --print-type --human-readable'
alias du='show_which du && du -k --total --human-readable' alias du='show_which du && du -k --total --human-readable'
\# change less and zless to vimpager # change less and zless to vimpager
alias less='vimpager' alias less='vimpager'
alias zless='vimpager' alias zless='vimpager'
\# more interactive rm # more interactive rm
alias rm='show_which rm && rm -I'</div> alias rm='show_which rm && rm -I'</div>
<p align="justify">Here are ls aliases (see <a href="http://unixhelp.ed.ac.uk/CGI/man-cgi?ls">man ls</a>):</p> <p align="justify">Here are ls aliases (see <a href="http://unixhelp.ed.ac.uk/CGI/man-cgi?ls">man ls</a>):</p>
@ -282,7 +281,7 @@ alias -g dn="&> /dev/null &"</pre>
<p align="justify">Here is a special function for <code>xrandr</code>:</p> <p align="justify">Here is a special function for <code>xrandr</code>:</p>
<div class="codeblock"># function to contorl xrandr <div class="codeblock"># function to contorl xrandr
\# EXAMPLE: projctl 1024x768 # EXAMPLE: projctl 1024x768
projctl () { projctl () {
if [ $1 ] ; then if [ $1 ] ; then
if [ $1 = "-h" ]; then if [ $1 = "-h" ]; then
@ -304,34 +303,34 @@ projctl () {
<p align="justify">Unfortunately I can not remember <code>tar</code> flags thus I use special functions:</p> <p align="justify">Unfortunately I can not remember <code>tar</code> flags thus I use special functions:</p>
<div class="codeblock"># function to extract archives <div class="codeblock"># function to extract archives
\# EXAMPLE: unpack file # EXAMPLE: unpack file
unpack () { unpack () {
if [[ -f $1 ]]; then if [[ -f $1 ]]; then
case $1 in case $1 in
\*.tar.bz2) tar xjfv $1 ;; *.tar.bz2) tar xjfv $1 ;;
\*.tar.gz) tar xzfv $1 ;; *.tar.gz) tar xzfv $1 ;;
\*.tar.xz) tar xvJf $1 ;; *.tar.xz) tar xvJf $1 ;;
\*.bz2) bunzip2 $1 ;; *.bz2) bunzip2 $1 ;;
\*.gz) gunzip $1 ;; *.gz) gunzip $1 ;;
\*.rar) unrar x $1 ;; *.rar) unrar x $1 ;;
\*.tar) tar xf $1 ;; *.tar) tar xf $1 ;;
\*.tbz) tar xjvf $1 ;; *.tbz) tar xjvf $1 ;;
\*.tbz2) tar xjf $1 ;; *.tbz2) tar xjf $1 ;;
\*.tgz) tar xzf $1 ;; *.tgz) tar xzf $1 ;;
\*.zip) unzip $1 ;; *.zip) unzip $1 ;;
\*.Z) uncompress $1 ;; *.Z) uncompress $1 ;;
\*.7z) 7z x $1 ;; *.7z) 7z x $1 ;;
\*) echo "I don't know how to extract '$1'" ;; *) echo "I don't know how to extract '$1'" ;;
esac esac
else else
case $1 in case $1 in
\*help) echo "Usage: unpack ARCHIVE_NAME" ;; *help) echo "Usage: unpack ARCHIVE_NAME" ;;
\*) echo "'$1' is not a valid file" ;; *) echo "'$1' is not a valid file" ;;
esac esac
fi fi
} }
\# function to create archives # function to create archives
\# EXAMPLE: pack tar file # EXAMPLE: pack tar file
pack () { pack () {
if [ $1 ]; then if [ $1 ]; then
case $1 in case $1 in
@ -345,8 +344,8 @@ pack () {
tgz) tar czvf $2.tar.gz $2 ;; tgz) tar czvf $2.tar.gz $2 ;;
zip) zip -r $2.zip $2 ;; zip) zip -r $2.zip $2 ;;
7z) 7z a $2.7z $2 ;; 7z) 7z a $2.7z $2 ;;
\*help) echo "Usage: pack TYPE FILES" ;; *help) echo "Usage: pack TYPE FILES" ;;
\*) echo "'$1' cannot be packed via pack()" ;; *) echo "'$1' cannot be packed via pack()" ;;
esac esac
else else
echo "'$1' is not a valid file" echo "'$1' is not a valid file"
@ -363,22 +362,22 @@ pack () {
done done
if [[ $checksu == 0 ]]; then if [[ $checksu == 0 ]]; then
echo "Use 'su -', Luke" echo "Use 'su -', Luke"
/usr/bin/su - $\* /usr/bin/su - $*
else else
/usr/bin/su $\* /usr/bin/su $*
fi fi
}</div> }</div>
<p align="justify">Functions with automatic rehash after installing/removing packages are:</p> <p align="justify">Functions with automatic rehash after installing/removing packages are:</p>
<div class="codeblock">pacman () { <div class="codeblock">pacman () {
/usr/bin/sudo /usr/bin/pacman $\* && echo "$\*" | grep -q "S\\|R\\|U" && rehash /usr/bin/sudo /usr/bin/pacman $* && echo "$*" | grep -q "S\\|R\\|U" && rehash
} }
yaourt () { yaourt () {
/usr/bin/yaourt $\* && echo "$\*" | grep -q "S\\|R\\|U" && rehash /usr/bin/yaourt $* && echo "$*" | grep -q "S\\|R\\|U" && rehash
} }
\# for testing repo # for testing repo
yatest () { yatest () {
/usr/bin/yaourt --config /etc/pactest.conf $\* && echo "$\*" | grep -q "S\\|R\\|U" && rehash /usr/bin/yaourt --config /etc/pactest.conf $* && echo "$*" | grep -q "S\\|R\\|U" && rehash
}</div> }</div>
<p align="justify">But autocomplete for <code>yaourt -Ss</code> <a href="https://github.com/zsh-users/zsh-completions/pull/205">will require</a> root privileges.</p> <p align="justify">But autocomplete for <code>yaourt -Ss</code> <a href="https://github.com/zsh-users/zsh-completions/pull/205">will require</a> root privileges.</p>
@ -388,9 +387,9 @@ yatest () {
<p align="justify">Here are path, mask of new files, editor and pager:</p> <p align="justify">Here are path, mask of new files, editor and pager:</p>
<pre># path <pre># path
export PATH="$PATH:$HOME/.local/bin" export PATH="$PATH:$HOME/.local/bin"
\# umask # umask
umask 022 umask 022
\# editor # editor
export EDITOR="vim" export EDITOR="vim"
export PAGER="vimpager"</pre> export PAGER="vimpager"</pre>

View File

@ -1,25 +1,10 @@
<!doctype html> ---
<html> layout: default
<head> comment: false
<meta charset="utf-8"> share: true
<meta http-equiv="X-UA-Compatible" content="chrome=1"> back: 1
<title>About me</title> title: About me
<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]-->
<!-- 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> <body>
<div class="wrapper"> <div class="wrapper">
<header> <header>
@ -54,19 +39,3 @@ The Trusted User (TU) is a member of the community charged with keeping the AUR
i = ++i + ++i; i = ++i + ++i;
return i;</code></pre> return i;</code></pre>
<p align="justify">And the correct answer is <code>5</code> (or <code>6</code>, as you wish).</p> <p align="justify">And the correct answer is <code>5</code> (or <code>6</code>, as you wish).</p>
</section>
<footer>
<p class="view"><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>

View File

@ -1,21 +1,10 @@
<!doctype html> ---
<html> layout: default
<head> comment: false
<meta charset="utf-8"> share: false
<meta http-equiv="X-UA-Compatible" content="chrome=1"> back: 2
<title>Authors</title> title: Authors
<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]-->
</head>
<body> <body>
<div class="wrapper"> <div class="wrapper">
<header> <header>
@ -42,15 +31,3 @@ Evgeniy Alekseev wrote this file. As long as you retain this notice you can do w
<p align="justify">Special thanks to <a href="http://monztruo.deviantart.com/">Monztruo</a>, I borrowed <a href="http://monztruo.deviantart.com/art/Zalgo-Pacman-v1-194649946">his icon</a>.</p> <p align="justify">Special thanks to <a href="http://monztruo.deviantart.com/">Monztruo</a>, I borrowed <a href="http://monztruo.deviantart.com/art/Zalgo-Pacman-v1-194649946">his icon</a>.</p>
<p align="center">&copy; Evgeniy Alekseev, 2014</p> <p align="center">&copy; Evgeniy Alekseev, 2014</p>
</section>
<footer>
<p class="view"><a href="javascript:history.back()">Back</a><br>
<a href="/">Back to Homepage</a></p>
<p><small>Hosted on GitHub Pages</small></p>
</footer>
</div>
<script src="/javascripts/scale.fix.js"></script>
</body>
</html>

View File

@ -1,25 +1,10 @@
<!doctype html> ---
<html> layout: default
<head> comment: false
<meta charset="utf-8"> share: true
<meta http-equiv="X-UA-Compatible" content="chrome=1"> back: 0
<title>arcanis' homepage</title> title: arcanis' homepage
<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]-->
<!-- 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> <body>
<div class="wrapper"> <div class="wrapper">
<header> <header>
@ -52,18 +37,3 @@
})(); })();
</script> </script>
<gcse:search></gcse:search> <gcse:search></gcse:search>
</section>
<footer>
<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>

View File

@ -1,45 +1,20 @@
<!doctype html> ---
<html> layout: project
<head> title: git-etc
<meta charset="utf-8"> short: git-etc
<meta http-equiv="X-UA-Compatible" content="chrome=1"> commentIssueId: 1
<title>git-etc</title> description: Simple daemon for monitoring changes in files
<meta name="author" content="Evgeniy Alekseev" /> hasgui: true
<meta name="description" content="arcanis' homepage" /> developers:
<link rel="license" type="text/html" href="/LICENSE" /> - Evgeniy Alelseev
license: GPLv3
<link rel="stylesheet" href="/stylesheets/styles.css"> links:
<link rel="stylesheet" href="/stylesheets/pygment_trac.css"> - Archlinux <a href="https://aur.archlinux.org/packages/git-etc">AUR package</a>
<link rel="shortcut icon" href="/resources/icon.ico"> ---
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> <!-- info block -->
<!--[if lt IE 9]> <h2><a name="info" class="anchor" href="#info"><span class="octicon octicon-link"></span></a>Information</h2>
<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>git-etc</h1>
<p class="view">Simple daemon for monitoring changes in files</p>
<p class="view"><a href="#information">General information</a><br>
<a href="#installation">Installation guide</a><br>
<a href="#howto">How to use</a><br>
<a href="#configuration">Configuration</a><br>
<a href="#gui">GUI</a><br>
<a href="#screenshots">Screenshots</a><br>
<a href="#links">Links</a></p>
</header>
<section>
<h2><a name="information" class="anchor" href="#information"><span class="octicon octicon-link"></span></a>Information</h2>
<p align="justify">Simple daemon that automatically creates git repository in the given directory and creates commit at the specified time interval.</p> <p align="justify">Simple daemon that automatically creates git repository in the given directory and creates commit at the specified time interval.</p>
<pre><code>$ git-etc --help <pre>$ git-etc --help
Simple daemon written on BASH for monitoring changes in files Simple daemon written on BASH for monitoring changes in files
Usage: git-etc [ -c | --config /etc/git-etc.conf ] [ -h | --help ] [ -v | --version ] Usage: git-etc [ -c | --config /etc/git-etc.conf ] [ -h | --help ] [ -v | --version ]
@ -49,8 +24,8 @@ Parametrs:
-h --help - show this help and exit -h --help - show this help and exit
-v --version - show version and exit -v --version - show version and exit
See "man 1 git-etc" for more details</code></pre> See "man 1 git-etc" for more details</pre>
<pre><code>$ ctrlconf --help <pre>$ ctrlconf --help
GUI for git-etc daemon GUI for git-etc daemon
Usage: ctrlconf [ --default ] [ -h | --help ] [ -v | --version ] Usage: ctrlconf [ --default ] [ -h | --help ] [ -v | --version ]
@ -60,27 +35,31 @@ Additional parametrs:
-h --help - show this help and exit -h --help - show this help and exit
-v --version - show version and exit -v --version - show version and exit
See "man 1 ctrlconf" for more details</code></pre> See "man 1 ctrlconf" for more details</pre>
<h3><a name="devel" class="anchor" href="#devel"><span class="octicon octicon-link"></span></a>Developers and contributors</h3> <h3><a name="devel" class="anchor" href="#devel"><span class="octicon octicon-link"></span></a>Developers and contributors</h3>
<ul> <ul>
<li>Evgeniy Alekseev</li> {% for devel in page.developers %}
<li>{{ devel }}</li>
{% endfor %}
</ul> </ul>
<h3><a name="license" class="anchor" href="#license"><span class="octicon octicon-link"></span></a>License</h3> <h3><a name="license" class="anchor" href="#license"><span class="octicon octicon-link"></span></a>License</h3>
<ul> <ul>
<li>GPLv3</li> <li>{{ page.license }}</li>
</ul> </ul>
<!-- end of info block -->
<h2><a name="installation" class="anchor" href="#installation"><span class="octicon octicon-link"></span></a>Installation</h2> <!-- install block -->
<h2><a name="install" class="anchor" href="#install"><span class="octicon octicon-link"></span></a>Installation</h2>
<h3><a name="instruction" class="anchor" href="#instruction"><span class="octicon octicon-link"></span></a>Instruction</h3> <h3><a name="instruction" class="anchor" href="#instruction"><span class="octicon octicon-link"></span></a>Instruction</h3>
<ul> <ul>
<li><p align="justify">Download an <a href="https://github.com/arcan1s/git-etc/releases">archive</a> with latest version of source files.</p></li> <li><p align="justify">Download an <a href="https://github.com/arcan1s/git-etc/releases">archive</a> with latest version of source files.</p></li>
<li><p align="justify">Extract it and install the application:</p> <li><p align="justify">Extract it and install the application:</p>
<pre><code>./install.sh "/path/to/root/package"</code></pre> <pre>./install.sh "/path/to/root/package"</pre>
<p align="justify">If you want install it to <code>/</code> you must run it as root, e.g.:</p> <p align="justify">If you want install it to <code>/</code> you must run it as root, e.g.:</p>
<pre><code>sudo ./install.sh "/path/to/root/package"</code></pre> <pre>sudo ./install.sh "/path/to/root/package"</pre>
<p align="justify">If no path is specified it will be installed to <code>/</code> by default.</p></li> <p align="justify">If no path is specified it will be installed to <code>/</code> by default.</p></li>
</ul> </ul>
@ -94,24 +73,28 @@ See "man 1 ctrlconf" for more details</code></pre>
<li>python2-pyqt4 <i>(optional, GUI)</i></li> <li>python2-pyqt4 <i>(optional, GUI)</i></li>
<li>xterm <i>(optional, GUI)</i></li> <li>xterm <i>(optional, GUI)</i></li>
</ul> </ul>
<!-- end of install block -->
<!-- howto block -->
<h2><a name="howto" class="anchor" href="#howto"><span class="octicon octicon-link"></span></a>How to use</h2> <h2><a name="howto" class="anchor" href="#howto"><span class="octicon octicon-link"></span></a>How to use</h2>
<p align="justify">If you want to start the daemon into <code>/etc</code> just run</p> <p align="justify">If you want to start the daemon into <code>/etc</code> just run</p>
<pre><code>systemctl start git-etc</code></pre> <pre>systemctl start git-etc</pre>
<p align="justify">If you want to enable daemon autoload run</p> <p align="justify">If you want to enable daemon autoload run</p>
<pre><code>systemctl enable git-etc</code></pre> <pre>systemctl enable git-etc</pre>
<p align="justify">But you may change path to configuration file or change parameters. To do it just copy (recommended) the source configuration file to new path</p> <p align="justify">But you may change path to configuration file or change parameters. To do it just copy (recommended) the source configuration file to new path</p>
<pre><code>cp /etc/git-etc.conf /new/path/to/file/git-etc.conf</code></pre> <pre>cp /etc/git-etc.conf /new/path/to/file/git-etc.conf</pre>
<p align="justify">and edit it. Then copy the source service file to <code>/etc</code>:</p> <p align="justify">and edit it. Then copy the source service file to <code>/etc</code>:</p>
<pre><code>cp /usr/lib/systemd/system/git-etc.service /etc/systemd/system/git-etc-my-profile.service</code></pre> <pre>cp /usr/lib/systemd/system/git-etc.service /etc/systemd/system/git-etc-my-profile.service</pre>
<p align="justify">Replace following string in the file:</p> <p align="justify">Replace following string in the file:</p>
<pre><code>ExecStart=/usr/bin/git-etc -c /etc/git-etc.conf</code></pre> <pre>ExecStart=/usr/bin/git-etc -c /etc/git-etc.conf</pre>
<p align="justify">to</p> <p align="justify">to</p>
<pre><code>ExecStart=/usr/bin/git-etc -c /new/path/to/file/git-etc.conf</code></pre> <pre>ExecStart=/usr/bin/git-etc -c /new/path/to/file/git-etc.conf</pre>
<!-- end of howto block -->
<h2><a name="configuration" class="anchor" href="#configuration"><span class="octicon octicon-link"></span></a>Configuration</h2> <!-- config block -->
<h2><a name="config" class="anchor" href="#config"><span class="octicon octicon-link"></span></a>Configuration</h2>
<p align="justify">All settings are stored in <code>/etc/git-etc.conf</code>. After edit them you must restart daemon</p> <p align="justify">All settings are stored in <code>/etc/git-etc.conf</code>. After edit them you must restart daemon</p>
<pre><code>systemctl restart git-etc</code></pre> <pre>systemctl restart git-etc</pre>
<h3><a name="options" class="anchor" href="#options"><span class="octicon octicon-link"></span></a>Options</h3> <h3><a name="options" class="anchor" href="#options"><span class="octicon octicon-link"></span></a>Options</h3>
<table> <table>
@ -132,7 +115,9 @@ See "man 1 ctrlconf" for more details</code></pre>
<td><p align="justify"><code>1</code> will enable access for normal user. Default is <code>1</code>.</td> <td><p align="justify"><code>1</code> will enable access for normal user. Default is <code>1</code>.</td>
</tr> </tr>
</table> </table>
<!-- end of config block -->
<!-- gui block -->
<h2><a name="gui" class="anchor" href="#gui"><span class="octicon octicon-link"></span></a>Graphical user interface</h2> <h2><a name="gui" class="anchor" href="#gui"><span class="octicon octicon-link"></span></a>Graphical user interface</h2>
<p align="justify">Control Config (<code>ctrlconf</code>) is GUI for <code>git-etc</code> daemon written on <code>Python2/PyQt4</code>. This application allows you to view a list of commits and changes in files recorded in commit messages. Also, this application allows you to roll back to a specific commit all files (<code>git reset --hard</code>) or individual files (<code>git diff && git apply</code>). And you may merge old and new configuration files (used two branches repository - master and experimental). The application may need root privileges. Make sure that <code>sudo</code> package is installed.</p> <p align="justify">Control Config (<code>ctrlconf</code>) is GUI for <code>git-etc</code> daemon written on <code>Python2/PyQt4</code>. This application allows you to view a list of commits and changes in files recorded in commit messages. Also, this application allows you to roll back to a specific commit all files (<code>git reset --hard</code>) or individual files (<code>git diff && git apply</code>). And you may merge old and new configuration files (used two branches repository - master and experimental). The application may need root privileges. Make sure that <code>sudo</code> package is installed.</p>
@ -151,67 +136,4 @@ Merging window:<br>
<a href="/resources/screenshots/git-etc_mergingwindow.png"><img src="/resources/preview/git-etc_mergingwindow_prev.jpg"></a><br> <a href="/resources/screenshots/git-etc_mergingwindow.png"><img src="/resources/preview/git-etc_mergingwindow_prev.jpg"></a><br>
Roll back window:<br> Roll back window:<br>
<a href="/resources/screenshots/git-etc_rollbackwindow.png"><img src="/resources/preview/git-etc_rollbackwindow_prev.jpg"></a></p> <a href="/resources/screenshots/git-etc_rollbackwindow.png"><img src="/resources/preview/git-etc_rollbackwindow_prev.jpg"></a></p>
<!-- end of gui block -->
<h2><a name="links" class="anchor" href="#links"><span class="octicon octicon-link"></span></a>Links</h2>
<ul>
<li><a href="https://github.com/arcan1s/git-etc">GitHub repo</a></li>
<li><a href="https://github.com/arcan1s/git-etc/releases">Latest release</a></li>
<li>Archlinux <a href="https://aur.archlinux.org/packages/git-etc">AUR package</a></li>
</ul>
<!-- 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/1" 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/1#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/1/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>

View File

@ -1,137 +1,113 @@
<!doctype html> ---
<html> layout: default
<head> title: My projects
<meta charset="utf-8"> comment: false
<meta http-equiv="X-UA-Compatible" content="chrome=1"> share: true
<title>My projects</title> back: 1
<meta name="author" content="Evgeniy Alekseev" /> groups:
<meta name="description" content="arcanis' homepage" /> - title: Linux daemons
<link rel="license" type="text/html" href="/LICENSE" /> short: daemons
projects:
<link rel="stylesheet" href="/stylesheets/styles.css"> - title: git-etc
<link rel="stylesheet" href="/stylesheets/pygment_trac.css"> short: git-etc
<link rel="shortcut icon" href="/resources/icon.ico"> description: <code>git-etc</code> is a simple daemon that automatically creates git repository in the given directory and creates commit at the specified time interval. It is written on <code>Bash</code>. It is also has a simple Graphical user interface written on <code>Python2</code> (<code>pyqt4</code>) for work with the created repository.
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> links:
<!--[if lt IE 9]> - <a href="/projects/git-etc">Homepage</a>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <a href="https://github.com/arcan1s/git-etc">GitHub repo</a>
<![endif]--> - Archlinux <a href="https://aur.archlinux.org/packages/git-etc">AUR package</a>
<!-- sharethis --> - title: queued
<script type="text/javascript">var switchTo5x=false;</script> short: queued
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script> description: <code>queued</code> is daemon for starting jobs to queue of calculations. It was written on <code>Bash</code> created as proof-of-concept.
<script type="text/javascript">stLight.options({publisher: "70dd9cde-7276-47af-8de7-9c43883daf2b", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script> links:
</head> - <a href="/projects/queued">Homepage</a>
- <a href="https://github.com/arcan1s/queued">GitHub repo</a>
- title: KDE widgets
short: widgets
projects:
- title: DeadLine widget
short: deadline
description: <code>DeadLine widget</code> is a Plasmoid script written on <code>Python2</code>. It is able to create jobs, and add reminders to them. Now this project has a pre-alpha stage. Someday maybe I will complete it.
links:
- <a href="https://github.com/arcan1s/deadlinewidget">GitHub repo</a>
- title: Oblikue strategies
short: oblikuestrategies
description: <code>oblikue-strategies</code> is a plasmoid written on <code>CPP</code> that displays a random draw from Brian Eno and Peter Schmidt's <a href="http://en.wikipedia.org/wiki/Oblique_strategies">Oblique Strategies</a>. It is <a href="http://gnome-look.org/content/show.php/Oblique+Strategies?content=78405">GNOME applet</a> fork with some of special features.
links:
- <a href="/projects/oblikuestrategies">Homepage</a>
- <a href="https://github.com/arcan1s/oblikuestrategies">GitHub repo</a>
- Page on <a href="http://kde-look.org/content/show.php/oblikue-strategies?content=160503">kde-look.org</a>
- Archlinux <a href="https://aur.archlinux.org/packages/kdeplasma-applets-oblikuestrategies">AUR package</a>
- title: Open on desktop
short: openondesktop
description: <code>Open on desktop</code> is a dropbox menu for <a href="http://dolphin.kde.org">Dolhpin</a>. It creates a group in the context menu, which opens a file to the specified desktop when clicked. It has an install script written on <code>Bash</code>.
links:
- <a href="https://github.com/arcan1s/openondesktop">GitHub repo</a>
- title: py-text-monitor
short: pytextmonitor
description: <code>py-text-monitor</code> is a minimalistic Plasmoid script written on <code>Python2</code>. It looks like widgets in <a href="http://awesome.naquadah.org/">Awesome WM</a>. My plasmoid is highly and easily configurable and does not clutter your KDE system. Also this packages has an additional <a href="http://techbase.kde.org/Development/Tutorials/Plasma/DataEngines">DataEngine</a> written on <code>CPP</code> (old version was written on <code>Python2</code>).
links:
- <a href="/projects/pytextmonitor">Homepage</a>
- <a href="https://github.com/arcan1s/pytextmonitor">GitHub repo</a>
- Plasmoid page on <a href="http://kde-look.org/content/show.php/Py+Text+Monitor?content=157124">kde-look.org</a>
- DataEngine page on <a href="http://kde-look.org/content/show.php/Extended+Systemmonitor+DataEngine?content=158773">kde-look.org</a>
- Archlinux <a href="https://aur.archlinux.org/packages/kdeplasma-applets-pytextmonitor">AUR package</a>
- title: Kit system monitor
short: sysmon
description: <code>Kit System Monitor</code> is a system information and hardware monitor based on EG Sysmon. It is written on HTML-like language for <a href="http://netdragon.sourceforge.ne/">SuperKaramba</a> and has simple install script written on <code>Python2</code>. It is my first Open Source Project.
links:
- <a href="https://github.com/arcan1s/sysmon">GitHub repo</a>
- Page on <a href="http://kde-look.org/content/show.php/Kit+System+Monitor?content=155246">kde-look.org</a>
- title: Scientific programs
short: science
projects:
- title: Molecular dynamic
short: moldyn
description: They are represented by a single repository. It contains some programs for analysis of molecular dynamic trajectories using statistical mechanics and some of maths methods (e.g. graph theory). Usualy backend programs are written on <code>C</code>, but sometimes on <code>Python2</code>. Some of these have a Graphical user interface written on <code>CPP</code>.
links:
- <a href="/projects/moldyn">Homepage</a>
- <a href="https://github.com/arcan1s/moldyn">GitHub repo</a>
- title: Utilities
short: utilities
projects:
- title: extract_pkglist
short: extpkg
description: <code>extract_pkglist</code> a simple script written on <code>Python2</code> for creating list of installed packages in ArchLinux.
links:
- <a href="https://github.com/arcan1s/extract_pkglist">GitHub repo</a>
- title: Food GUI
short: foodgui
description: <code>Food GUI</code> is a simple program-calculator that uses own database and written on <code>Python2</code>. It calculates proteins, fats, carbohydrates, food energy and glycemic index of eaten food. It is my first project with GUI and was made just-for-fun (and for my ex-girlfriend). It also has a binary version for Win64.
links:
- <a href="https://github.com/arcan1s/food_gui">GitHub repo</a>
- Archlinux <a href="https://aur.archlinux.org/packages/food_gui">AUR package</a>
- title: julius-actions
short: julius-actions
description: <code>julius-actions</code> is a script written on <code>Python2</code> for work with <a href="http://julius.sourceforge.jp/en_index.php">julius</a>. It was made just-for-fun too in my spare time. Works normally, but I don't use it.
links:
- <a href="https://github.com/arcan1s/julius-actions">GitHub repo</a>
---
<body> <body>
<div class="wrapper"> <div class="wrapper">
<header> <header>
<h1>Projects</h1> <h1>Projects</h1>
<p class="view">The list of some of my projects</p> <p class="view">The list of some of my projects</p>
<p class="view"><a href="#daemons">Linux daemons</a><br> <p class="view">
<a href="#widgets">KDE widgets</a><br> {% for group in page.groups %}
<a href="#moldyn">Scientific programs</a><br> <a href="#{{ group.short }}">{{ group.title }}</a><br>
<a href="#utilities">Utilities</a></p> {% endfor %}
</p>
</header> </header>
<section> <section>
<h2><a name="daemons" class="anchor" href="#daemons"><span class="octicon octicon-link"></span></a>Linux daemons</h2> {% for group in page.groups %}
<h1><a name="{{ group.short }}" class="anchor" href="#{{ group.short }}"><span class="octicon octicon-link"></span></a>{{ group.title }}</a></h1>
<h3><a name="gitetc" class="anchor" href="#gitetc"><span class="octicon octicon-link"></span></a>git-etc</h3> {% for project in group.projects %}
<p align="justify"><code>git-etc</code> is a simple daemon that automatically creates git repository in the given directory and creates commit at the specified time interval. It is written on <code>Bash</code>. It is also has a simple Graphical user interface written on <code>Python2</code> (<code>pyqt4</code>) for work with the created repository.</p> <h2><a name="{{ project.short }}" class="anchor" href="#{{ project.short }}"><span class="octicon octicon-link"></span></a>{{ project.title }}</h2>
<ul> <p align="justify">{{ project.description }}</p>
<li><a href="/projects/git-etc">Homepage</a></li> <p align="justify"><ul>
<li><a href="https://github.com/arcan1s/git-etc">GitHub repo</a></li> {% for link in project.links %}
<li>Archlinux <a href="https://aur.archlinux.org/packages/git-etc">AUR package</a></li> <li>{{ link }}</li>
</ul> {% endfor %}
</ul></p>
<h3><a name="queued" class="anchor" href="#queued"><span class="octicon octicon-link"></span></a>queued</h3> {% endfor %}
<p align="justify"><code>queued</code> is daemon for starting jobs to queue of calculations. It was written on <code>Bash</code> created as proof-of-concept.</p> {% endfor %}
<ul>
<li><a href="/projects/queued">Homepage</a></li>
<li><a href="https://github.com/arcan1s/queued">GitHub repo</a></li>
</ul>
<h2><a name="widgets" class="anchor" href="#widgets"><span class="octicon octicon-link"></span></a>KDE widgets</h2>
<h3><a name="deadlinewidget" class="anchor" href="#deadlinewidget"><span class="octicon octicon-link"></span></a>DeadLine widget</h3>
<p align="justify"><code>DeadLine widget</code> is a Plasmoid script written on <code>Python2</code>. It is able to create jobs, and add reminders to them. Now this project has a pre-alpha stage. Someday maybe I will complete it.</p>
<ul>
<li><a href="https://github.com/arcan1s/deadlinewidget">GitHub repo</a></li>
</ul>
<h3><a name="oblikuestrategies" class="anchor" href="#oblikuestrategies"><span class="octicon octicon-link"></span></a>oblikue-strategies</h3>
<p align="justify"><code>oblikue-strategies</code> is a plasmoid written on <code>CPP</code> that displays a random draw from Brian Eno and Peter Schmidt's <a href="http://en.wikipedia.org/wiki/Oblique_strategies">Oblique Strategies</a>. It is <a href="http://gnome-look.org/content/show.php/Oblique+Strategies?content=78405">GNOME applet</a> fork with some of special features.</p>
<ul>
<li><a href="/projects/oblikuestrategies">Homepage</a></li>
<li><a href="https://github.com/arcan1s/oblikuestrategies">GitHub repo</a></li>
<li>Page on <a href="http://kde-look.org/content/show.php/oblikue-strategies?content=160503">kde-look.org</a></li>
<li>Archlinux <a href="https://aur.archlinux.org/packages/kdeplasma-applets-oblikuestrategies">AUR package</a></li>
</ul>
<h3><a name="openondesktop" class="anchor" href="#openondesktop"><span class="octicon octicon-link"></span></a>Open on desktop</h3>
<p align="justify"><code>Open on desktop</code> is a dropbox menu for <a href="http://dolphin.kde.org">Dolhpin</a>. It creates a group in the context menu, which opens a file to the specified desktop when clicked. It has an install script written on <code>Bash</code>.</p>
<ul>
<li><a href="https://github.com/arcan1s/openondesktop">GitHub repo</a></li>
</ul>
<h3><a name="pytextmonitor" class="anchor" href="#pytextmonitor"><span class="octicon octicon-link"></span></a>py-text-monitor</h3>
<p align="justify"><code>py-text-monitor</code> is a minimalistic Plasmoid script written on <code>Python2</code>. It looks like widgets in <a href="http://awesome.naquadah.org/">Awesome WM</a>. My plasmoid is highly and easily configurable and does not clutter your KDE system. Also this packages has an additional <a href="http://techbase.kde.org/Development/Tutorials/Plasma/DataEngines">DataEngine</a> written on <code>CPP</code> (old version was written on <code>Python2</code>).</p>
<ul>
<li><a href="/projects/pytextmonitor">Homepage</a></li>
<li><a href="https://github.com/arcan1s/pytextmonitor">GitHub repo</a></li>
<li>Plasmoid page on <a href="http://kde-look.org/content/show.php/Py+Text+Monitor?content=157124">kde-look.org</a></li>
<li>DataEngine page on <a href="http://kde-look.org/content/show.php/Extended+Systemmonitor+DataEngine?content=158773">kde-look.org</a></li>
<li>Archlinux <a href="https://aur.archlinux.org/packages/kdeplasma-applets-pytextmonitor">AUR package</a></li>
</ul>
<h3><a name="sysmon" class="anchor" href="#sysmon"><span class="octicon octicon-link"></span></a>Kit System Monitor</h3>
<p align="justify"><code>Kit System Monitor</code> is a system information and hardware monitor based on EG Sysmon. It is written on HTML-like language for <a href="http://netdragon.sourceforge.ne/">SuperKaramba</a> and has simple install script written on <code>Python2</code>. It is my first Open Source Project.</p>
<ul>
<li><a href="https://github.com/arcan1s/sysmon">GitHub repo</a></li>
<li>Page on <a href="http://kde-look.org/content/show.php/Kit+System+Monitor?content=155246">kde-look.org</a></li>
</ul>
<h2><a name="moldyn" class="anchor" href="#moldyn"><span class="octicon octicon-link"></span></a>Molecular dynamic and other scientific programs</h2>
<p align="justify">They are represented by a single repository. It contains some programs for analysis of molecular dynamic trajectories using statistical mechanics and some of maths methods (e.g. graph theory). Usualy backend programs are written on <code>C</code>, but sometimes on <code>Python2</code>. Some of these have a Graphical user interface written on <code>CPP</code>.</p>
<ul>
<li><a href="/projects/moldyn">Homepage</a></li>
<li><a href="https://github.com/arcan1s/moldyn">GitHub repo</a></li>
</ul>
<h2><a name="utilities" class="anchor" href="#utilities"><span class="octicon octicon-link"></span></a>Utilities</h2>
<h3><a name="extract_pkglist" class="anchor" href="#extract_pkglist"><span class="octicon octicon-link"></span></a>Extract pkglist</h3>
<p align="justify"><code>extract_pkglist</code> a simple script written on <code>Python2</code> for creating list of installed packages in ArchLinux.</p>
<ul>
<li><a href="https://github.com/arcan1s/extract_pkglist">GitHub repo</a></li>
</ul>
<h3><a name="food_gui" class="anchor" href="#food_gui"><span class="octicon octicon-link"></span></a>Food GUI</h3>
<p align="justify"><code>Food GUI</code> is a simple program-calculator that uses own database and written on <code>Python2</code>. It calculates proteins, fats, carbohydrates, food energy and glycemic index of eaten food. It is my first project with GUI and was made just-for-fun (and for my ex-girlfriend). It also has a binary version for Win64.</p>
<ul>
<li><a href="https://github.com/arcan1s/food_gui">GitHub repo</a></li>
<li>Archlinux <a href="https://aur.archlinux.org/packages/food_gui">AUR package</a></li>
</ul>
<h3><a name="julius-actions" class="anchor" href="#julius-actions"><span class="octicon octicon-link"></span></a>julius-actions</h3>
<p align="justify"><code>julius-actions</code> is a script written on <code>Python2</code> for work with <a href="http://julius.sourceforge.jp/en_index.php">julius</a>. It was made just-for-fun too in my spare time. Works normally, but I don't use it.</p>
<ul>
<li><a href="https://github.com/arcan1s/julius-actions">GitHub repo</a></li>
</ul>
</section>
<footer>
<p class="view"><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>

View File

@ -1,73 +1,56 @@
<!doctype html> ---
<html> layout: project
<head> title: Oblikue strategies
<meta charset="utf-8"> short: oblikuestrategies
<meta http-equiv="X-UA-Compatible" content="chrome=1"> commentIssueId: 2
<title>Oblikue strategies</title> description: Plasmoid that displays a random draw Oblique Strategies
<meta name="author" content="Evgeniy Alekseev" /> hasgui: true
<meta name="description" content="arcanis' homepage" /> developers:
<link rel="license" type="text/html" href="/LICENSE" /> - Evgeniy Alelseev
license: GPL
<link rel="stylesheet" href="/stylesheets/styles.css"> links:
<link rel="stylesheet" href="/stylesheets/pygment_trac.css"> - Page on <a href="http://kde-look.org/content/show.php/oblikue-strategies?content=160503">kde-look.org</a>
<link rel="shortcut icon" href="/resources/icon.ico"> - Archlinux <a href="https://aur.archlinux.org/packages/kdeplasma-applets-oblikuestrategies">AUR package</a>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> ---
<!--[if lt IE 9]> <!-- info block -->
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <h2><a name="info" class="anchor" href="#info"><span class="octicon octicon-link"></span></a>Information</h2>
<![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>oblikue-strategies</h1>
<p class="view">Plasmoid that displays a random draw Oblique Strategies</p>
<p class="view"><a href="#information">General information</a><br>
<a href="#installation">Installation guide</a><br>
<a href="#screenshots">Screenshots</a><br>
<a href="#links">Links</a></p>
</header>
<section>
<h2><a name="information" class="anchor" href="#information"><span class="octicon octicon-link"></span></a>Information</h2>
<p align="justify">Plasmoid written on <code>CPP</code> that displays a random draw from Brian Eno and Peter Schmidt's <a href="http://en.wikipedia.org/wiki/Oblique_strategies">Oblique Strategies</a>. It is <a href="http://gnome-look.org/content/show.php/Oblique+Strategies?content=78405">GNOME applet</a> fork with some of special features.</p> <p align="justify">Plasmoid written on <code>CPP</code> that displays a random draw from Brian Eno and Peter Schmidt's <a href="http://en.wikipedia.org/wiki/Oblique_strategies">Oblique Strategies</a>. It is <a href="http://gnome-look.org/content/show.php/Oblique+Strategies?content=78405">GNOME applet</a> fork with some of special features.</p>
<h3><a name="devel" class="anchor" href="#devel"><span class="octicon octicon-link"></span></a>Developers and contributors</h3> <h3><a name="devel" class="anchor" href="#devel"><span class="octicon octicon-link"></span></a>Developers and contributors</h3>
<ul> <ul>
<li>Evgeniy Alekseev</li> {% for devel in page.developers %}
<li>{{ devel }}</li>
{% endfor %}
</ul> </ul>
<h3><a name="license" class="anchor" href="#license"><span class="octicon octicon-link"></span></a>License</h3> <h3><a name="license" class="anchor" href="#license"><span class="octicon octicon-link"></span></a>License</h3>
<ul> <ul>
<li>GPL</li> <li>{{ page.license }}</li>
</ul> </ul>
<!-- end of info block -->
<h2><a name="installation" class="anchor" href="#installation"><span class="octicon octicon-link"></span></a>Installation</h2> <!-- install block -->
<h2><a name="install" class="anchor" href="#install"><span class="octicon octicon-link"></span></a>Installation</h2>
<h3><a name="instruction" class="anchor" href="#instruction"><span class="octicon octicon-link"></span></a>Instruction</h3> <h3><a name="instruction" class="anchor" href="#instruction"><span class="octicon octicon-link"></span></a>Instruction</h3>
<ul> <ul>
<li><p align="justify">Download an <a href="https://github.com/arcan1s/oblikuestrategies/releases">archive</a> with latest version of source files.</p></li> <li><p align="justify">Download an <a href="https://github.com/arcan1s/oblikuestrategies/releases">archive</a> with latest version of source files.</p></li>
<li><p align="justify">Extract it and install the application. For global isntallation type:</p> <li><p align="justify">Extract it and install the application. For global isntallation type:</p>
<pre><code>cd /where/your/applet/is/installed <pre>cd /where/your/applet/is/installed
mkdir build && cd build mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=Release ../ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=Release ../
make make
sudo make install</code></pre> sudo make install</pre>
<p align="justify">For local isntallation type:</p> <p align="justify">For local isntallation type:</p>
<pre><code>cd /where/your/applet/is/installed <pre>cd /where/your/applet/is/installed
mkdir build && cd build mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` -DCMAKE_BUILD_TYPE=Release ../ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` -DCMAKE_BUILD_TYPE=Release ../
make make
make install</code></pre></li> make install</pre></li>
<li><p align="justify">Restart plasma to load the applet:</p> <li><p align="justify">Restart plasma to load the applet:</p>
<pre><code>kquitapp plasma-desktop && sleep 2 && plasma-desktop</code></pre> <pre>kquitapp plasma-desktop && sleep 2 && plasma-desktop</pre>
<p align="justify">Also you might need to run <code>kbuildsycoca4</code> in order to get the <code>*.desktop</code> file recognized:</p> <p align="justify">Also you might need to run <code>kbuildsycoca4</code> in order to get the <code>*.desktop</code> file recognized:</p>
<pre><code>kbuildsycoca4 &> /dev/null</code></pre></li> <pre>kbuildsycoca4 &> /dev/null</pre></li>
</ul> </ul>
<h3><a name="dependencies" class="anchor" href="#dependencies"><span class="octicon octicon-link"></span></a>Dependencies</h3> <h3><a name="dependencies" class="anchor" href="#dependencies"><span class="octicon octicon-link"></span></a>Dependencies</h3>
@ -77,74 +60,24 @@ make install</code></pre></li>
<li>automoc4 <i>(make)</i></li> <li>automoc4 <i>(make)</i></li>
<li>cmake <i>(make)</i></li> <li>cmake <i>(make)</i></li>
</ul> </ul>
<!-- end of install block -->
<h2><a name="screenshots" class="anchor" href="#screenshots"><span class="octicon octicon-link"></span></a>Screenshots</h2> <!-- howto block -->
<h2><a name="howto" class="anchor" href="#howto"><span class="octicon octicon-link"></span></a>How to use</h2>
<p align="justify">Open your Plasma widgetes and select <code>Oblikue strategies</code>.</p>
<!-- end of howto block -->
<!-- config block -->
<h2><a name="config" class="anchor" href="#config"><span class="octicon octicon-link"></span></a>Configuration</h2>
<p align="justify">Right click on widget.</p>
<!-- end of config block -->
<!-- gui block -->
<h2><a name="gui" class="anchor" href="#gui"><span class="octicon octicon-link"></span></a>Graphical user interface</h2>
<h3><a name="screenshots" class="anchor" href="#screenshots"><span class="octicon octicon-link"></span></a>Screenshots</h3>
<p align="justify">Widget:<br> <p align="justify">Widget:<br>
<a href="/resources/screenshots/oblikuestrategies_widget.png"><img src="/resources/preview/oblikuestrategies_widget_prev.jpg"></a><br> <a href="/resources/screenshots/oblikuestrategies_widget.png"><img src="/resources/preview/oblikuestrategies_widget_prev.jpg"></a><br>
Configuration window:<br> Configuration window:<br>
<a href="/resources/screenshots/oblikuestrategies_config.png"><img src="/resources/preview/oblikuestrategies_config_prev.jpg"></a></p> <a href="/resources/screenshots/oblikuestrategies_config.png"><img src="/resources/preview/oblikuestrategies_config_prev.jpg"></a></p>
<!-- end of gui block -->
<h2><a name="links" class="anchor" href="#links"><span class="octicon octicon-link"></span></a>Links</h2>
<ul>
<li><a href="https://github.com/arcan1s/oblikuestrategies">GitHub repo</a></li>
<li><a href="https://github.com/arcan1s/oblikuestrategies/releases">Latest release</a></li>
<li>Page on <a href="http://kde-look.org/content/show.php/oblikue-strategies?content=160503">kde-look.org</a></li>
<li>Archlinux <a href="https://aur.archlinux.org/packages/kdeplasma-applets-oblikuestrategies">AUR package</a></li>
</ul>
<!-- 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/2" 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/2#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/2/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>

View File

@ -1,74 +1,57 @@
<!doctype html> ---
<html> layout: project
<head> title: py-text-monitor
<meta charset="utf-8"> short: pytextmonitor
<meta http-equiv="X-UA-Compatible" content="chrome=1"> commentIssueId: 3
<title>py-text-monitor</title> description: Minimalistic Plasmoid script that looks like widgets in Awesome WM
<meta name="author" content="Evgeniy Alekseev" /> hasgui: true
<meta name="description" content="arcanis' homepage" /> developers:
<link rel="license" type="text/html" href="/LICENSE" /> - Evgeniy Alelseev
license: GPL
<link rel="stylesheet" href="/stylesheets/styles.css"> links:
<link rel="stylesheet" href="/stylesheets/pygment_trac.css"> - Plasmoid page on <a href="http://kde-look.org/content/show.php/Py+Text+Monitor?content=157124">kde-look.org</a>
<link rel="shortcut icon" href="/resources/icon.ico"> - DataEngine page on <a href="http://kde-look.org/content/show.php/Extended+Systemmonitor+DataEngine?content=158773">kde-look.org</a>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> - Archlinux <a href="https://aur.archlinux.org/packages/kdeplasma-applets-pytextmonitor">AUR package</a>
<!--[if lt IE 9]> ---
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <!-- info block -->
<![endif]--> <h2><a name="info" class="anchor" href="#information"><span class="octicon octicon-link"></span></a>Information</h2>
<!-- 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>py-text-monitor</h1>
<p class="view">Minimalistic Plasmoid script that looks like widgets in Awesome WM.</p>
<p class="view"><a href="#information">General information</a><br>
<a href="#installation">Installation guide</a><br>
<a href="#configuration">Configuration</a><br>
<a href="#screenshots">Screenshots</a><br>
<a href="#links">Links</a></p>
</header>
<section>
<h2><a name="information" class="anchor" href="#information"><span class="octicon octicon-link"></span></a>Information</h2>
<p align="justify">A minimalistic Plasmoid script written on <code>Python2</code>. It looks like widgets in <a href="http://awesome.naquadah.org/">Awesome WM</a>. My plasmoid is highly and easily configurable and does not clutter your KDE system. Also this packages has an additional <a href="http://techbase.kde.org/Development/Tutorials/Plasma/DataEngines">DataEngine</a> written on <code>CPP</code> (old version was written on <code>Python2</code>).</p> <p align="justify">A minimalistic Plasmoid script written on <code>Python2</code>. It looks like widgets in <a href="http://awesome.naquadah.org/">Awesome WM</a>. My plasmoid is highly and easily configurable and does not clutter your KDE system. Also this packages has an additional <a href="http://techbase.kde.org/Development/Tutorials/Plasma/DataEngines">DataEngine</a> written on <code>CPP</code> (old version was written on <code>Python2</code>).</p>
<h3><a name="devel" class="anchor" href="#devel"><span class="octicon octicon-link"></span></a>Developers and contributors</h3> <h3><a name="devel" class="anchor" href="#devel"><span class="octicon octicon-link"></span></a>Developers and contributors</h3>
<ul> <ul>
<li>Evgeniy Alekseev</li> {% for devel in page.developers %}
<li>{{ devel }}</li>
{% endfor %}
</ul> </ul>
<h3><a name="license" class="anchor" href="#license"><span class="octicon octicon-link"></span></a>License</h3> <h3><a name="license" class="anchor" href="#license"><span class="octicon octicon-link"></span></a>License</h3>
<ul> <ul>
<li>GPL</li> <li>{{ page.license }}</li>
</ul> </ul>
<!-- end of info block -->
<h2><a name="installation" class="anchor" href="#installation"><span class="octicon octicon-link"></span></a>Installation</h2> <!-- install block -->
<h2><a name="install" class="anchor" href="#install"><span class="octicon octicon-link"></span></a>Installation</h2>
<h3><a name="instruction" class="anchor" href="#instruction"><span class="octicon octicon-link"></span></a>Instruction</h3> <h3><a name="instruction" class="anchor" href="#instruction"><span class="octicon octicon-link"></span></a>Instruction</h3>
<ul> <ul>
<li><p align="justify">Download an <a href="https://github.com/arcan1s/pytextmonitor/releases">archive</a> with latest version of source files.</p></li> <li><p align="justify">Download an <a href="https://github.com/arcan1s/pytextmonitor/releases">archive</a> with latest version of source files.</p></li>
<li><p align="justify">Extract it and install the DataEngine:</p> <li><p align="justify">Extract it and install the DataEngine:</p>
<pre><code>cd /where/your/applet/is/installed <pre>cd /where/your/applet/is/installed
mkdir build && cd build mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` -DCMAKE_BUILD_TYPE=Release ../ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` -DCMAKE_BUILD_TYPE=Release ../
make make
make install</code></pre> make install</pre>
<p align="justify">For global isntallation type:</p> <p align="justify">For global isntallation type:</p>
<pre><code>cd /where/your/applet/is/installed <pre>cd /where/your/applet/is/installed
mkdir build && cd build mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` -DCMAKE_BUILD_TYPE=Release ../ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` -DCMAKE_BUILD_TYPE=Release ../
make make
make install</code></pre></li> make install</pre></li>
<li><p align="justify">Install the Plasmoid:</p> <li><p align="justify">Install the Plasmoid:</p>
<pre><code>plasmapkg -i py-text-monitor-1.5.0.plasmoid</code></pre> <pre>plasmapkg -i py-text-monitor-1.5.0.plasmoid</pre>
<p align="justify">For global isntallation type:</p> <p align="justify">For global isntallation type:</p>
<pre><code>plasmapkg -g -i py-text-monitor-1.5.0.plasmoid</code></li> <pre>plasmapkg -g -i py-text-monitor-1.5.0.plasmoid</pre></li>
</ul> </ul>
<h3><a name="dependencies" class="anchor" href="#dependencies"><span class="octicon octicon-link"></span></a>Dependencies</h3> <h3><a name="dependencies" class="anchor" href="#dependencies"><span class="octicon octicon-link"></span></a>Dependencies</h3>
@ -86,8 +69,15 @@ make install</code></pre></li>
<li>one of supported music player - <a href="http://amarok.kde.org/">amarok</a>, <a href="http://www.musicpd.org/">mtd</a> or <a href="http://qmmp.ylsoftware.com/">qmmp</a> <i>(optional, for music player monitor)</i> <li>one of supported music player - <a href="http://amarok.kde.org/">amarok</a>, <a href="http://www.musicpd.org/">mtd</a> or <a href="http://qmmp.ylsoftware.com/">qmmp</a> <i>(optional, for music player monitor)</i>
<li>proprietary video driver <i>(optional, for GPU monitor)</i></li></li> <li>proprietary video driver <i>(optional, for GPU monitor)</i></li></li>
</ul> </ul>
<!-- end of install block -->
<h2><a name="configuration" class="anchor" href="#configuration"><span class="octicon octicon-link"></span></a>Configuration</h2> <!-- howto block -->
<h2><a name="howto" class="anchor" href="#howto"><span class="octicon octicon-link"></span></a>How to use</h2>
<p align="justify">Open your Plasma widgetes and select <code>Py Text Monitor</code>.</p>
<!-- end of howto block -->
<!-- config block -->
<h2><a name="config" class="anchor" href="#config"><span class="octicon octicon-link"></span></a>Configuration</h2>
<h3><a name="deconf" class="anchor" href="#deconf"><span class="octicon octicon-link"></span></a>DataEngine configuration</h3> <h3><a name="deconf" class="anchor" href="#deconf"><span class="octicon octicon-link"></span></a>DataEngine configuration</h3>
<p align="justify">You may edit DataEngine configuration. It is <code>/usr/share/config/extsysmon.conf</code> or <code>$HOME/.kde4/share/config/extsysmon.conf</code> depending on the type of installation. Uncomment needed line and edit it.</p> <p align="justify">You may edit DataEngine configuration. It is <code>/usr/share/config/extsysmon.conf</code> or <code>$HOME/.kde4/share/config/extsysmon.conf</code> depending on the type of installation. Uncomment needed line and edit it.</p>
@ -232,75 +222,13 @@ make install</code></pre></li>
<td><p align="justify">Current song title. One of supported music players must be installed.</p></td> <td><p align="justify">Current song title. One of supported music players must be installed.</p></td>
</tr> </tr>
</table> </table>
<!-- end of config block -->
<!-- gui block -->
<h2><a name="gui" class="anchor" href="#gui"><span class="octicon octicon-link"></span></a>Graphical user interface</h2>
<h2><a name="screenshots" class="anchor" href="#screenshots"><span class="octicon octicon-link"></span></a>Screenshots</h2> <h2><a name="screenshots" class="anchor" href="#screenshots"><span class="octicon octicon-link"></span></a>Screenshots</h2>
<p align="justify">Widget (clickable):<br> <p align="justify">Widget (clickable):<br>
<a href="/resources/screenshots/pytextmonitor_widget.png"><img src="/resources/preview/pytextmonitor_widget_prev.jpg"></a><br> <a href="/resources/screenshots/pytextmonitor_widget.png"><img src="/resources/preview/pytextmonitor_widget_prev.jpg"></a><br>
Configuration window::<br> Configuration window::<br>
<a href="/resources/screenshots/pytextmonitor_config.png"><img src="/resources/preview/pytextmonitor_config_prev.jpg"></a></p> <a href="/resources/screenshots/pytextmonitor_config.png"><img src="/resources/preview/pytextmonitor_config_prev.jpg"></a></p>
<h2><a name="links" class="anchor" href="#links"><span class="octicon octicon-link"></span></a>Links</h2>
<ul>
<li><a href="https://github.com/arcan1s/pytextmonitor">GitHub repo</a></li>
<li><a href="https://github.com/arcan1s/pytextmonitor/releases">Latest release</a></li>
<li>Plasmoid page on <a href="http://kde-look.org/content/show.php/Py+Text+Monitor?content=157124">kde-look.org</a></li>
<li>DataEngine page on <a href="http://kde-look.org/content/show.php/Extended+Systemmonitor+DataEngine?content=158773">kde-look.org</a></li>
<li>Archlinux <a href="https://aur.archlinux.org/packages/kdeplasma-applets-pytextmonitor">AUR package</a></li>
</ul>
<!-- 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/3" 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/3#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/3/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>

View File

@ -1,44 +1,19 @@
<!doctype html> ---
<html> layout: project
<head> title: queued
<meta charset="utf-8"> short: queued
<meta http-equiv="X-UA-Compatible" content="chrome=1"> commentIssueId: 4
<title>queued</title> description: Daemon for starting jobs to queue of calculations
<meta name="author" content="Evgeniy Alekseev" /> hasgui: false
<meta name="description" content="arcanis' homepage" /> developers:
<link rel="license" type="text/html" href="/LICENSE" /> - Evgeniy Alelseev
license: GPLv3
<link rel="stylesheet" href="/stylesheets/styles.css"> links:
<link rel="stylesheet" href="/stylesheets/pygment_trac.css"> ---
<link rel="shortcut icon" href="/resources/icon.ico"> <!-- info block -->
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> <h2><a name="info" class="anchor" href="#info"><span class="octicon octicon-link"></span></a>Information</h2>
<!--[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>queued</h1>
<p class="view">Daemon for starting jobs to queue of calculations</p>
<p class="view"><a href="#information">General information</a><br>
<a href="#installation">Installation guide</a><br>
<a href="#howto">How to use</a><br>
<a href="#adding">Adding a job</a><br>
<a href="#configuration">Configuration</a><br>
<a href="#links">Links</a></p>
</header>
<section>
<h2><a name="information" class="anchor" href="#information"><span class="octicon octicon-link"></span></a>Information</h2>
<p align="justify">Daemon for starting jobs to queue of calculations. It was written as proof-of-concept.</p> <p align="justify">Daemon for starting jobs to queue of calculations. It was written as proof-of-concept.</p>
<pre><code>$ queued --help <pre>$ queued --help
Simple daemon written on BASH for starting jobs to queue of calculations Simple daemon written on BASH for starting jobs to queue of calculations
Usage: queued [ -c /etc/queued.conf ] [ -v | --version ] [ -h | --help ] Usage: queued [ -c /etc/queued.conf ] [ -v | --version ] [ -h | --help ]
@ -46,35 +21,39 @@ Parametrs:
-c PATH - path to configuration file. Default is '/etc/queued.conf' -c PATH - path to configuration file. Default is '/etc/queued.conf'
-v --version - show version and exit -v --version - show version and exit
-h --help - show this help and exit</code></pre> -h --help - show this help and exit</pre>
<pre><code>$ add_queued --help <pre>$ add_queued --help
add_queued [ -c /etc/queued.conf ] [ -p NUM ] [ -u USER ] [ -h | --help ] /path/to/script add_queued [ -c /etc/queued.conf ] [ -p NUM ] [ -u USER ] [ -h | --help ] /path/to/script
Parameters: Parameters:
-c PATH - path to configuration file. Default is '/etc/queued.conf' -c PATH - path to configuration file. Default is '/etc/queued.conf'
-p NUM - job priority -p NUM - job priority
-u USER - username -u USER - username
-h --help - show this help and exit</code></pre> -h --help - show this help and exit</pre>
<h3><a name="devel" class="anchor" href="#devel"><span class="octicon octicon-link"></span></a>Developers and contributors</h3> <h3><a name="devel" class="anchor" href="#devel"><span class="octicon octicon-link"></span></a>Developers and contributors</h3>
<ul> <ul>
<li>Evgeniy Alekseev</li> {% for devel in page.developers %}
<li>{{ devel }}</li>
{% endfor %}
</ul> </ul>
<h3><a name="license" class="anchor" href="#license"><span class="octicon octicon-link"></span></a>License</h3> <h3><a name="license" class="anchor" href="#license"><span class="octicon octicon-link"></span></a>License</h3>
<ul> <ul>
<li>GPLv3</li> <li>{{ page.license }}</li>
</ul> </ul>
<!-- end of info block -->
<h2><a name="installation" class="anchor" href="#installation"><span class="octicon octicon-link"></span></a>Installation</h2> <!-- install block -->
<h2><a name="install" class="anchor" href="#install"><span class="octicon octicon-link"></span></a>Installation</h2>
<h3><a name="instruction" class="anchor" href="#instruction"><span class="octicon octicon-link"></span></a>Instruction</h3> <h3><a name="instruction" class="anchor" href="#instruction"><span class="octicon octicon-link"></span></a>Instruction</h3>
<ul> <ul>
<li><p align="justify">Download an <a href="https://github.com/arcan1s/queued/releases">archive</a> with latest version of source files.</p></li> <li><p align="justify">Download an <a href="https://github.com/arcan1s/queued/releases">archive</a> with latest version of source files.</p></li>
<li><p align="justify">Extract it and install the application:</p> <li><p align="justify">Extract it and install the application:</p>
<pre><code>./install.sh "/path/to/root/package"</code></pre> <pre>./install.sh "/path/to/root/package"</pre>
<p align="justify">If you want install it to <code>/</code> you must run it as root, e.g.:</p> <p align="justify">If you want install it to <code>/</code> you must run it as root, e.g.:</p>
<pre><code>sudo ./install.sh "/path/to/root/package"</code></pre> <pre>sudo ./install.sh "/path/to/root/package"</pre>
<p align="justify">If no path is specified it will be installed to <code>/</code> by default.</p></li> <p align="justify">If no path is specified it will be installed to <code>/</code> by default.</p></li>
</ul> </ul>
@ -84,20 +63,22 @@ Parameters:
<li>Bash (including awk, grep, sed)</li> <li>Bash (including awk, grep, sed)</li>
<li>systemd <i>(optional, service file)</i></li> <li>systemd <i>(optional, service file)</i></li>
</ul> </ul>
<!-- end of install block -->
<!-- howto block -->
<h2><a name="howto" class="anchor" href="#howto"><span class="octicon octicon-link"></span></a>How to use</h2> <h2><a name="howto" class="anchor" href="#howto"><span class="octicon octicon-link"></span></a>How to use</h2>
<p align="justify">If you want to start the daemon just run</p> <p align="justify">If you want to start the daemon just run</p>
<pre><code>systemctl start queued</code></pre> <pre>systemctl start queued</pre>
<p align="justify">If you want to enable daemon autoload run</p> <p align="justify">If you want to enable daemon autoload run</p>
<pre><code>systemctl enable queued</code></pre> <pre>systemctl enable queued</pre>
<p align="justify">But you may change path to configuration file or change parameters. To do it just copy (recommended) the source configuration file to new path</p> <p align="justify">But you may change path to configuration file or change parameters. To do it just copy (recommended) the source configuration file to new path</p>
<pre><code>cp /etc/queued.conf /path/to/new/queued.conf</code></pre> <pre>cp /etc/queued.conf /path/to/new/queued.conf</pre>
<p align="justify">and edit it. Then copy the source service file to <code>/etc</code>:</p> <p align="justify">and edit it. Then copy the source service file to <code>/etc</code>:</p>
<pre><code>cp /usr/lib/systemd/system/queued.service /etc/systemd/system/queued-my-profile.service</code></pre> <pre>cp /usr/lib/systemd/system/queued.service /etc/systemd/system/queued-my-profile.service</pre>
<p align="justify">Replace following string in the file:</p> <p align="justify">Replace following string in the file:</p>
<pre><code>ExecStart=/usr/bin/queued</code></pre> <pre>ExecStart=/usr/bin/queued</pre>
<p align="justify">to</p> <p align="justify">to</p>
<pre><code>ExecStart=/usr/bin/queued -c /path/to/new/queued.conf</code></pre> <pre>ExecStart=/usr/bin/queued -c /path/to/new/queued.conf</pre>
<h3><a name="adding" class="anchor" href="#adding"><span class="octicon octicon-link"></span></a>Adding a job</h3> <h3><a name="adding" class="anchor" href="#adding"><span class="octicon octicon-link"></span></a>Adding a job</h3>
<ol> <ol>
@ -110,8 +91,10 @@ Parameters:
<h2><a name="configuration" class="anchor" href="#configuration"><span class="octicon octicon-link"></span></a>Configuration</h2> <h2><a name="configuration" class="anchor" href="#configuration"><span class="octicon octicon-link"></span></a>Configuration</h2>
<p align="justify">All settings are stored in <code>/etc/queued.conf</code>. After edit them you must restart daemon</p> <p align="justify">All settings are stored in <code>/etc/queued.conf</code>. After edit them you must restart daemon</p>
<pre><code>systemctl restart queued</code></pre> <pre>systemctl restart queued</pre>
<!-- end of howto block -->
<!-- config block -->
<h3><a name="options" class="anchor" href="#options"><span class="octicon octicon-link"></span></a>Options</h3> <h3><a name="options" class="anchor" href="#options"><span class="octicon octicon-link"></span></a>Options</h3>
<table> <table>
<tr> <tr>
@ -139,66 +122,7 @@ Parameters:
<td><p align="justify">Default user. Default is <code>root</code>. This user will own created files.</td> <td><p align="justify">Default user. Default is <code>root</code>. This user will own created files.</td>
</tr> </tr>
</table> </table>
<!-- end of config block -->
<h2><a name="links" class="anchor" href="#links"><span class="octicon octicon-link"></span></a>Links</h2> <!-- gui block -->
<ul> <!-- end of gui block -->
<li><a href="https://github.com/arcan1s/queued">GitHub repo</a></li>
<li><a href="https://github.com/arcan1s/queued/releases">Latest release</a></li>
</ul>
<!-- 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/4" 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/4#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/4/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>