Running Gem Server to View Docs for Ruby Libraries on Localhost
will boot up documentation on port 8808 by default pass it the -p flag followed by the port number to change.
gem server -p3000
Manage Sinatra Server in Development Mode with Shotgun
Sinatra won't reload your files. So if you're developing your app and want to see any changes made in the browser, install the shotgun gem.
gem install shotgun
You can then use shotgun to run your server
Presto, your ditt...
Dot htaccess file for wordpress installation (.htaccess)
Login to your wordpress installation and scroll to and click the second to last link set "Settings". You'll need to configure wordpress to handle your new links as "permalinks". Make a selection and copy the code into your .htaccess file. Wordpress will a...
YouTube Internal Server Error
Thought I'd share a snapshot of this error message from youtube.com. It's nice to know that their monkeys are highly trained. I figured they just got those lazy monkeys who work for bananas.
500 Internal Server Error
Sorry, something went wrong.
A team o...
Wildcard VirtualHost with Apache2
Set your ServerAlias directive to *.domain.tld - Here is a quick example.
Now everything.example.com and anything.example.co...