mirror of
https://github.com/arcan1s/arcanis.me.git
synced 2025-07-15 14:15:46 +00:00
tested ru map
This commit is contained in:
41
ru/404.html
Normal file
41
ru/404.html
Normal file
@ -0,0 +1,41 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
||||
<title>Ошибка 404</title>
|
||||
<meta name="author" content="Evgeniy Alekseev" />
|
||||
<meta name="description" content="arcanis' homepage" />
|
||||
<link rel="license" type="text/html" href="/authors" />
|
||||
|
||||
<link rel="stylesheet" href="/resources/styles.css">
|
||||
<link rel="stylesheet" href="/resources/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>
|
||||
<div class="wrapper">
|
||||
<header>
|
||||
<h1>404</h1>
|
||||
<p class="view">Страница не найдена!</p>
|
||||
</header>
|
||||
<section>
|
||||
|
||||
<h3>Привет!</h3>
|
||||
|
||||
<img src="/resources/pinkiepie.png" alt="pinkiepie">
|
||||
|
||||
<p align="justify">Я Пинки Пай. Ты видишь меня, потому что ты хочешь страницу, которую я не смогла найти. Мне жаль, нет, честно. Я постараюсь работать лучше. А сейчас я могу предложить тебе вернуться на <a href="/ru">домашнюю страницу</a> или <a href="javascript:history.back()">назад</a></p>
|
||||
|
||||
</section>
|
||||
<footer>
|
||||
<p><small>Расположено на GitHub Pages. <a href="/ru/authors">Авторы</a></small></p>
|
||||
</footer>
|
||||
</div>
|
||||
<script src="/resources/js/scale.fix.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
41
ru/about.html
Normal file
41
ru/about.html
Normal file
@ -0,0 +1,41 @@
|
||||
---
|
||||
layout: default
|
||||
comment: false
|
||||
share: true
|
||||
back: 1
|
||||
title: About me
|
||||
---
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
<header>
|
||||
<h1>About me</h1>
|
||||
|
||||
<p class="view"><a href="https://github.com/arcan1s">GitHub Profile</a><br>
|
||||
<a href="https://www.archlinux.org/trustedusers/#arcanis">TU Profile on <code>archlinux.org</code></a><br>
|
||||
<a href="http://istina.msu.ru/profile/arcanis">Some of my publications</a><br>
|
||||
PGP signature: <a href="http://pgp.mit.edu:11371/pks/lookup?op=vindex&fingerprint=on&exact=on&search=0x779CD2942629B7FA04AB8F172E89012331361F01">0x31361F01</a></p>
|
||||
|
||||
<h2>Contacts</h2>
|
||||
<p class="view">Alias: arcanis/arcan1s<br>
|
||||
IRC: <a href="irc://irc.freenode.net/arcan1s">arcan1s</a> <br>
|
||||
ICQ: 407-398-235<br>
|
||||
Jabber: arcanis (at) jabber (dot) org<br>
|
||||
E-mail: <a href="mailto:darkarcanis@mail.ru">darkarcanis (at) mail (dot) ru</a></p>
|
||||
|
||||
</header>
|
||||
<section>
|
||||
|
||||
<p align="justify">My name is Evgeniy Alekseev and I'm from Siberia (seriously, I was born in <a href="https://maps.google.com/maps?f=q&source=s_q&hl=ru&geocode=&q=russia,+Krasnoyarskiy+kray,+Sosnovoborsk&aq=&sll=56.133333,93.366667&sspn=0.100635,0.326843&vpsrc=6&g=%D0%A0%D0%BE%D1%81%D1%81%D0%B8%D1%8F,+Krasnoyarskiy+kray,+Sosnovoborsk&ie=UTF8&hq=&hnear=%D0%A1%D0%BE%D1%81%D0%BD%D0%BE%D0%B2%D0%BE%D0%B1%D0%BE%D1%80%D1%81%D0%BA,+%D0%B3%D0%BE%D1%80%D0%BE%D0%B4+%D0%A1%D0%BE%D1%81%D0%BD%D0%BE%D0%B2%D0%BE%D0%B1%D0%BE%D1%80%D1%81%D0%BA,+%D0%9A%D1%80%D0%B0%D1%81%D0%BD%D0%BE%D1%8F%D1%80%D1%81%D0%BA%D0%B8%D0%B9+%D0%BA%D1%80%D0%B0%D0%B9,+%D0%A0%D0%BE%D1%81%D1%81%D0%B8%D1%8F&ll=56.316537,95.712891&spn=25.891057,83.671875&t=m&z=4&iwloc=A">Siberia</a>). In the global Internet I have usually nickname <code>arcan1s</code>, but in the Russian segment it is usually <code>arcanis</code>. I'm a graduate of <a href="http://www.chem.msu.ru/">the Department of Chemistry</a>, Moscow State University and now I'm a PhD student and working in my University. My speciality is a theoretical chemistry (like molecular physics and some of quantum chemistry).</p>
|
||||
|
||||
<p align="justify">At leisure I write small applications on C, C++ and Python (and some application scripts on Shell). In order not to seem like a bearded nerd sometimes I listen music and read <a href="http://en.wikipedia.org/wiki/Robert_Jordan">Robert Jordan's</a> or <a href="http://en.wikipedia.org/wiki/George_R.R._Martin">George R.R. Martin's</a> books (or other similar). (But my friends tell me that I still look like a bearded nerd.) Music that I usually listen may be found on <a href="smb://89.249.170.38/Music/">my home computer</a>. I just want to notice that I am <b>NOT A FREELANCER</b>. But you can suggest me some project (<b>not money</b>) and if I'll like it I'll do it.</p>
|
||||
|
||||
<p align="justify">Also I'm an <a href="https://www.archlinux.org/">Archlinux</a> user (maybe that's why I look like a bearded nerd). And in October 2013 I became an Archlinux Trusted User:</p>
|
||||
<blockquote cite="https://wiki.archlinux.org/index.php/AUR_Trusted_User_Guidelines/">
|
||||
The Trusted User (TU) is a member of the community charged with keeping the AUR in working order. He/she maintains popular packages (communicating with and sending patches upstream as needed), and votes in administrative matters. A TU is elected from active community members by current TUs in a democratic process. TUs are the only members who have a final say in the direction of the AUR.</blockquote>
|
||||
<p align="right">© <a href="https://wiki.archlinux.org/index.php/AUR_Trusted_User_Guidelines/">ArchWiki</a></p>
|
||||
|
||||
<p align="justify">All contact information can be found on the left. Feel free to contact me with any questions. Oh, wait! If you will write me to ICQ or jabber you must correctly answer antispam bot's question first. The question is:</p>
|
||||
<pre><code>int i = 1;
|
||||
i = ++i + ++i;
|
||||
return i;</code></pre>
|
||||
<p align="justify">And the correct answer is <code>5</code> (or <code>6</code>, as you wish).</p>
|
36
ru/authors.html
Normal file
36
ru/authors.html
Normal file
@ -0,0 +1,36 @@
|
||||
---
|
||||
layout: default
|
||||
comment: false
|
||||
share: false
|
||||
back: 2
|
||||
title: Authors
|
||||
---
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
<header>
|
||||
<h1>Authors</h1>
|
||||
</header>
|
||||
<section>
|
||||
|
||||
<p align="justify">The code and content of this site is licensed under <a href="http://people.freebsd.org/~phk">Beerware</a> license:</p>
|
||||
<blockquote><p align="justify">"THE BEER-WARE LICENSE" (Revision 42):<br>
|
||||
Evgeniy Alekseev wrote this file. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return</p></blockquote>
|
||||
|
||||
<p align="justify">The source theme was created by <a href="https://github.com/orderedlist/minimal">Steve Smith</a> and licensed under <a href="http://creativecommons.org/licenses/by/3.0">Creative Commons Attribution-ShareAlike 3.0 Unported</a> License.</p>
|
||||
|
||||
<p align="justify">The comment block was created by <a href="https://github.com/izuzak/izuzak.github.com">Ivan Žužak</a> and licensed under <a href="http://opensource.org/licenses/MIT">MIT</a> License.</p>
|
||||
|
||||
<p align="justify">This site uses:
|
||||
<ul>
|
||||
<li><a href="http://jekyllrb.com/">Jekyll</a> that licensed under <a href="http://opensource.org/licenses/MIT">MIT</a> License</li>
|
||||
</ul></p>
|
||||
|
||||
<p align="justify">Google Custom Search is licensed under own custom <a href="https://support.google.com/customsearch/answer/1714300">license</a>.</p>
|
||||
|
||||
<p align="justify">Sharethis have own custom <a href="http://www.sharethis.com/legal/publisher-terms-of-use">license</a> too.</p>
|
||||
|
||||
<p align="justify"><a href="https://www.redhat.com/promo/fonts/">Liberation font</a> is licensed under <a href="http://scripts.sil.org/OFL">The SIL Open Font</a> License.</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">© Evgeniy Alekseev, 2014</p>
|
46
ru/blog/index.html
Normal file
46
ru/blog/index.html
Normal file
@ -0,0 +1,46 @@
|
||||
---
|
||||
layout: default
|
||||
title: arcanis' blog
|
||||
comment: false
|
||||
share: false
|
||||
back: 1
|
||||
---
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
<header>
|
||||
<h1>arcanis' blog</h1>
|
||||
</header>
|
||||
<section>
|
||||
|
||||
{% for post in paginator.ruposts %}
|
||||
<h1><a name="{{ post.short }}" class="anchor" href="#{{ post.short }}"><span class="octicon octicon-link"></span></a><a href="{{ post.url }}">{{ post.title }}</a></h1>
|
||||
<p align="justify"><i>{{ post.date | date_to_string}}</i></p>
|
||||
<p align="justify">{{ post.description }}</p>
|
||||
<p align="justify"><b>Tags</b>: {{ post.tags }}</p>
|
||||
{% endfor %}
|
||||
|
||||
{% if paginator.total_pages > 1 %}
|
||||
{% if paginator.previous_page %}
|
||||
<a href="{{ paginator.previous_page_path }}">« Prev</a>
|
||||
{% else %}
|
||||
<span>« Prev</span>
|
||||
{% endif %}
|
||||
|
||||
{% for page in (1..paginator.total_pages) %}
|
||||
{% if page == paginator.page %}
|
||||
<em>{{ page }}</em>
|
||||
{% elsif page == 1 %}
|
||||
<a href="{{ '/blog' }}">{{ page }}</a>
|
||||
{% else %}
|
||||
<a href="{{ site.paginate_path | replace: ':num', page }}">{{ page }}</a>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% if paginator.next_page %}
|
||||
<a href="{{ paginator.next_page_path }}">Next »</a>
|
||||
{% else %}
|
||||
<span>Next »</span>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
<script type="text/javascript" src="http://datejs.googlecode.com/svn/trunk/build/date-en-US.js"></script>
|
49
ru/index.html
Normal file
49
ru/index.html
Normal file
@ -0,0 +1,49 @@
|
||||
---
|
||||
layout: default
|
||||
comment: false
|
||||
share: true
|
||||
back: 0
|
||||
title: arcanis' homepage
|
||||
---
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
<header>
|
||||
<h1>arcanis' homepage</h1>
|
||||
|
||||
<p class="view"><a href="/blog/">My blog</a><br>
|
||||
<a href="/projects/">My projects</a></p>
|
||||
<p class="view"><a href="/about">About me</a></p>
|
||||
|
||||
</header>
|
||||
<section>
|
||||
<!-- redirection to russian page -->
|
||||
<!-- <script>
|
||||
var languageinfo=navigator.language? navigator.language : navigator.userLanguage
|
||||
function redirectpage(dest) {
|
||||
if (window.location.replace) window.location.replace(dest)
|
||||
else window.location=dest
|
||||
}
|
||||
if (languageinfo.substr(0,2) == "ru") redirectpage("ru")
|
||||
</script>-->
|
||||
<!-- redirection to russian page -->
|
||||
|
||||
<h3><a name="welcome" class="anchor" href="#welcome"><span class="octicon octicon-link"></span></a>Welcome</h3>
|
||||
<p align="justify">Welcome to my homepage, <code>`echo $USERNAME`</code>. About me you may read on <a href="/about">the link</a>. I'm sorry I don't know html/php/etc (but I know GoogleFOO! At least, I think so), therefore this page may not look very pretty. But I tried (or may be not). In the blog I will write some papers about programming, living in Archlinux system and may be package maintaining. Also I will create pages for some of <a href="https://github.com/arcan1s">my projects</a>. Unfortunately, sometimes I'm too lazy to write in English, thus some of my papers will be in Russian.</p>
|
||||
|
||||
<h3><a name="contact" class="anchor" href="#contact"><span class="octicon octicon-link"></span></a>Contact me</h3>
|
||||
<p align="justify">If you have a question or something else you may <a href="/about">contact me</a>. If you want to suggest a pull request or to create a bug report for these pages (or may be for some other projects) feel free to visit <a href="https://github.com/arcan1s">my Github profile</a> and do it.</p>
|
||||
|
||||
<h3><a name="search" class="anchor" href="#search"><span class="octicon octicon-link"></span></a>Site search</h3>
|
||||
<script>
|
||||
(function() {
|
||||
var cx = '000833618047197874644:rilf4jpvgyo';
|
||||
var gcse = document.createElement('script');
|
||||
gcse.type = 'text/javascript';
|
||||
gcse.async = true;
|
||||
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
|
||||
'//www.google.com/cse/cse.js?cx=' + cx;
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(gcse, s);
|
||||
})();
|
||||
</script>
|
||||
<gcse:search></gcse:search>
|
139
ru/projects/git-etc.html
Normal file
139
ru/projects/git-etc.html
Normal file
@ -0,0 +1,139 @@
|
||||
---
|
||||
layout: project
|
||||
title: git-etc
|
||||
short: git-etc
|
||||
commentIssueId: 1
|
||||
description: Simple daemon for monitoring changes in files
|
||||
hasgui: true
|
||||
developers:
|
||||
- Evgeniy Alelseev
|
||||
license: GPLv3
|
||||
links:
|
||||
- Archlinux <a href="https://aur.archlinux.org/packages/git-etc">AUR package</a>
|
||||
---
|
||||
<!-- info block -->
|
||||
<h2><a name="info" class="anchor" href="#info"><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>
|
||||
<pre>$ git-etc --help
|
||||
Simple daemon written on BASH for monitoring changes in files
|
||||
|
||||
Usage: git-etc [ -c | --config /etc/git-etc.conf ] [ -h | --help ] [ -v | --version ]
|
||||
|
||||
Parametrs:
|
||||
-c --config - path to configuration file
|
||||
-h --help - show this help and exit
|
||||
-v --version - show version and exit
|
||||
|
||||
See "man 1 git-etc" for more details</pre>
|
||||
<pre>$ ctrlconf --help
|
||||
GUI for git-etc daemon
|
||||
|
||||
Usage: ctrlconf [ --default ] [ -h | --help ] [ -v | --version ]
|
||||
|
||||
Additional parametrs:
|
||||
--default - create default configuration file
|
||||
-h --help - show this help and exit
|
||||
-v --version - show version and exit
|
||||
|
||||
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>
|
||||
<ul>
|
||||
{% for devel in page.developers %}
|
||||
<li>{{ devel }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<h3><a name="license" class="anchor" href="#license"><span class="octicon octicon-link"></span></a>License</h3>
|
||||
<ul>
|
||||
<li>{{ page.license }}</li>
|
||||
</ul>
|
||||
<!-- end of info block -->
|
||||
|
||||
<!-- 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>
|
||||
<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">Extract it and install the application:</p>
|
||||
<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>
|
||||
<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>
|
||||
</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>Bash (including awk, grep, sed)</li>
|
||||
<li>git</li>
|
||||
<li>python2 <i>(make)</i></li>
|
||||
<li>systemd <i>(optional, service file)</i></li>
|
||||
<li>python2-pyqt4 <i>(optional, GUI)</i></li>
|
||||
<li>xterm <i>(optional, GUI)</i></li>
|
||||
</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>
|
||||
<p align="justify">If you want to start the daemon into <code>/etc</code> just run</p>
|
||||
<pre>systemctl start git-etc</pre>
|
||||
<p align="justify">If you want to enable daemon autoload run</p>
|
||||
<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>
|
||||
<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>
|
||||
<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>
|
||||
<pre>ExecStart=/usr/bin/git-etc -c /etc/git-etc.conf</pre>
|
||||
<p align="justify">to</p>
|
||||
<pre>ExecStart=/usr/bin/git-etc -c /new/path/to/file/git-etc.conf</pre>
|
||||
<!-- 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">All settings are stored in <code>/etc/git-etc.conf</code>. After edit them you must restart daemon</p>
|
||||
<pre>systemctl restart git-etc</pre>
|
||||
|
||||
<h3><a name="options" class="anchor" href="#options"><span class="octicon octicon-link"></span></a>Options</h3>
|
||||
<table>
|
||||
<tr>
|
||||
<th>DIRECTORY</th>
|
||||
<td><p align="justify">Full path to working directory with observed files. Default is <code>/etc</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>TIMESLEEP</th>
|
||||
<td><p align="justify">Time interval between updates. It must be integer and >= 1. Default is <code>12</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>IGNORELIST</th>
|
||||
<td><p align="justify">List of files that will not be observed. Separator is ";;". May be empty.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>FORALL</th>
|
||||
<td><p align="justify"><code>1</code> will enable access for normal user. Default is <code>1</code>.</td>
|
||||
</tr>
|
||||
</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>
|
||||
<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>
|
||||
|
||||
<h3><a name="gui_configuration" class="anchor" href="#gui_configuration"><span class="octicon octicon-link"></span></a>Configuration</h3>
|
||||
<p align="justify">Just run the application and open the settings window from menu!</p>
|
||||
|
||||
<h3><a name="screenshots" class="anchor" href="#screenshots"><span class="octicon octicon-link"></span></a>Screenshots</h3>
|
||||
<p align="justify">(Screenshots in Russian, but GUI has English translation.)</p>
|
||||
<p align="justify">Main window:<br>
|
||||
<a href="/resources/screenshots/git-etc_mainwindow.png"><img src="/resources/preview/git-etc_mainwindow_prev.jpg"></a><br>
|
||||
About window:<br>
|
||||
<a href="/resources/screenshots/git-etc_aboutwindow.png"><img src="/resources/preview/git-etc_aboutwindow_prev.jpg"></a><br>
|
||||
Commit changes window:<br>
|
||||
<a href="/resources/screenshots/git-etc_commitwindow.png"><img src="/resources/preview/git-etc_commitwindow_prev.jpg"></a><br>
|
||||
Merging window:<br>
|
||||
<a href="/resources/screenshots/git-etc_mergingwindow.png"><img src="/resources/preview/git-etc_mergingwindow_prev.jpg"></a><br>
|
||||
Roll back window:<br>
|
||||
<a href="/resources/screenshots/git-etc_rollbackwindow.png"><img src="/resources/preview/git-etc_rollbackwindow_prev.jpg"></a></p>
|
||||
<!-- end of gui block -->
|
113
ru/projects/index.html
Normal file
113
ru/projects/index.html
Normal file
@ -0,0 +1,113 @@
|
||||
---
|
||||
layout: default
|
||||
title: arcanis' projects
|
||||
comment: false
|
||||
share: true
|
||||
back: 1
|
||||
groups:
|
||||
- title: Linux daemons
|
||||
short: daemons
|
||||
projects:
|
||||
- title: git-etc
|
||||
short: git-etc
|
||||
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.
|
||||
links:
|
||||
- <a href="/projects/git-etc">Homepage</a>
|
||||
- <a href="https://github.com/arcan1s/git-etc">GitHub repo</a>
|
||||
- Archlinux <a href="https://aur.archlinux.org/packages/git-etc">AUR package</a>
|
||||
- title: queued
|
||||
short: queued
|
||||
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.
|
||||
links:
|
||||
- <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>
|
||||
<div class="wrapper">
|
||||
<header>
|
||||
<h1>arcanis' projects</h1>
|
||||
<p class="view">The list of some of my projects</p>
|
||||
<p class="view">
|
||||
{% for group in page.groups %}
|
||||
<a href="#{{ group.short }}">{{ group.title }}</a><br>
|
||||
{% endfor %}
|
||||
</p>
|
||||
</header>
|
||||
<section>
|
||||
|
||||
{% 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>
|
||||
{% for project in group.projects %}
|
||||
<h2><a name="{{ project.short }}" class="anchor" href="#{{ project.short }}"><span class="octicon octicon-link"></span></a>{{ project.title }}</h2>
|
||||
<p align="justify">{{ project.description }}</p>
|
||||
<p align="justify"><ul>
|
||||
{% for link in project.links %}
|
||||
<li>{{ link }}</li>
|
||||
{% endfor %}
|
||||
</ul></p>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
83
ru/projects/oblikuestrategies.html
Normal file
83
ru/projects/oblikuestrategies.html
Normal file
@ -0,0 +1,83 @@
|
||||
---
|
||||
layout: project
|
||||
title: Oblikue strategies
|
||||
short: oblikuestrategies
|
||||
commentIssueId: 2
|
||||
description: Plasmoid that displays a random draw Oblique Strategies
|
||||
hasgui: true
|
||||
developers:
|
||||
- Evgeniy Alelseev
|
||||
license: GPL
|
||||
links:
|
||||
- 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>
|
||||
---
|
||||
<!-- info block -->
|
||||
<h2><a name="info" class="anchor" href="#info"><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>
|
||||
|
||||
<h3><a name="devel" class="anchor" href="#devel"><span class="octicon octicon-link"></span></a>Developers and contributors</h3>
|
||||
<ul>
|
||||
{% for devel in page.developers %}
|
||||
<li>{{ devel }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<h3><a name="license" class="anchor" href="#license"><span class="octicon octicon-link"></span></a>License</h3>
|
||||
<ul>
|
||||
<li>{{ page.license }}</li>
|
||||
</ul>
|
||||
<!-- end of info block -->
|
||||
|
||||
<!-- 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>
|
||||
<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">Extract it and install the application. For global isntallation type:</p>
|
||||
<pre>cd /where/your/applet/is/installed
|
||||
mkdir build && cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=Release ../
|
||||
make
|
||||
sudo make install</pre>
|
||||
<p align="justify">For local isntallation type:</p>
|
||||
<pre>cd /where/your/applet/is/installed
|
||||
mkdir build && cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` -DCMAKE_BUILD_TYPE=Release ../
|
||||
make
|
||||
make install</pre></li>
|
||||
<li><p align="justify">Restart plasma to load the applet:</p>
|
||||
<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>
|
||||
<pre>kbuildsycoca4 &> /dev/null</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>kdebase-workspace</li>
|
||||
<li>automoc4 <i>(make)</i></li>
|
||||
<li>cmake <i>(make)</i></li>
|
||||
</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>
|
||||
<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>
|
||||
<a href="/resources/screenshots/oblikuestrategies_widget.png"><img src="/resources/preview/oblikuestrategies_widget_prev.jpg"></a><br>
|
||||
Configuration window:<br>
|
||||
<a href="/resources/screenshots/oblikuestrategies_config.png"><img src="/resources/preview/oblikuestrategies_config_prev.jpg"></a></p>
|
||||
<!-- end of gui block -->
|
234
ru/projects/pytextmonitor.html
Normal file
234
ru/projects/pytextmonitor.html
Normal file
@ -0,0 +1,234 @@
|
||||
---
|
||||
layout: project
|
||||
title: py-text-monitor
|
||||
short: pytextmonitor
|
||||
commentIssueId: 3
|
||||
description: Minimalistic Plasmoid script that looks like widgets in Awesome WM
|
||||
hasgui: true
|
||||
developers:
|
||||
- Evgeniy Alelseev
|
||||
license: GPL
|
||||
links:
|
||||
- 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>
|
||||
---
|
||||
<!-- info block -->
|
||||
<h2><a name="info" 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>
|
||||
|
||||
<h3><a name="devel" class="anchor" href="#devel"><span class="octicon octicon-link"></span></a>Developers and contributors</h3>
|
||||
<ul>
|
||||
{% for devel in page.developers %}
|
||||
<li>{{ devel }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<h3><a name="license" class="anchor" href="#license"><span class="octicon octicon-link"></span></a>License</h3>
|
||||
<ul>
|
||||
<li>{{ page.license }}</li>
|
||||
</ul>
|
||||
<!-- end of info block -->
|
||||
|
||||
<!-- 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>
|
||||
<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">Extract it and install the DataEngine:</p>
|
||||
<pre>cd /where/your/applet/is/installed
|
||||
mkdir build && cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` -DCMAKE_BUILD_TYPE=Release ../
|
||||
make
|
||||
make install</pre>
|
||||
<p align="justify">For global isntallation type:</p>
|
||||
<pre>cd /where/your/applet/is/installed
|
||||
mkdir build && cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` -DCMAKE_BUILD_TYPE=Release ../
|
||||
make
|
||||
make install</pre></li>
|
||||
<li><p align="justify">Install the Plasmoid:</p>
|
||||
<pre>plasmapkg -i py-text-monitor-1.5.0.plasmoid</pre>
|
||||
<p align="justify">For global isntallation type:</p>
|
||||
<pre>plasmapkg -g -i py-text-monitor-1.5.0.plasmoid</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>kdebase-workspace</li>
|
||||
<li>kdebindings-python2</li>
|
||||
<li>automoc4 <i>(make)</i></li>
|
||||
<li>cmake <i>(make)</i></li>
|
||||
<li>kdebase-runtime <i>(make)</i></li>
|
||||
<li>lm_sensors <i>(optional, for definition temperature device)</i></li>
|
||||
<li>net-tools <i>(optional, for definition network device)</i></li>
|
||||
<li>sysstat <i>(optional, for notification)</i></li>
|
||||
<li>hddtemp <i>(optional, for HDD temperature monitor)</i></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>proprietary video driver <i>(optional, for GPU monitor)</i></li></li>
|
||||
</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>
|
||||
<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>
|
||||
<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>
|
||||
|
||||
<h4><a name="deoptions" class="anchor" href="#deoptions"><span class="octicon octicon-link"></span></a>DataEngine options</h4>
|
||||
<table>
|
||||
<tr>
|
||||
<th>GPUDEV</th>
|
||||
<td><p align="justify">Set GPU device. May be <code>nvidia</code> (for nVidia), <code>ati</code> (for ATI Radeon), <code>ignore</code> or <code>auto</code>. Default is <code>auto</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>HDDDEV</th>
|
||||
<td><p align="justify">Set block device for <code>hddtemp</code> comma separated or use <code>all</code>. Default is <code>all</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>MPDADDRESS</th>
|
||||
<td><p align="justify">MPD host address. Default is <code>localhost</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>MPDPORT</th>
|
||||
<td><p align="justify">MPD host port. Default is <code>6600</code>.</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<h3><a name="widconf" class="anchor" href="#widconf"><span class="octicon octicon-link"></span></a>Widget configuration</h3>
|
||||
<p align="justify">For edited output you must open Settings window and setup output format in lines. Label order will changed if you change slider position. HTML tags in label work normally.<br>
|
||||
<b>NOTE</b> you do not may set to show <code>$cpu</code> in swap label for example. <b><code>$cpu</code> will work only in cpu label.</b></p>
|
||||
<p align="justify">Available flags are in the table below.</p>
|
||||
<table>
|
||||
<tr>
|
||||
<th rowspan="4">Time label</th>
|
||||
<td><code>$time</code></td>
|
||||
<td><p align="justify">Time in default format. For example, <code>fri Nov 6 04:48:01 2013</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>$isotime</code></td>
|
||||
<td><p align="justify">Time in ISO format.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>$shorttime</code></td>
|
||||
<td><p align="justify">Time in short locale format.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>$longtime</code></td>
|
||||
<td><p align="justify">Time in long locale format.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="1">Uptime label</th>
|
||||
<td><code>$uptime</code></td>
|
||||
<td><p align="justify">System uptime, <code>---d--h--m</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">CPU label</th>
|
||||
<td><code>$cpu</code></td>
|
||||
<td><p align="justify">Total load CPU, %, <code>-----</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>$ccpu</code></td>
|
||||
<td><p align="justify">Load CPU for each core, %, <code>-----</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">CPU clock label</th>
|
||||
<td><code>$cpucl</code></td>
|
||||
<td><p align="justify">Average CPU clock, MHz, <code>----</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>$ccpucl</code></td>
|
||||
<td><p align="justify">CPU clock for each core, MHz, <code>----</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="1">Temperature label</th>
|
||||
<td><code>$temp</code></td>
|
||||
<td><p align="justify">Average temperature in system, °C, <code>----</code>. Temperature device must be specified.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="1">GPU label</th>
|
||||
<td><code>$gpu</code></td>
|
||||
<td><p align="justify">GPU usage, %, <code>-----</code>. <code>aticonfig</code> or <code>nvidia-smi</code> must be installed.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="1">GPU temperature label</th>
|
||||
<td><code>$gputemp</code></td>
|
||||
<td><p align="justify">GPU temperature, °C, <code>----</code>. <code>aticonfig</code> or <code>nvidia-smi</code> must be installed.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">Memory label</th>
|
||||
<td><code>$mem</code></td>
|
||||
<td><p align="justify">Memory usage, %, <code>-----</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>$memmb</code></td>
|
||||
<td><p align="justify">Memory usage, MB, <code>-----</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">Swap label</th>
|
||||
<td><code>$swap</code></td>
|
||||
<td><p align="justify">Swap usage, %, <code>-----</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>$swapmb</code></td>
|
||||
<td><p align="justify">Swap usage, MB, <code>-----</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="1">HDD usage label</th>
|
||||
<td><code>@@/@@</code></td>
|
||||
<td><p align="justify">mount point (<code>/</code> in example) usage, %, <code>-----</code>. Separator for mount points list is <code>;</code>, for example <code>@@/;/home;/mnt/global@@</code></p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="1">HDD temperature label</th>
|
||||
<td><code>@@/dev/sda@@</code></td>
|
||||
<td><p align="justify">HDD (<code>/dev/sda</code> in example) temperature, °C, <code>----</code>. <code>hddtemp</code> must be installed.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="3">Network label</th>
|
||||
<td><code>$net</code></td>
|
||||
<td><p align="justify">Download and upload speed, KB/s, <code>----/----</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>@@eth0@@</code></td>
|
||||
<td><p align="justify">Do not use automatic device definition, show only specified device (<code>eth0</code> in example).</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>$netdev</code></td>
|
||||
<td><p align="justify">Current network device.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">Battery label</th>
|
||||
<td><code>$bat</code></td>
|
||||
<td><p align="justify">Battery charge, %, <code>---</code>. Battery device may be set below. File (<code>/sys/class/power_supply/BAT0/capacity</code> by default) must contain only battery charge in percent.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>$ac</code></td>
|
||||
<td><p align="justify">Status of AC device. Returns <code>(*)</code> if AC device is online or <code>( )</code> if offline. AC device may be set below. File (<code>/sys/class/power_supply/AC/online</code> by default) must contain <code>1</code> if AC is online.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">Music player label</th>
|
||||
<td><code>$artist</code></td>
|
||||
<td><p align="justify">Current song artist. One of supported music players must be installed.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>$title</code></td>
|
||||
<td><p align="justify">Current song title. One of supported music players must be installed.</p></td>
|
||||
</tr>
|
||||
</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>
|
||||
<p align="justify">Widget (clickable):<br>
|
||||
<a href="/resources/screenshots/pytextmonitor_widget.png"><img src="/resources/preview/pytextmonitor_widget_prev.jpg"></a><br>
|
||||
Configuration window::<br>
|
||||
<a href="/resources/screenshots/pytextmonitor_config.png"><img src="/resources/preview/pytextmonitor_config_prev.jpg"></a></p>
|
128
ru/projects/queued.html
Normal file
128
ru/projects/queued.html
Normal file
@ -0,0 +1,128 @@
|
||||
---
|
||||
layout: project
|
||||
title: queued
|
||||
short: queued
|
||||
commentIssueId: 4
|
||||
description: Daemon for starting jobs to queue of calculations
|
||||
hasgui: false
|
||||
developers:
|
||||
- Evgeniy Alelseev
|
||||
license: GPLv3
|
||||
links:
|
||||
---
|
||||
<!-- info block -->
|
||||
<h2><a name="info" class="anchor" href="#info"><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>
|
||||
<pre>$ queued --help
|
||||
Simple daemon written on BASH for starting jobs to queue of calculations
|
||||
|
||||
Usage: queued [ -c /etc/queued.conf ] [ -v | --version ] [ -h | --help ]
|
||||
Parametrs:
|
||||
-c PATH - path to configuration file. Default is '/etc/queued.conf'
|
||||
|
||||
-v --version - show version and exit
|
||||
-h --help - show this help and exit</pre>
|
||||
<pre>$ add_queued --help
|
||||
add_queued [ -c /etc/queued.conf ] [ -p NUM ] [ -u USER ] [ -h | --help ] /path/to/script
|
||||
|
||||
Parameters:
|
||||
-c PATH - path to configuration file. Default is '/etc/queued.conf'
|
||||
-p NUM - job priority
|
||||
-u USER - username
|
||||
-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>
|
||||
<ul>
|
||||
{% for devel in page.developers %}
|
||||
<li>{{ devel }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<h3><a name="license" class="anchor" href="#license"><span class="octicon octicon-link"></span></a>License</h3>
|
||||
<ul>
|
||||
<li>{{ page.license }}</li>
|
||||
</ul>
|
||||
<!-- end of info block -->
|
||||
|
||||
<!-- 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>
|
||||
<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">Extract it and install the application:</p>
|
||||
<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>
|
||||
<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>
|
||||
</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>Bash (including awk, grep, sed)</li>
|
||||
<li>systemd <i>(optional, service file)</i></li>
|
||||
</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>
|
||||
<p align="justify">If you want to start the daemon just run</p>
|
||||
<pre>systemctl start queued</pre>
|
||||
<p align="justify">If you want to enable daemon autoload run</p>
|
||||
<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>
|
||||
<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>
|
||||
<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>
|
||||
<pre>ExecStart=/usr/bin/queued</pre>
|
||||
<p align="justify">to</p>
|
||||
<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>
|
||||
<ol>
|
||||
<li>Create shell script with the command (e.g. it have a name <code>script.sh</code>)</li>
|
||||
<li>Create priority file (<code>script.sh.pr</code>) with the job priority if it is needed</li>
|
||||
<li>Create user file (<code>script.sh.user</code>) with the job username if it is needed</li>
|
||||
<li>Copy files to <code>$WORKDIR</code></li>
|
||||
</ol>
|
||||
<p align="justify">Also you may use <code>add_queued</code>.</p>
|
||||
|
||||
<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>
|
||||
<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>
|
||||
<table>
|
||||
<tr>
|
||||
<th>WORKDIR</th>
|
||||
<td><p align="justify">Full path to directory with source jobs. Default is <code>/var/lib/queued/work</code>. This directory must contain source scripts <code>script-name</code>, a priority file (it is not necessary) <code>script-name.pr</code> and a file with username (it is not necessary too) <code>script-name.user</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>JOBDIR</th>
|
||||
<td><p align="justify">Full path to directory with running jobs. Default is <code>/var/lib/queued/job</code>. All job files will be moved here.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>QUEUEFILE</th>
|
||||
<td><p align="justify">Full path to file with queue list. Default is <code>/var/lib/queued/queue</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>PRIORITY</th>
|
||||
<td><p align="justify">Default priority. Default is <code>0</code>. The higher the value, the higher the priority of the task.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>SLEEPTIME</th>
|
||||
<td><p align="justify">Time interval in minutes. Default is <code>5</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>STARTASUSER</th>
|
||||
<td><p align="justify">Default user. Default is <code>root</code>. This user will own created files.</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- end of config block -->
|
||||
|
||||
<!-- gui block -->
|
||||
<!-- end of gui block -->
|
Reference in New Issue
Block a user