DerGrobe's blog

Started with Moose

Since my early Perl days decades ago, wow, it's really more than a decade ago, probably two, since I started programming with Perl, I thought about OO style.

OK, frankly not in the first years, because the scripts were small and mastering the language the main challenge. But with time passing by the projects grew and the need for nice interfaces, clean and maintainable code grew as well.

Themen:

Development:

Replace tabs with spaces in Emacs

In fact this is just a re-post of Julien Palards blog entryEmacs: replace tabs with spaces. I just want to keep it for my personal memory:

Themen:

IMAP connection from the command line

While I connect to an SMTP server via telnet regularly, I do it seldom for IMAP servers.

More as a personal note I want to cite what I found on imap via linux shell

Connect to server:

# IMAP
nc SERVERNAME-OR-IP 143
# IMAPS
openssl s_client -connect SERVERNAME-OR-IP:993

# IMAP commands:

Themen:

Internet:

Started using Dist::Zilla

Since I haven't started a new Perl project for a while and especially none where I wanted to use CI, I was using ExtUtils::MakeMaker.

However the options of downloading dependencies are very limited and from Java I was used to such a nice build tool like Gradle. Unfortunately the Gradle support for Perl is very limited... at best.

Development:

Gitlab registry and upload problems which Apache as proxy

I use Gitlab CE already for quite a while and started with integrated CI recently. I really love the ability to run tests automatically and see the results...

My new Perl project uses some modules from CPAN, well, more or less every project does, and I started using Dist::Zilla. This is a different story to tell...

However, with Dist::Zilla I'm now able to get all dependencies and test my project properly. What else do I need, yes, a docker container besides a nice .gitlab-ci.yml file.

Linux:

Internet:

Back online

It's been quite a while, over 4 year actually, that this page was dead...

Too long...

However, I took the effort, did the cleanup, removed the spiderwebs, comment spam, updated everything and now, it's back.

Will I start blogging regularly? I have no idea to be quite honest. We'll see... :)

Themen:

Kultur:

SVN: Relocate all subdirectories

I had to change the location of a SVN server for quite some working copies since we migrated from Subversion 1.4.6 to 1.7.1 and change the protocol from svn to http.

  1. for dir in $(ls); do 
  2.     if [ -d $dir ]; then 
  3.         echo "Processing $dir"; 
  4.         cd $dir; 
  5.         url=$(svn info| grep URL | grep "svn://" | sed 's#URL: svn://old-server/path/to/##'); 
  6.  
  7.         if [ "x$url" == "x" ]; then 
  8.             cd ..; 
  9.             continue; 
  10.         fi; 
  11.  
  12.         echo $url; 
  13.         svn relocate <a href="http://new-server/new/path/to/">http://new-server/new/path/to/</a>$url; 
  14.         cd ..; 
  15.     fi 
  16. done

Themen:

Development:

Adding ant-svnlib to Net Beans

I wanted to add some additional plugins to the ant build for Netbeans to automatically do some tagging if Ivy publishes the file. Fortunately I found a related post that pushed me into the right direction.

You simply have to copy your JARs to

Themen:

Development:

Moved from EveryDNS.net to freedns.afraid.org

As I already wrote I use EveryDNS.net for my secondary DNS server. Quite a while ago EveryDNS.net was bought by Dyn Inc.

Now the time has come that all the customers are migrated, of course it's not free of charge, somebody has to pay the bill and the secondary DNS service won't be free of charge any longer. The deadline is the 31st of August 2011, so it's seems to be a good time to start looking for something new.

Themen:

Internet:

Pages

Subscribe to RSS - DerGrobe's blog

Syndicate

Subscribe to Syndicate