From 62b955218280a72b3a74b090c5a606612809613f Mon Sep 17 00:00:00 2001 From: arcan1s Date: Wed, 15 Jan 2014 03:34:04 +0400 Subject: [PATCH] Move website to Jekyll now --- 404.html | 35 +-- _config.yml | 65 ++++- _includes/footer_back.html | 1 + _includes/footer_comment.html | 38 +++ _includes/footer_fullback.html | 2 + _includes/footer_sharethis.html | 5 + _includes/header_comment.html | 1 + _includes/header_sharethis.html | 3 + _layouts/default.html | 49 ++++ _layouts/paper.html | 87 +------ _layouts/project.html | 144 ++--------- ...c.markdown => 2014-01-14-about-zshrc.html} | 111 ++++----- about.html | 45 +--- authors.html | 37 +-- index.html | 44 +--- projects/git-etc.html | 164 ++++-------- projects/index.html | 234 ++++++++---------- projects/oblikuestrategies.html | 157 ++++-------- projects/pytextmonitor.html | 156 ++++-------- projects/queued.html | 158 +++--------- 20 files changed, 549 insertions(+), 987 deletions(-) create mode 100644 _includes/footer_back.html create mode 100644 _includes/footer_comment.html create mode 100644 _includes/footer_fullback.html create mode 100644 _includes/footer_sharethis.html create mode 100644 _includes/header_comment.html create mode 100644 _includes/header_sharethis.html create mode 100644 _layouts/default.html rename _posts/{2014-01-14-about-zshrc.markdown => 2014-01-14-about-zshrc.html} (86%) diff --git a/404.html b/404.html index 4aff183..5f0acb2 100644 --- a/404.html +++ b/404.html @@ -1,21 +1,10 @@ - - - - - - Error 404 - - - - - - - - - - +--- +layout: default +comment: false +share: false +back: 0 +title: Error 404 +---
@@ -31,13 +20,3 @@ pinkiepie

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 Homepage or back

- - -
-

Hosted on GitHub Pages. Authors

-
-
- - - - diff --git a/_config.yml b/_config.yml index a29c3d0..cc64a0e 100644 --- a/_config.yml +++ b/_config.yml @@ -1,2 +1,63 @@ -markdown: rdiscount -pygments: true +source: . +destination: ./_site +plugins: ./_plugins +layouts: ./_layouts +include: ['.htaccess'] +exclude: [] +keep_files: ['.git','.svn'] +gems: [] + +future: true +limit_posts: 0 +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 diff --git a/_includes/footer_back.html b/_includes/footer_back.html new file mode 100644 index 0000000..0dd2ca4 --- /dev/null +++ b/_includes/footer_back.html @@ -0,0 +1 @@ +

Back to Homepage

diff --git a/_includes/footer_comment.html b/_includes/footer_comment.html new file mode 100644 index 0000000..4413e09 --- /dev/null +++ b/_includes/footer_comment.html @@ -0,0 +1,38 @@ + + + +
+

Comments

+ +
+ diff --git a/_includes/footer_fullback.html b/_includes/footer_fullback.html new file mode 100644 index 0000000..e381c96 --- /dev/null +++ b/_includes/footer_fullback.html @@ -0,0 +1,2 @@ +

Back
+Back to Homepage

diff --git a/_includes/footer_sharethis.html b/_includes/footer_sharethis.html new file mode 100644 index 0000000..ad2b561 --- /dev/null +++ b/_includes/footer_sharethis.html @@ -0,0 +1,5 @@ + + + + +
diff --git a/_includes/header_comment.html b/_includes/header_comment.html new file mode 100644 index 0000000..5c31542 --- /dev/null +++ b/_includes/header_comment.html @@ -0,0 +1 @@ + diff --git a/_includes/header_sharethis.html b/_includes/header_sharethis.html new file mode 100644 index 0000000..e9439fc --- /dev/null +++ b/_includes/header_sharethis.html @@ -0,0 +1,3 @@ + + + diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..66ea0fb --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,49 @@ + + + + + + {{ page.title }} + + + + + + + + + + {% if page.comment == true %} + {% include header_comment.html %} + {% endif %} + {% if page.share == true %} + {% include header_sharethis.html %} + {% endif %} + + +{{ content }} + +{% if page.comment == true %} + {% include footer_comment.html %} +{% endif %} + + + + + + + + diff --git a/_layouts/paper.html b/_layouts/paper.html index 6b2a739..aeba69b 100644 --- a/_layouts/paper.html +++ b/_layouts/paper.html @@ -1,27 +1,9 @@ - - - - - - {{ page.title }} - - - - - - - - - - - - - - - - +--- +comment: true +share: true +back: 2 +layout: default +---
@@ -38,60 +20,3 @@

