cloudflare-logo

Howto: Configure cloudflare for wordpress

My web hosting company don’t support subdomain SSL certificates. And because Google’s Chrome in July is required HTTPS on all websites (otherwise you get an error your website isn’t safe) I had some deadline to make my blog HTTPS. Cloudflare is a nice reverse proxy solution and the basic plan is free to use also. So what I did was create a cloudflare account and put my website behind it. After I did that I forced the HTTPS and voila my website was HTTPS. The steps you must take. ...

February 25, 2018 · 2 min · thomasf
dns

Ubuntu Linux cannot ping FQDN

Because this is the fifth time I fixed this issue I write a blog about it… Microsoft uses .local as the recommended root of internal domains, and serves them via unicast dns. Linux uses .local as the root of multicast dns. If you’re stuck on a broken MS network like this, reconfigure your linux multicast DNS to use a different domain like .alocal. To do this, add a domain-name=.alocal line to the [server] section of /etc/avahi/avahi-daemon.conf, then restart avahi-daemon: sudo service avahi-daemon restart. ...

December 16, 2017 · 1 min · thomasf
viewer

How to truncate Mirrored Database Log File

First backup your transaction logging: Tasks > Backup Select transactionlog backup en select a disk where to backup Now check the status with DBCC LOGINFO(DATABASENAME) Check if the last status record is 0 (zero) When the status is 2 make another backup When the status is 0 you can run: DBCC SHRINKFILE(2) You can use this script also: Backup LOG DBNAME TO DISK = 'C:\SQL_TMP\transactionlog.trn' WITH STATS GO DBCC LOGINFO(DBNAME) DBCC SHRINKFILE(2)

September 28, 2017 · 1 min · thomasf

Clean old MSI or MSP files from c:\Windows\Installer folder

A lot of installations don’t clean the old MSI and MSP files in the c:\Windows\Installer folder. There is a nice tool to clean that mess in 2 mouse clicks with the name patchcleaner. URL: http://www.homedev.com.au/free/patchcleaner

November 29, 2016 · 1 min · thomasf
focus

Move a window when you don't have any focus

Method #1 Won’t work with a maximized Window. Alt-Tab or Click On the Window Press “Alt & Space” Press “M” Use your arrow keys to move the Window Press Enter to exit Method #2 Will move your Window to the right or left half of the screen in the same manner as dragging a window to the right or left of the screen will. Press the Windows Key & Right Arrow or Left Arrow Move a Window with the Keyboard-right Method #3 will move your Window one display to the right or left. ...

November 16, 2016 · 1 min · thomasf
certificate_icon

Create a strong self-signed certificate for multiple years

If you follow these steps you can create a self signed certificate with the following specifications: Wildcard certificate SHA256 hash 10 years 2048 bits public key Client and server verification Sha1 fingerprint Be aware that self-signed certificates can manipulate by a man-in-the-middle. You should not use this in critical production environments. Please use windows 10 powershell in admin mode. Otherwise you will get errors New-SelfSignedCertificate -certstorelocation cert:\localmachine\my -dnsname *.domain.local -NotBefore $([datetime]::now.AddDays(-15)) -NotAfter $([datetime]::now.AddDays(3560)) Now export the certificates. Before you copy/paste change the thumbprint with the thumbprint you get from the above command. ...

November 12, 2016 · 1 min · thomasf

Spotify: Find a playlist based on a track

I know for sure you have a track in your spotify playlist and you want more like that kind of music. There is a way to find all the public spotify playlists based on fans like yourself. Spotify unfortunately don’t have a solution, ut with a smart google search you find what you need :D The google search you can try is: site:spotify.com “track artist” playlist Example: site:spotify.com “do it rootkit” playlist

November 5, 2016 · 1 min · thomasf

BSOD Domain Controller STOP: c00002e2 Directory Services could not start

Today our domain controller had a very bad day and had a bootloop after a reboot. I used recording software to capture the blue screen error: STOP: c00002e2 Directory Services could not start Then we found a nice article to fix this issue. We had a second working domain controller so if you have the same setup you can use this how to, to fix this problem also. All the credits go to dbutch1976 ...

October 13, 2016 · 2 min · thomasf
overheating_computer

Windows IOPS and MB/s benchmarking

You have bought een new system and the first thing what you want to do is check the disk performance (ehhh that’s always the first thing I want to know :P ) There is one tool I always use: ATTO Disk Benchmark This is a very nice tool to quickly see how fast your troughput is of your new system. But sometimes you want to check your IOPS. Then you can use another nice microsoft commandline benchmark tool DiskSpd ...

September 11, 2016 · 2 min · thomasf

IIS Log Analyzer

Download Log Parser 2.2 from the microsoft site. After the installation google is your friend Example Hits on a particular page by IP address LogParser -i:IISW3C "SELECT c-ip, COUNT(*) As Hits FROM C:\WINDOWS\system32\LogFiles\temp\*.log WHERE EXTRACT_FILENAME(cs-uri-stem) = 'default.aspx' AND sc-status = '200' GROUP BY c-ip Order by Hits DESC" -o:DataGrid Another great way to analyse log files is the tool: Log Parser Studio. With this tool you can easy query loggings with a GUI: ...

August 25, 2016 · 1 min · thomasf