Skip to content

Instantly share code, notes, and snippets.

View mnorkin's full-sized avatar
🐙

Maksim Norkin mnorkin

🐙
View GitHub Profile
@mnorkin
mnorkin / fab_user_create.py
Last active December 17, 2015 03:49
The example of deployment user creation, using the fabric
def setup_deploy_user():
"""
Create an account for an deploy user to access the server
"""
opts = dict(
deploy_user=env.deploy_user,
deploy_password=env.deploy_pass
)
opts['local_user'] = local('whoami', capture=True)
# Create user

Readmine Jira Comparison

Comparison of two major issue and project tracking software solutions. Only the difference parts are presented. Overlapping functionality, like git/svn/hg support is not displayed.

Redmine

Pros:

  • Free and Open Source [[1]]
@mnorkin
mnorkin / Module.php
Created June 3, 2015 06:37
How to solve zend array config merge
<?php
/**
* @author: Maksim Norkin
* @email: maksim.norkin@ruptela.lt
*/
namespace ZR\Cache\Adapter\Redis;
use Zend\Config\Reader\Json;
use Zend\EventManager\EventInterface;
@mnorkin
mnorkin / file_read.m
Created January 18, 2016 16:28
file_read.m
fileId = fopen('data/SiPt02_01.txt', 'r');
format = '%f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f';
sizeA = [19 Inf];
data = fscanf(fileId, format, sizeA);
@mnorkin
mnorkin / supervisord.service
Created June 3, 2016 05:55 — forked from tonyseek/supervisord.service
Running supervisord with systemd.
[Unit]
Description=supervisord - Supervisor process control system for UNIX
Documentation=http://supervisord.org
After=network.target
[Service]
Type=forking
ExecStart=/usr/bin/supervisord -c /etc/supervisord.conf
ExecReload=/usr/bin/supervisorctl reload
ExecStop=/usr/bin/supervisorctl shutdown
<body>
<div id="signature">
<p>Yay</p>
</div>
</body>