Blog
Mostly work topics
-
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}/getWebhookInfohttps://api.telegram.org/bot{your bot token}/getMeMarch 29, 2017 -
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" .March 28, 2017 -
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…January 24, 2017 -
Installing and configuring Bitnami Redmine
Lets get rid of app prefixes, open file: nano /opt/bitnami/apache2/conf/bitnami/bitnami-apps-prefix.conf Comment second line, like this: #Include "/opt/bitnami/apps/redmine/conf/httpd-prefix.conf" Save file by pressing Ctrl + X. Open file: nano /opt/bitnami/apache2/conf/bitnami/bitnami-apps-vhosts.conf Add following line: Include…December 14, 2016 -
Setup WebClient timeout in PowerShell
If you want to setup timeout value for downloadString method of WebClient Class in PowerShell, you need to extend WebClient Class, because property Timeout isn't public. So, in the next example I inherited…November 10, 2016 -
Windows App Certification Kit doesn’t work in Windows Server 2016
I develop Universal Windows Programs and found an interesting problem. You can't use UI version of Windows App Certification Kit when your OS is Windows Server 2016. When I tried to test my…November 9, 2016 -
Start of month from date in MS SQL (opposite to EOMONTH function)
Sometimes we need to select values grouped by month from MS SQL Table. Probably the easiest way to do it is to call function DateAdd with DateDiff: SELECT Sum(YourColumn), DATEADD(month, DATEDIFF(month, 0, [YourDateColumn]), 0)…October 9, 2016 -
Sendmail config when MX record points to another server
If your domain mail is hosted on mail server in a different domain, you should tell your sendmail about it. Otherwise if you try to send a mail to a user in…May 22, 2016
Loading posts...