Categories
Workflow

PHP & HTML5 Language Detection in Komodo Edit

I recently switched to Komodo Edit for coding. Like most editors it auto-detects the file language, however when editing a file with PHP and HTML Komodo will default to HTML4 which produces a lot of errors if you’re using new HTML5 elements.

Simply change the default HTML language:

Edit > Preferences > Languages > HTML

Komodo Edit PHP HTML5

Categories
Workflow

Activating Windows in Hyper-V

Don’t activate Windows 7 as part of the virtual image testing process. Not licensed to do so according to this:  MS Virtual Machine Instructions (PDF)

Via: Modern.ie

Categories
Workflow

Changing Geany Color Schemes

The Geany Themes collection by Codebrainz is the best source of alternate color schemes for Geany. The readme installation guide misses the last step though.

After copying the colorschemes directory to %appdata%/Roaming/Geany and restarting, the schemes will be available under View > Editor > Color Schemes

(Geany 1.22)

Categories
Workflow

CMD cd Shortcut

Sick of cmd starting in c:\Users\me and having to type a long path to cd?

Create a .bat file and save it in c:\Windows\System32 (as Admin)
Save as mypath.bat, or perhaps even something logical.

@ECHO OFF
cd c:\path_i\commonly_want_to\go\to\

Then in cmd just type mypath and you’ll get where you want to go.