Blog

Mostly work topics

    Loading posts...
  • Reset password and give admin rights to redmine account

    First of all run mysql: mysql --user=root --password=your_password You can find your connection parameters in {your redmine folder}/htdocs/config/database If credentials are correct you will see hello message from MySql console: Now you…
  • How to generate and copy SSH key in Mac OS

    Generate SSH key First of all, open terminal window. I personally use iTerm2. To generate SSH keys , enter the following command in the Terminal window: ssh-keygen -t rsa You will need…
  • Compare Azure virtual machine pricing across different regions

    Sometimes it doesn't matter where to place virtual machine, so you just need to find the best price. I prefer to use Microsoft Azure for my projects, so I can place VM…
  • Migrate from tfs to git

    First of all download git-tfs from there: http://git-tfs.com Right click on My Computer -> Properties -> Advanced system settings -> Environment variables -> System variables -> Path Add ;C:\TfsMigration\GitTfs-0.25.1 to the end of…
  • Highlight overdue issues in redmine

    To higlight overdue issues in redmine, add following styles to your application.css file: tr.issue.overdue td.id a, tr.issue.overdue td.subject a, .issue.overdue td.due-date { color: #f00; } tr.private td.subject a:before { content: ''; display:…
  • Cron task for handling email in redmine

    Go to redmine folder and copy use_redmine file: cp use_redmine proceed_mail Edit new document: nano ./proceed_mail Replace text with following (put your variables): #!/bin/bash . /opt/redmine-3.3.2-2/scripts/setenv.sh rake -f /opt/redmine-3.3.2-2/apps/redmine/htdocs/Rakefile redmine:email:receive_imap RAILS_ENV="production" host=mail_server…
  • Add event log source in Windows

    Run powershell as Administrator and run following command: New-EventLog -Source "TestApi" -LogName "Application"
  • Useful telegram bot commands

    https://api.telegram.org/bot{your bot token}/setWebhook?url={message handler url}https://api.telegram.org/bot{your bot token}/getWebhookInfo
  • Add proxy settings to IIS Applications with web.config

    To set proxy settings for your IIS Application, just add following block to your web.config file: <system.net> <defaultProxy> <proxy proxyaddress="http://192.168.0.1:8080" bypassonlocal="true" /> </defaultProxy> </system.net> Put your proxy server settings in field "proxyaddress" .
  • Useful redmine plugins and how to install them in bitnami redmine

    List of plugins: http://www.redmine.org/plugins/boolean_query To install plugins, exec following commands in redmine htdocs folder(for me it's "/opt/bitnami/apps/redmine/htdocs"): bundle install bundle exec rake redmine:plugins:migrate RAILS_ENV=production And restart apache. I use following command to…