I hereby claim:
- I am perl2ruby on github.
- I am intercal (https://keybase.io/intercal) on keybase.
- I have a public key ASBNni9ekNTVNRRonkTGYmUbgo9KJuzd91FbVarmurOdago
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
ruby -lne ' puts %Q{==== group: "#{$_}" ====}; system %Q{rpm -qg "#{$_}"}' /usr/share/doc/rpm*/GROUPS |
How to build mono (.NET) on Ubuntu (lucid) | |
========================================== | |
(ref: http://www.mono-project.com) | |
- Add the following to /etc/apt/sources.list | |
deb http://badgerports.org lucid man | |
$ sudo apt-get install gtk-sharp2 | |
$ sudo apt-get install mono-xsp2 |
// Dealing with named grouping in regular expressions in .net | |
using System; | |
using System.Text.RegularExpressions; | |
using System.Collections; | |
public class RegexEg1 | |
{ | |
static public void Main () | |
{ | |
string[] words = new string[] { |
Dynamic Capistrano: | |
Is a way of writing a capistrano Capfile where roles, tasks, namespaces etc. are | |
dynamically generated and not much is hardcoded in the file. This allows for tremendous | |
amount of flexibility in creating much more powerful Capfile. This also facilitates the | |
reuse of roles/tasks across projects (by sharing of config files), eliminating the problems | |
related to duplication. | |
[Thanks to Alain Hoang for suggestions and feedback] | |
Dynamic Capistrano relies on the main Capfile and a bunch of other config files which provide: |