{{ page.description }}

{{ content }} - - - - -
-

Comments

- -
- - - - - -
- - - - diff --git a/_layouts/project.html b/_layouts/project.html index 58de5c0..a9c70d9 100644 --- a/_layouts/project.html +++ b/_layouts/project.html @@ -1,133 +1,33 @@ - - - - - - $PROJECT_NAME - - - - - - - - - - - - - - - - +--- +comment: true +share: true +back: 2 +layout: default +---
-

$PROJECT_NAME

-

$SHORT_DESC

-

General information
- Installation guide
- Configuration
- Screenshots
+

{{ page.title }}

+

{{ page.description }}

+

General information
+ Installation guide
+ How to use
+ Configuration
+ {% if page.hasgui == true %} + GUI
+ Screenshots
+ {% endif %} Links

-

Information

- -

Developers and contributors

-
    -
  • Evgeniy Alekseev
  • -
- -

License

-
    -
  • GPL
  • -
- -

Installation

- -

Instruction

-
    -
  • Download an archive with latest version of source files.

  • -
  • Extract it and install:

    -
    example command
  • -
- -

Dependencies

-

I want note that all were tested on latest version of dependencies.

-
    -
  • $DEPS
  • -
  • $MAKEDEPS (make)
  • -
  • #OPTDEPS (optional, for ...)
  • -
- -

Configuration

- -

Screenshots

-

+{{ content }}

Links

- - - - -
-

Comments

- -
- - - -
- -
- - - - diff --git a/_posts/2014-01-14-about-zshrc.markdown b/_posts/2014-01-14-about-zshrc.html similarity index 86% rename from _posts/2014-01-14-about-zshrc.markdown rename to _posts/2014-01-14-about-zshrc.html index 9069a78..a96f212 100644 --- a/_posts/2014-01-14-about-zshrc.markdown +++ b/_posts/2014-01-14-about-zshrc.html @@ -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 .zshrc and explain what it does and why it is needed. Also any comments or additions are welcome. It is a translated paper from Russian (original). commentIssueId: 5 --- -

Prepare

First install recommended minima:

pacman -Sy pkgfile zsh zsh-completions zsh-syntax-highlighting
@@ -41,8 +40,8 @@ bindkey '\e[6~' down-line-or-history # page-down
# autocomplete
 autoload -U compinit
 compinit
-zstyle ':completion:\*' insert-tab false
-zstyle ':completion:\*' max-errors 2
+zstyle ':completion:*' insert-tab false +zstyle ':completion:*' max-errors 2

Full command autocomplete will be enabled. insert-tab false will enable autocomplete for non-entered commands. max-errors sets maximum number of errors that could be corrected.

Prompt:

@@ -89,19 +88,19 @@ source /usr/share/doc/pkgfile/command-not-found.zsh
# highlighting source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern) -\# brackets +# brackets ZSH_HIGHLIGHT_STYLES[bracket-level-1]='fg=blue,bold' ZSH_HIGHLIGHT_STYLES[bracket-level-2]='fg=red,bold' ZSH_HIGHLIGHT_STYLES[bracket-level-3]='fg=yellow,bold' ZSH_HIGHLIGHT_STYLES[bracket-level-4]='fg=magenta,bold' -\# cursor -\#ZSH_HIGHLIGHT_STYLES[cursor]='bg=blue' -\# main -\# default +# cursor +#ZSH_HIGHLIGHT_STYLES[cursor]='bg=blue' +# main +# default ZSH_HIGHLIGHT_STYLES[default]='none' -\# unknown +# unknown ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=red' -\# command +# command ZSH_HIGHLIGHT_STYLES[reserved-word]='fg=magenta,bold' ZSH_HIGHLIGHT_STYLES[alias]='fg=yellow,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[single-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_prefix]='fg=cyan' ZSH_HIGHLIGHT_STYLES[path_approx]='fg=cyan' -\# shell +# shell ZSH_HIGHLIGHT_STYLES[globbing]='fg=cyan' ZSH_HIGHLIGHT_STYLES[history-expansion]='fg=blue' ZSH_HIGHLIGHT_STYLES[assign]='fg=magenta' ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=cyan' ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=cyan' ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='fg=blue' -\# quotes +# quotes ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=yellow,underline' ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=yellow' -\# pattern example -\#ZSH_HIGHLIGHT_PATTERNS+=('rm -rf \*' 'fg=white,bold,bg=red') -\# root example -\#ZSH_HIGHLIGHT_STYLES[root]='bg=red'
-

