What is a faster alternative to Python’s http.server (or SimpleHTTPServer)?

Python’s http.server (or SimpleHTTPServer for Python 2) is a great way of serve the contents of the current directory from the command line: python -m http.server However, as far as web servers go, it’s very slooooow… It behaves as though it’s single threaded, and occasionally causes timeout errors when loading JavaScript AMD modules using RequireJS. … Read more

Is there a command line utility for rendering GitHub flavored Markdown?

I’m wondering if there is a command line utility for taking a GitHub flavored Markdown file and rendering it to HTML. I’m using a GitHub wiki to create website content. I’ve cloned the repository on my server and would then like to process it into regular HTML. It’s important to me that what appears on … Read more

xcopy file, rename, suppress “Does xxx specify a file name…” message

This seems pretty simple and maybe I’m just overlooking the proper flag, but how would I, in one command, copy a file from one directory to another and rename it in the destination directory? Here’s my command: if exist “bin\development\whee.config.example” if not exist “TestConnectionExternal\bin\Debug\whee.config” xcopy “bin\development\whee.config.example” “TestConnectionExternal\bin\Debug\whee.config” It prompts me with the following every time: … Read more

Command prompt won’t change directory to another drive

I’m trying to compile some java (learning java currently), and to do so I need to change command-prompt’s directory. C:\…\Admin> cd D:\Docs\Java C:\…\Admin> cd C:\…\Admin It doesn’t change the directory. I try again using quotes: C:\…\Admin> cd “D:\Docs\Java” C:\…\Admin> Again it doesn’t change the directory. What am I doing wrong? 12 Answers 12