Skip to content

dimitar.me

Dimitar Darazhanski's blog

Menu

  • About
  • Apps

Author: dimitar

Set up a MySQL user dedicated to backups

It is not a good idea to use the root MySQL account to do backups. So, let’s create a user dedicated exclusively to doing backups. Log on to MySQL as root: mysql -u root -p Then create the new user

dimitar January 19, 2016 IT Security, Linux, MySQL, SQL, Ubuntu No Comments Read more

Batch scale images to a particular size

First install imagemagick: sudo apt-get install imagemagick Then CD into the directory containing the images and make a new directory that will hold all the re-sized images. In this case I called it resized: mkdir resized Then run the command

dimitar November 19, 2015 Linux, Ubuntu No Comments Read more

Upgrading to Apache 2.4 will prevent WebDAV listing of directories containing index files

I recently upgraded Apache from 2.2 to 2.4 and among all the expected changes that had to be made to the existing sites-available config files, I encountered an unexpected issue with the WebDAV sites. I could connect to the sites

dimitar July 22, 2015July 23, 2015 Apache, Linux, Ubuntu 1 Comment Read more

Force all HTTP traffic to HTTPS

If you have SSL installed and configured on your site, there is a little need to continue serving http traffic over port 80. Performance is no longer a big issue and now Google would reward with better ranking sites that

dimitar June 12, 2015June 12, 2015 Apache, Linux, Ubuntu No Comments Read more

Unable to create new directories or files (write access) in WebDAV with Apache2

It turns out that if you have enabled mod_rewrite on the server and you are actually doing any url re-writing for the site under which WebDAV is running, then you will not be able to create new directories or files

dimitar December 15, 2014June 12, 2015 Apache, IT Security, Linux, Networking, Ubuntu No Comments Read more

Block a range of IP addresses from reaching your server

When your Linux server gets bombarded with malicious requests the quickest and easiest thing is to block the offending IP address (or the entire range) using iptables: To block just one IP address: $ sudo iptables -A INPUT -s 103.10.86.53

dimitar November 22, 2014 IT Security, Linux, Networking, Ubuntu No Comments Read more

In-app Billing API v3 throws IllegalStateException

If you have followed Google’s instructions when implementing version 3 of the Android’s in-app billing API by exploring their TrivialDrive sample app, you probably have come upon some numerous IllegalStateExceptions, like these: java.lang.IllegalStateException: Can’t start async operation (consume) because another

dimitar November 1, 2014November 1, 2014 Android, Eclipse, Java, Programming 1 Comment Read more

How to create an ftp user and allow write to the apache root directory with proper permissions

I do not recommend having a set up like this due to the multiple security vulnerabilities that it presents. There are much better and more secure ways to develop and deploy to a server. If you can use WebDAV, scp,

dimitar July 23, 2014September 28, 2023 IT Security, Linux, Ubuntu 6 Comments Read more

MapsInitializer.initialize no longer throws GooglePlayServicesNotAvailableException with the new google play services lib ver 15

I just updated the google play services lib to ver 15 to find out that MapsInitializer.initialize method no longer throws GooglePlayServicesNotAvailableException. In the description of this method it now says: Initializes the Google Maps Android API so that its classes

dimitar February 14, 2014February 14, 2014 General 1 Comment Read more

How to detect a user pan/touch/drag on Android Map v2

If you are impatient, you can skip directly to the solution. The new implementation of the Android Map (v2) is great in many ways and their support for map fragments is awesome, but they fall a bit short in a

dimitar April 9, 2013August 19, 2016 Android, Eclipse, Java, Programming 35 Comments Read more
  • « Previous
  • Next »

Archive

June 2025
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« Dec    

Recent Comments

  • richard on How to fix VMware unable to install all modules vmmon vmnet
  • Max on How to fix VMware unable to install all modules vmmon vmnet
  • Max on How to fix VMware unable to install all modules vmmon vmnet
  • Cristian Valerio on How to fix VMware unable to install all modules vmmon vmnet
  • Mauro Paes Correa on Configure pfSense for Chromecast Across Subnets/VLANs

Categories

  • Android
  • Android Studio
  • Apache
  • Apple
  • C++
  • Eclipse
  • General
  • IT Security
  • Java
  • Linux
  • MacOS X
  • Motorcycles
  • MySQL
  • Networking
  • pfSense
  • PHP
  • Programming
  • SQL
  • Ubuntu

BLOG ARCHIVE

  • December 2023 (1)
  • November 2023 (1)
  • October 2023 (1)
  • March 2023 (1)
  • January 2023 (1)
  • April 2022 (1)
  • February 2022 (2)
  • December 2021 (1)
  • November 2021 (1)
  • July 2021 (1)
  • May 2020 (1)
  • March 2019 (1)
  • October 2018 (1)
  • August 2017 (1)
  • May 2017 (1)
  • July 2016 (1)
  • May 2016 (2)
  • April 2016 (1)
  • January 2016 (1)
  • November 2015 (1)
  • July 2015 (1)
  • June 2015 (1)
  • December 2014 (1)
  • November 2014 (2)
  • July 2014 (1)
  • February 2014 (1)
  • April 2013 (1)
  • November 2012 (2)
  • August 2012 (1)
  • May 2012 (1)
  • March 2012 (1)
  • November 2011 (1)
  • August 2011 (1)
  • April 2011 (1)
  • January 2011 (2)
  • September 2010 (1)
  • August 2010 (2)
  • July 2010 (2)
  • June 2010 (2)
  • May 2010 (1)
  • January 2010 (2)
  • December 2009 (2)
  • November 2009 (3)
  • October 2009 (1)
  • September 2009 (3)
  • July 2009 (1)
  • May 2009 (1)
  • March 2009 (1)
  • February 2009 (2)
  • January 2009 (2)
  • December 2008 (1)
  • November 2008 (4)
  • October 2008 (5)

Blogroll

  • Nikola Naous
  • Obscured Clarity
  • Robin Ward
  • Singularity Blog
  • Singularity Symposium

Online Tools

  • Centralops
  • Icon Library
  • Mapulator
  • Serversniff

Podcasts

  • Casting from the Server Room
  • Diggnation
  • Hak5
Copyright © 2025 dimitar.me. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.