In first line highlighting is turned on. Next main, brackets and pattern highlighting are turned on. Patterns are set below (rm -rf \* in the example). Also root and cursor highlighting may be turned on. Colors syntax is understandable, fg is font color, bg is background color.

+# pattern example +#ZSH_HIGHLIGHT_PATTERNS+=('rm -rf *' 'fg=white,bold,bg=red') +# root example +#ZSH_HIGHLIGHT_STYLES[root]='bg=red' +

In first line highlighting is turned on. Next main, brackets and pattern highlighting are turned on. Patterns are set below (rm -rf * in the example). Also root and cursor highlighting may be turned on. Colors syntax is understandable, fg is font color, bg is background color.

$PROMPT and $RPROMPT

The general idea is the use single .zshrc for root and normal user:

# PROMPT && RPROMPT if [[ $EUID == 0 ]]; then -\# [root@host dir]\# +# [root@host dir]# PROMPT="%{$fg_bold[white]%}[%{$reset_color%}\ %{$fg_bold[red]%}%n%{$reset_color%}\ %{$fg_bold[white]%}@%{$reset_color%}\ @@ -144,7 +143,7 @@ if [[ $EUID == 0 ]]; then %{$fg_bold[yellow]%}%1/%{$reset_color%}\ %{$fg_bold[white]%}]# %{$reset_color%}" else -\# [user@host dir]$ +# [user@host dir]$ PROMPT="%{$fg_bold[white]%}[%{$reset_color%}\ %{$fg_bold[green]%}%n%{$reset_color%}\ %{$fg_bold[white]%}@%{$reset_color%}\ @@ -213,21 +212,21 @@ $returncode\

Here is the first group of aliases:

## alias -\# colored grep +# colored grep alias grep='grep --colour=auto' -\# change top to htop +# change top to 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 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' -\# human-readable df and du +# human-readable df and du alias df='show_which df && df -k --print-type --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 zless='vimpager' -\# more interactive rm +# more interactive rm alias rm='show_which rm && rm -I'

Here are ls aliases (see man ls):

@@ -282,7 +281,7 @@ alias -g dn="&> /dev/null &"

Here is a special function for xrandr:

# function to contorl xrandr -\# EXAMPLE: projctl 1024x768 +# EXAMPLE: projctl 1024x768 projctl () { if [ $1 ] ; then if [ $1 = "-h" ]; then @@ -304,34 +303,34 @@ projctl () {

Unfortunately I can not remember tar flags thus I use special functions:

