How to enable syntax highlighting in less

I wanted to have syntax highlighting for a php file I was debugging. Source-highlight given a source file, produces a document with syntax highlighting. These are the output formats already supported: HTML XHTML LATEX MediaWiki (new) ODF (new) TEXINFO ANSI color escape sequences (you can use this feature with less) DocBook These are the input … Continue reading How to enable syntax highlighting in less

How to install a OpenVPN System Based On User/Password Authentication with mysql & Day Control (libpam-mysql)

This document describes how to install a OpenVPN server with User/Password authentication with mysql and day control using libpam-mysql. This will be a brief, but a very practical document. Install mysql server [codesyntax lang=”bash”] apt-get install mysql-server [/codesyntax] Create a mysql user and a database to be used later [codesyntax lang=”bash”] mysql -u root -p … Continue reading How to install a OpenVPN System Based On User/Password Authentication with mysql & Day Control (libpam-mysql)