Posts Tagged ‘console’

22nd August
2009
written by Nick Anderson

Have you ever started writing a one-liner and half way in realized it was a bit more complex than you first thought?

If your shell is bash, next time that happens try ctrl-x ctrl-e.

It will take your current line and stuff it into the your default editor (export EDITOR=vim).

28th April
2009
written by Nick Anderson

Last week I stumbled on a nice console regex helper. It’s not that I’m bad at regex but switching between sed, vim, python, perl regex trips me up a bit sometimes.

Go ahead and check it out for yourself

sudo aptitude install txt2regex


[.]quit [0]reset [*]color [/]programs ^txt2regex$

!! not supported
RegEx perl :
RegEx php :
RegEx postgres:
RegEx python :
RegEx sed :
RegEx vim :

.oO()()
[1-2]:

start to match:
1) on the line beginning
2) in any part of the line

11th April
2008
written by Nick Anderson

As I have said before life at the terminal is a joy. I constantly struggle with keeping myself organized. I actually work pretty well keeping most things in my head. But one of these days I’m going to fall down and hit my head and forget everything. So try and try again to keep myself organized and documented do I. I was recently pointed to TicGit its a ticketing system that is meant to integrate right into your repository. Well I’m not a developer but I can see the benefit for a terminal todo list and general ticketing for myself as well as my little script repository that is actually maintained in git. Well ok maybe maintained is a bit strong of a word. Anyway on to the good stuff. (more…)

BLOGROLL

ARCHIVE