Tuesday, August 30, 2011

Windows 8 File Explorer - The end of CTRL+C / CTRL+X ?

The new & revisited file explorer will include around 200 different commands and an Office-style ribbon to access them. Details here.

Each command will be assigned a keyboard shortcut, however on this picture provided by Microsoft, it seems that copy and paste operations will use now different shortcuts... What's this? CTRL+CO and CTRL+T ?... Hope this is a joke :)

Friday, August 19, 2011

Installing Perl modules from CPAN non interactively

Another bookmark post. Make the process of installing perl modules automatic or non interactive with the following commands. You won't be asked any confirmation in the middle of the process.


cpan shell -- CPAN exploration and modules installation (v1.9205)
ReadLine support enabled
cpan[1]> o conf connect_to_internet_ok yes
    connect_to_internet_ok [yes]
Please use 'o conf commit' to make the config permanent!

cpan[2]> o conf prerequisites_policy follow
    prerequisites_policy [follow]
Please use 'o conf commit' to make the config permanent!

cpan[3]> o conf build_requires_install_policy yes
    build_requires_install_policy [yes]
Please use 'o conf commit' to make the config permanent!

cpan[4]> o conf commit
commit: wrote 'C:/Perl58/lib/CPAN/Config.pm'

Thursday, August 11, 2011

Building Subversion (SVN) bindings for Perl and Python

This is a bookmark entry to avoid loosing my time the next time I need this information.

To build Perl and Python bindings together with the SVN binaries using Microsoft Windows SDK v6.1 + VC++ Express 9.0, the following steps are required:

gen-make.py -t vcproj --vsnet-version=2008 --with-httpd=C:\tmp\Src\httpd-2.2.19 --with-neon C:\tmp\Src\svn-1.7.0b2\neon --with-serf=C:\tmp\Src\svn-1.7.0b2\serf --with-sqlite=C:\tmp\Src\svn-1.7.0b2\sqlite --with-zlib=C:\tmp\Src\httpd-2.2.19\srclib\zlib --with-openssl=C:\tmp\Src\httpd-2.2.19\srclib\openssl --with-swig=c:\Programs\swigwin-2.0.0
set INCLUDE=C:\Perl58\lib\CORE;C:\Programs\Microsoft SDKs\Windows\v6.1\Include;C:\Programs\Microsoft Visual Studio 9.0\VC\include
set LIB=C:\Perl58\lib\CORE;C:\Programs\Microsoft SDKs\Windows\v6.1\Lib;C:\Programs\Microsoft Visual Studio 9.0\VC\lib

msbuild subversion_vcnet.sln /t:__SWIG_PYTHON__ /p:Configuration=Release

msbuild subversion_vcnet.sln /t:__SWIG_PERL__ /p:Configuration=Release /p:VCBuildAdditionalOptions="/useenv"
Compiling Subversion under Windows is a piece of cake. So to say.