# function to extract archives -\# EXAMPLE: unpack file +# EXAMPLE: unpack file unpack () { if [[ -f $1 ]]; then case $1 in - \*.tar.bz2) tar xjfv $1 ;; - \*.tar.gz) tar xzfv $1 ;; - \*.tar.xz) tar xvJf $1 ;; - \*.bz2) bunzip2 $1 ;; - \*.gz) gunzip $1 ;; - \*.rar) unrar x $1 ;; - \*.tar) tar xf $1 ;; - \*.tbz) tar xjvf $1 ;; - \*.tbz2) tar xjf $1 ;; - \*.tgz) tar xzf $1 ;; - \*.zip) unzip $1 ;; - \*.Z) uncompress $1 ;; - \*.7z) 7z x $1 ;; - \*) echo "I don't know how to extract '$1'" ;; + *.tar.bz2) tar xjfv $1 ;; + *.tar.gz) tar xzfv $1 ;; + *.tar.xz) tar xvJf $1 ;; + *.bz2) bunzip2 $1 ;; + *.gz) gunzip $1 ;; + *.rar) unrar x $1 ;; + *.tar) tar xf $1 ;; + *.tbz) tar xjvf $1 ;; + *.tbz2) tar xjf $1 ;; + *.tgz) tar xzf $1 ;; + *.zip) unzip $1 ;; + *.Z) uncompress $1 ;; + *.7z) 7z x $1 ;; + *) echo "I don't know how to extract '$1'" ;; esac else case $1 in - \*help) echo "Usage: unpack ARCHIVE_NAME" ;; - \*) echo "'$1' is not a valid file" ;; + *help) echo "Usage: unpack ARCHIVE_NAME" ;; + *) echo "'$1' is not a valid file" ;; esac fi } -\# function to create archives -\# EXAMPLE: pack tar file +# function to create archives +# EXAMPLE: pack tar file pack () { if [ $1 ]; then case $1 in @@ -345,8 +344,8 @@ pack () { tgz) tar czvf $2.tar.gz $2 ;; zip) zip -r $2.zip $2 ;; 7z) 7z a $2.7z $2 ;; - \*help) echo "Usage: pack TYPE FILES" ;; - \*) echo "'$1' cannot be packed via pack()" ;; + *help) echo "Usage: pack TYPE FILES" ;; + *) echo "'$1' cannot be packed via pack()" ;; esac else echo "'$1' is not a valid file" @@ -363,22 +362,22 @@ pack () { done if [[ $checksu == 0 ]]; then echo "Use 'su -', Luke" - /usr/bin/su - $\* + /usr/bin/su - $* else - /usr/bin/su $\* + /usr/bin/su $* fi }

Functions with automatic rehash after installing/removing packages are:

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 () { - /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 () { - /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 }

But autocomplete for yaourt -Ss will require root privileges.

@@ -388,9 +387,9 @@ yatest () {

Here are path, mask of new files, editor and pager:

# path
 export PATH="$PATH:$HOME/.local/bin"
-\# umask
+# umask
 umask 022
-\# editor
+# editor
 export EDITOR="vim"
 export PAGER="vimpager"
diff --git a/about.html b/about.html index 72850c4..70b1155 100644 --- a/about.html +++ b/about.html @@ -1,25 +1,10 @@ - - - - - - About me - - - - - - - - - - - - - - +--- +layout: default +comment: false +share: true +back: 1 +title: About me +---
@@ -54,19 +39,3 @@ The Trusted User (TU) is a member of the community charged with keeping the AUR i = ++i + ++i; return i;

And the correct answer is 5 (or 6, as you wish).

- - - -
- - - - diff --git a/authors.html b/authors.html index 3daabfc..a14d17f 100644 --- a/authors.html +++ b/authors.html @@ -1,21 +1,10 @@ - - - - - - Authors - - - - - - - - - - +--- +layout: default +comment: false +share: false +back: 2 +title: Authors +---
@@ -42,15 +31,3 @@ Evgeniy Alekseev wrote this file. As long as you retain this notice you can do w

Special thanks to Monztruo, I borrowed his icon.

© Evgeniy Alekseev, 2014

- - - -
- - - - diff --git a/index.html b/index.html index 59cde9d..f7020d2 100644 --- a/index.html +++ b/index.html @@ -1,25 +1,10 @@ - - - - - - arcanis' homepage - - - - - - - - - - - - - - +--- +layout: default +comment: false +share: true +back: 0 +title: arcanis' homepage +---
@@ -52,18 +37,3 @@ })(); - - -
-

- - - -
- Hosted on GitHub Pages. Authors

-
-
- - - - diff --git a/projects/git-etc.html b/projects/git-etc.html index d0b6ee0..382cc15 100644 --- a/projects/git-etc.html +++ b/projects/git-etc.html @@ -1,45 +1,20 @@ - - - - - - git-etc - - - - - - - - - - - - - - - - - -
-
-

git-etc

-

Simple daemon for monitoring changes in files

-

General information
- Installation guide
- How to use
- Configuration
- GUI
- Screenshots
- Links

-
-
- -

Information

+--- +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 AUR package +--- + +

Information

Simple daemon that automatically creates git repository in the given directory and creates commit at the specified time interval.

-
$ git-etc --help
+
$ 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 ]
@@ -49,8 +24,8 @@ Parametrs:
   -h  --help        - show this help and exit
   -v  --version     - show version and exit
 
-See "man 1 git-etc" for more details
-
$ ctrlconf --help
+See "man 1 git-etc" for more details
+
$ ctrlconf --help
 GUI for git-etc daemon
 
 Usage: ctrlconf [ --default ] [ -h | --help ] [ -v | --version ]
