Handling Defaults with import
The System Preferences appear to be stored in various places, depending on whether they are user or system specific. A lot of […]
It's all in the Mac magic…
The System Preferences appear to be stored in various places, depending on whether they are user or system specific. A lot of […]
Edit /Library/Server/Web/Config/apache2/httpd_server_app.conf Look at the bottom for <IfDefine WEBSERVICE_ON> Include /Library/Server/Web/Config/apache2/sites/*.conf </IfDefine> Add a path to the customer Virtual Hosts […]
By default, the Apache Virtual Host configuration on Mac OS X is located in a single file: /etc/apache2/extra/httpd-vhosts.conf . You need to […]
How to clear the local DNS cache…. OSX 10.10 sudo discoveryutil udnsflushcaches OSX 10.9 dscacheutil -flushcache; sudo killall -HUP mDNSResponder OSX 10.7 […]
In this article of sed series, we will see the examples of how to remove or delete characters from a file. The syntax […]
Arithmetic Expansion in Bash Shell Arithmetic expansion and evaluation is done by placing an integer expression using the following format: $((expression)) $(( […]
You can do that in one command: openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days XXX You can add -nodes […]
AddHeader “X-Forwarded-Proto: https” HeadRemove “X-Forwarded-Proto” HeadRemove “X-Forwarded-For”
Attach read-only dmg file using hdiutil hdiutil attach -owners on /path/to/your.dmg -shadow Modify your DMG. Use the command line to add, edit […]
<Directory "/Volumes/Server HD/Web/ELA"> AuthType Basic AuthName "Browse access /Volumes/Server HD/Web/ELA" […]
MariaDB is a fork of the very popular and open source MySQL database, which is now owned by Oracle. In fact, the […]
Overriding the time-to-live (ttl) Sometimes your backend will misbehave. It might, depending on your setup, be easier to override the ttl in […]
This goes into your VCL sub vcl_recv { //… if (req.url ~ "(?i)\.(jpeg|jpg|png|gif|ico|webp|js|css|txt|pdf|gz|zip|lzma|bz2|tgz|tbz|html|htm)$") { unset req.http.Cookie; […]
https://swscan.apple.com/content/catalogs/others/index-10.10seed-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog.gz
backend example1 { .host = "backend.example1.com"; .port = "8080"; } backend example2 { .host = […]
Install Varnish from https://www.varnish-cache.org/installation/redhat Make Varnish start at boot chkconfig –level 345 varnish on Config Varnish /etc/sysconfig/varnish Config Backend /etc/varnish/default.vcl Start Varnish […]
I’ve tried all of the above suggestions which did not provide a consistent fix. But this does. On the client only, you […]
During this I will be using to Command Line utilities that are installed as part of VMware Fusion. First off, open ‘Disk […]
Great tool for doing this vfuse https://github.com/chilcote/vfuse Note that if your going to upload this to ESXi 5.0 or you want to […]