Add the following config, e.g. to /etc/httpd/conf/httpd.conf: LogLevel info authz_core:debug then make sure to reload apache (service httpd reload) and you will find a detailed reason, why access to a resource is granted or not in the error log.
Blog
Tyn Church Prague
Tyn Church, or The Church of Our Lady Before Tyn, dominates one side of the Old Town Square.
Merge a Bunch of PDF Files into one File in OSX using the Command Line
Do you have a bunch of PDFs you need to merge into one file? Don’t want to use Preview to tediously drag-and-drop them together? In the Terminal, navigate the the folder where the PDFs are, and run: “/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py” -o merged.pdf *
Initialize UIColor from RGB hex in Swift
Want to initialize a UIColor object from a hex code? Create a new Swift class named “UIColor+FromRGB.swift” with the following content: import UIKit extension UIColor { static func fromRGB(colorCode: String, alpha: Float = 1.0) -> UIColor { let scanner = NSScanner(string:colorCode) var color:UInt32 = 0; scanner.scanHexInt(&color) let mask = 0x000000FF let r = CGFloat(Float(Int(color >>… Continue reading Initialize UIColor from RGB hex in Swift
Export running virtual machine to ova file
ec2-create-instance-export-task {instance id} -e vmware -f vmdk -c ova -b {bucket name} Source: Exporting Amazon EC2 Instances – Amazon Elastic Compute Cloud
Start virtual machine from ova file stored in AWS S3 as new EC2 instance
aws ec2 import-image –cli-input-json “{ \”Description\”: \”Instance Name\”, \”DiskContainers\”: [ { \”Description\”: \”First CLI task\”, \”UserBucket\”: { \”S3Bucket\”: \”S2-BUCKET-NAME\”, \”S3Key\” : \”FILENAME.ova\”}}]}”
Capture network packets using tcpdump via command line for later inspection with Wireshark
sudo tcpdump -i any -s 65535 -w somefilename.pcapng
My favourite club in Sofia
If you are looking for a club with decent music in the heart of Sofia, go for / Bar Brilliantine (БРИЛЯНТИН). That is my best pick so far.
Seat map shows best seat in aircraft
You most certainly know the seat maps that allow you to choose your seat during check-in. Some airlines provide very detailed seat maps, some don’t and you are left to randomly chose one. seatguru solves this. Select the airline you’re flying and the aircraft type and you get a detailed overview which seats are ‘good… Continue reading Seat map shows best seat in aircraft
Create self signed SSL certficate in one command
Creates a certificate which is valid for 10 years: openssl req -nodes -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 3650