@@ -60,27 +35,31 @@ Additional parametrs:
   -h  --help        - show this help and exit
   -v  --version     - show version and exit
 
-See "man 1 ctrlconf" for more details
+See "man 1 ctrlconf" for more details

Developers and contributors

    -
  • Evgeniy Alekseev
  • + {% for devel in page.developers %} +
  • {{ devel }}
  • + {% endfor %}

License

    -
  • GPLv3
  • +
  • {{ page.license }}
+ -

Installation

+ +

Installation

Instruction

  • Download an archive with latest version of source files.

  • Extract it and install the application:

    -
    ./install.sh "/path/to/root/package"
    +
    ./install.sh "/path/to/root/package"

    If you want install it to / you must run it as root, e.g.:

    -
    sudo ./install.sh "/path/to/root/package"
    +
    sudo ./install.sh "/path/to/root/package"

    If no path is specified it will be installed to / by default.

@@ -94,24 +73,28 @@ See "man 1 ctrlconf" for more details
  • python2-pyqt4 (optional, GUI)
  • xterm (optional, GUI)
  • + +

    How to use

    If you want to start the daemon into /etc just run

    -
    systemctl start git-etc
    +
    systemctl start git-etc

    If you want to enable daemon autoload run

    -
    systemctl enable git-etc
    +
    systemctl enable git-etc

    But you may change path to configuration file or change parameters. To do it just copy (recommended) the source configuration file to new path

    -
    cp /etc/git-etc.conf /new/path/to/file/git-etc.conf
    +
    cp /etc/git-etc.conf /new/path/to/file/git-etc.conf

    and edit it. Then copy the source service file to /etc:

    -
    cp /usr/lib/systemd/system/git-etc.service /etc/systemd/system/git-etc-my-profile.service
    +
    cp /usr/lib/systemd/system/git-etc.service /etc/systemd/system/git-etc-my-profile.service

    Replace following string in the file:

    -
    ExecStart=/usr/bin/git-etc -c /etc/git-etc.conf
    +
    ExecStart=/usr/bin/git-etc -c /etc/git-etc.conf

    to

    -
    ExecStart=/usr/bin/git-etc -c /new/path/to/file/git-etc.conf
    +
    ExecStart=/usr/bin/git-etc -c /new/path/to/file/git-etc.conf
    + -

    Configuration

    + +

    Configuration

    All settings are stored in /etc/git-etc.conf. After edit them you must restart daemon

    -
    systemctl restart git-etc
    +
    systemctl restart git-etc

    Options

    @@ -132,7 +115,9 @@ See "man 1 ctrlconf" for more details

    1 will enable access for normal user. Default is 1.

    + +

    Graphical user interface

    Control Config (ctrlconf) is GUI for git-etc daemon written on Python2/PyQt4. 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 (git reset --hard) or individual files (git diff && git apply). 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 sudo package is installed.

    @@ -151,67 +136,4 @@ Merging window:

    Roll back window:

    - -

    Links

    - - - - - -
    -

    Comments

    - -
    - - - -
    - -
    - - - - + diff --git a/projects/index.html b/projects/index.html index df44a8c..964f2ea 100644 --- a/projects/index.html +++ b/projects/index.html @@ -1,137 +1,113 @@ - - - - - - My projects - - - - - - - - - - - - - - +--- +layout: default +title: My projects +comment: false +share: true +back: 1 +groups: + - title: Linux daemons + short: daemons + projects: + - title: git-etc + short: git-etc + description: git-etc 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 Bash. It is also has a simple Graphical user interface written on Python2 (pyqt4) for work with the created repository. + links: + - Homepage + - GitHub repo + - Archlinux AUR package + - title: queued + short: queued + description: queued is daemon for starting jobs to queue of calculations. It was written on Bash created as proof-of-concept. + links: + - Homepage + - GitHub repo + - title: KDE widgets + short: widgets + projects: + - title: DeadLine widget + short: deadline + description: DeadLine widget is a Plasmoid script written on Python2. 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: + - GitHub repo + - title: Oblikue strategies + short: oblikuestrategies + description: oblikue-strategies is a plasmoid written on CPP that displays a random draw from Brian Eno and Peter Schmidt's Oblique Strategies. It is GNOME applet fork with some of special features. + links: + - Homepage + - GitHub repo + - Page on kde-look.org + - Archlinux AUR package + - title: Open on desktop + short: openondesktop + description: Open on desktop is a dropbox menu for Dolhpin. 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 Bash. + links: + - GitHub repo + - title: py-text-monitor + short: pytextmonitor + description: py-text-monitor is a minimalistic Plasmoid script written on Python2. It looks like widgets in Awesome WM. My plasmoid is highly and easily configurable and does not clutter your KDE system. Also this packages has an additional DataEngine written on CPP (old version was written on Python2). + links: + - Homepage + - GitHub repo + - Plasmoid page on kde-look.org + - DataEngine page on kde-look.org + - Archlinux AUR package + - title: Kit system monitor + short: sysmon + description: Kit System Monitor is a system information and hardware monitor based on EG Sysmon. It is written on HTML-like language for SuperKaramba and has simple install script written on Python2. It is my first Open Source Project. + links: + - GitHub repo + - Page on kde-look.org + - 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 C, but sometimes on Python2. Some of these have a Graphical user interface written on CPP. + links: + - Homepage + - GitHub repo + - title: Utilities + short: utilities + projects: + - title: extract_pkglist + short: extpkg + description: extract_pkglist a simple script written on Python2 for creating list of installed packages in ArchLinux. + links: + - GitHub repo + - title: Food GUI + short: foodgui + description: Food GUI is a simple program-calculator that uses own database and written on Python2. 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: + - GitHub repo + - Archlinux AUR package + - title: julius-actions + short: julius-actions + description: julius-actions is a script written on Python2 for work with julius. It was made just-for-fun too in my spare time. Works normally, but I don't use it. + links: + - GitHub repo +---

    Projects

    -

    The list of some of my projects

    -

    Linux daemons
    - KDE widgets
    - Scientific programs
    - Utilities

    - +

    + {% for group in page.groups %} + {{ group.title }}
    + {% endfor %} +

    -

    Linux daemons

    - -

    git-etc

    -

    git-etc 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 Bash. It is also has a simple Graphical user interface written on Python2 (pyqt4) for work with the created repository.

    - - -

    queued

    -

    queued is daemon for starting jobs to queue of calculations. It was written on Bash created as proof-of-concept.

    - - -

    KDE widgets

    - -

    DeadLine widget

    -

    DeadLine widget is a Plasmoid script written on Python2. 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.

    - - -

    oblikue-strategies

    -

    oblikue-strategies is a plasmoid written on CPP that displays a random draw from Brian Eno and Peter Schmidt's Oblique Strategies. It is GNOME applet fork with some of special features.

    - - -

    Open on desktop

    -

    Open on desktop is a dropbox menu for Dolhpin. 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 Bash.

    - - -

    py-text-monitor

    -

    py-text-monitor is a minimalistic Plasmoid script written on Python2. It looks like widgets in Awesome WM. My plasmoid is highly and easily configurable and does not clutter your KDE system. Also this packages has an additional DataEngine written on CPP (old version was written on Python2).

    - - -

    Kit System Monitor

    -

    Kit System Monitor is a system information and hardware monitor based on EG Sysmon. It is written on HTML-like language for SuperKaramba and has simple install script written on Python2. It is my first Open Source Project.

    - - -

    Molecular dynamic and other scientific programs

    - -

    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 C, but sometimes on Python2. Some of these have a Graphical user interface written on CPP.

    - - -

    Utilities

    - -

    Extract pkglist

    -

    extract_pkglist a simple script written on Python2 for creating list of installed packages in ArchLinux.

    - - -

    Food GUI

    -

    Food GUI is a simple program-calculator that uses own database and written on Python2. 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.

    - - -

    julius-actions

    -

    julius-actions is a script written on Python2 for work with julius. It was made just-for-fun too in my spare time. Works normally, but I don't use it.

    - - -
    - -
    - - - - + {% for group in page.groups %} +

    {{ group.title }}

    + {% for project in group.projects %} +

    {{ project.title }}

    +

    {{ project.description }}

    +

      + {% for link in project.links %} +
    • {{ link }}
    • + {% endfor %} +

    + {% endfor %} + {% endfor %} diff --git a/projects/oblikuestrategies.html b/projects/oblikuestrategies.html index 825287d..4f861f1 100644 --- a/projects/oblikuestrategies.html +++ b/projects/oblikuestrategies.html @@ -1,73 +1,56 @@ - - - - - - Oblikue strategies - - - - - - - - - - - - - - - - - -
    -
    -

    oblikue-strategies

    -

    Plasmoid that displays a random draw Oblique Strategies

    -

    General information
    - Installation guide
    - Screenshots
    - Links

    -
    -
    - -

    Information

    +--- +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 kde-look.org + - Archlinux AUR package +--- + +

    Information

    Plasmoid written on CPP that displays a random draw from Brian Eno and Peter Schmidt's Oblique Strategies. It is GNOME applet fork with some of special features.

    Developers and contributors

      -
    • Evgeniy Alekseev
    • + {% for devel in page.developers %} +
    • {{ devel }}
    • + {% endfor %}

    License

      -
    • GPL
    • +
    • {{ page.license }}
    + -

    Installation

    + +

    Installation

    Instruction

    • Download an archive with latest version of source files.

    • Extract it and install the application. For global isntallation type:

      -
      cd /where/your/applet/is/installed
      +
      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
      +sudo make install

      For local isntallation type:

      -
      cd /where/your/applet/is/installed
      +
      cd /where/your/applet/is/installed
       mkdir build && cd build
       cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` -DCMAKE_BUILD_TYPE=Release ../
       make
      -make install
    • +make install
    • Restart plasma to load the applet:

      -
      kquitapp plasma-desktop && sleep 2 && plasma-desktop
      +
      kquitapp plasma-desktop && sleep 2 && plasma-desktop

      Also you might need to run kbuildsycoca4 in order to get the *.desktop file recognized:

      -
      kbuildsycoca4 &> /dev/null
    • +
      kbuildsycoca4 &> /dev/null

    Dependencies

    @@ -77,74 +60,24 @@ make install
  • automoc4 (make)
  • cmake (make)
  • + -

    Screenshots

    + +

    How to use

    +

    Open your Plasma widgetes and select Oblikue strategies.

    + + + +

    Configuration

    +

    Right click on widget.

    + + + +

    Graphical user interface

    + +

    Screenshots

    Widget:

    Configuration window:

    - -

    Links

    - - - - - -
    -

    Comments

    - -
    - - - -
    - -
    - - - - + diff --git a/projects/pytextmonitor.html b/projects/pytextmonitor.html index fc53a72..916acf6 100644 --- a/projects/pytextmonitor.html +++ b/projects/pytextmonitor.html @@ -1,74 +1,57 @@ - - - - - - py-text-monitor - - - - - - - - - - - - - - - - - -
    -
    -

    py-text-monitor

    -

    Minimalistic Plasmoid script that looks like widgets in Awesome WM.

    -

    General information
    - Installation guide
    - Configuration
    - Screenshots
    - Links

    -
    -
    - -

    Information

    +--- +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 kde-look.org + - DataEngine page on kde-look.org + - Archlinux AUR package +--- + +

    Information

    A minimalistic Plasmoid script written on Python2. It looks like widgets in Awesome WM. My plasmoid is highly and easily configurable and does not clutter your KDE system. Also this packages has an additional DataEngine written on CPP (old version was written on Python2).

    Developers and contributors

      -
    • Evgeniy Alekseev
    • + {% for devel in page.developers %} +
    • {{ devel }}
    • + {% endfor %}

    License

      -
    • GPL
    • +
    • {{ page.license }}
    + -

    Installation

    + +

    Installation

    Instruction

    • Download an archive with latest version of source files.

    • Extract it and install the DataEngine:

      -
      cd /where/your/applet/is/installed
      +
      cd /where/your/applet/is/installed
       mkdir build && cd build
       cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` -DCMAKE_BUILD_TYPE=Release ../
       make
      -make install
      +make install

      For global isntallation type:

      -
      cd /where/your/applet/is/installed
      +
      cd /where/your/applet/is/installed
       mkdir build && cd build
       cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` -DCMAKE_BUILD_TYPE=Release ../
       make
      -make install
    • +make install
    • Install the Plasmoid:

      -
      plasmapkg -i py-text-monitor-1.5.0.plasmoid
      +
      plasmapkg -i py-text-monitor-1.5.0.plasmoid

      For global isntallation type:

      -
      plasmapkg -g -i py-text-monitor-1.5.0.plasmoid
    • +
      plasmapkg -g -i py-text-monitor-1.5.0.plasmoid

    Dependencies

    @@ -86,8 +69,15 @@ make install
  • one of supported music player - amarok, mtd or qmmp (optional, for music player monitor)
  • proprietary video driver (optional, for GPU monitor)
  • + -

    Configuration

    + +

    How to use

    +

    Open your Plasma widgetes and select Py Text Monitor.

    + + + +

    Configuration

    DataEngine configuration

    You may edit DataEngine configuration. It is /usr/share/config/extsysmon.conf or $HOME/.kde4/share/config/extsysmon.conf depending on the type of installation. Uncomment needed line and edit it.

    @@ -232,75 +222,13 @@ make install

    Current song title. One of supported music players must be installed.

    + + + +

    Graphical user interface

    Screenshots

    Widget (clickable):

    Configuration window::

    - -

    Links

    - - - - - -
    -

    Comments

    - -
    - - - -
    - -
    - - - - diff --git a/projects/queued.html b/projects/queued.html index f6ce94e..b2bf299 100644 --- a/projects/queued.html +++ b/projects/queued.html @@ -1,44 +1,19 @@ - - - - - - queued - - - - - - - - - - - - - - - - - -
    -
    -

    queued

    -

    Daemon for starting jobs to queue of calculations

    -

    General information
    - Installation guide
    - How to use
    - Adding a job
    - Configuration
    - Links

    -
    -
    - -

    Information

    +--- +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: +--- + +

    Information

    Daemon for starting jobs to queue of calculations. It was written as proof-of-concept.

    -
    $ queued --help
    +
    $ queued --help
     Simple daemon written on BASH for starting jobs to queue of calculations
     
     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'
     
       -v   --version            - show version and exit
    -  -h   --help               - show this help and exit
    -
    $ add_queued --help
    +  -h   --help               - show this help and exit
    +
    $ 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
    + -h --help - show this help and exit

    Developers and contributors

      -
    • Evgeniy Alekseev
    • + {% for devel in page.developers %} +
    • {{ devel }}
    • + {% endfor %}

    License

      -
    • GPLv3
    • +
    • {{ page.license }}
    + -

    Installation

    + +

    Installation

    Instruction

    • Download an archive with latest version of source files.

    • Extract it and install the application:

      -
      ./install.sh "/path/to/root/package"
      +
      ./install.sh "/path/to/root/package"

      If you want install it to / you must run it as root, e.g.:

      -
      sudo ./install.sh "/path/to/root/package"
      +
      sudo ./install.sh "/path/to/root/package"

      If no path is specified it will be installed to / by default.

    @@ -84,20 +63,22 @@ Parameters:
  • Bash (including awk, grep, sed)
  • systemd (optional, service file)
  • + +

    How to use

    If you want to start the daemon just run

    -
    systemctl start queued
    +
    systemctl start queued

    If you want to enable daemon autoload run

    -
    systemctl enable queued
    +
    systemctl enable queued

    But you may change path to configuration file or change parameters. To do it just copy (recommended) the source configuration file to new path

    -
    cp /etc/queued.conf /path/to/new/queued.conf
    +
    cp /etc/queued.conf /path/to/new/queued.conf

    and edit it. Then copy the source service file to /etc:

    -
    cp /usr/lib/systemd/system/queued.service /etc/systemd/system/queued-my-profile.service
    +
    cp /usr/lib/systemd/system/queued.service /etc/systemd/system/queued-my-profile.service

    Replace following string in the file:

    -
    ExecStart=/usr/bin/queued
    +
    ExecStart=/usr/bin/queued

    to

    -
    ExecStart=/usr/bin/queued -c /path/to/new/queued.conf
    +
    ExecStart=/usr/bin/queued -c /path/to/new/queued.conf

    Adding a job

      @@ -110,8 +91,10 @@ Parameters:

      Configuration

      All settings are stored in /etc/queued.conf. After edit them you must restart daemon

      -
      systemctl restart queued
      +
      systemctl restart queued
      + +

      Options

      @@ -139,66 +122,7 @@ Parameters:

      Default user. Default is root. This user will own created files.

      + -

      Links

      - - - - - -
      -

      Comments

      - -
      - - - -
    - -
    - - - - + +