Ubuntu uses the Avahi Daemon to rewrite .local domains to always be localhost. This can be prevented by editing the config file sudo gedit /etc/avahi/avahi-daemon.conf and setting changing #domain-name=local into domain-name=.localhost (note that there needs to be a . between the name you select and the = mark. After doing this run sudo service avahi-daemon […]
OneDrive running under Ubuntu
Found and installed a great project to use OneDrive on Ubuntu; https://github.com/xybu/onedrive-d-old Only issue I had was that I needed to run the following command before the daemon would start but now it runs fine! sudo pip3 install click –upgrade After running the install I did the following commands to make sure my Documents folder on […]
Using G729 codec on Asterisk 13 with FreePBX 13 (on a x64 modern kernel)
We started using FreePBX instead of Lync recently and after a while we ran into the following error: WARNING[30830][C-00001548] channel.c: Unable to find a codec translation path: (slin) -> (g729) Turns out that even though G729 is by default shown in the GUI of FreePBX it is not turned on by default since it requires […]
Repair windows without a reinstall
I’ve always used this command to repair windows: SFC /scannow This was my goto drug for fixing windows problems but now I have learned about a bit of an undocumented fix which claims to be even better: dism /online /cleanup-image /restorehealth I will try it out from now on and report back on any good […]
Delete OEM partitions in Windows
The awnser: diskpart.exe! Hit “Windows Key” + “R” to open the run dialogue box and type “diskpart” and hit “OK” to open a command prompt window. Type “list disk”. Type “select disk n”. Type “list part”. Type “select part n”. Type “delete partition override”. Type “exit”. Thanks to http://www.disk-partition.com/blog/how-to-delete-an-oem-partition/
Fixing PHP max postsize errors using IIS
When using IIS with WordPress I kept getting errors with uploading files larger then about 30MB with a “HTTP error” in the uploader. Troubleshooting this problem on the internet led me on a wild goose-chase for settings in WordPress or PHP which already all where good. Finally after turning on detailed error messages and logging […]
Upgrading Debian 7 to 8
https://linuxconfig.org/how-to-upgrade-debian-linux-system-from-wheezy-to-jessie-stable-release
Space Engineers auto-updating Dedicated Server
Space Engineers dedicated servers come with one big down-fall: No automatic updating for the dedicated server. Your client does auto-update which is annoying and so I decided to make a small powershell script using DropBox and Junction.
Secure your PHP (on Windows)
Although alot of people will be running PHP on an Apache environment I have several reasons to be running mine on Windows, specifically 2012 R2. Lately I’ve been seeing alot of activity of people trying to inject mallicious code into several of my clients websites and so have begun drilling down into securing PHP. To […]
Bijna helft Nederlandse banken beschermt u niet (optimaal) tegen phishing
U heeft nog nooit van SPF gehoord maar wel van phishing, mensen die u irritante e-mail sturen namens uw bank en op die manier u geld afhandig proberen te maken. SPF kan u hier (deels) tegen beschermen doordat banken bekend maken welke server namens hun e-mail mogen sturen en welke niet. Dit is een klein […]