You are here

tool

comparing strings in the shell

While creating materials for my bash class I needed to create some globbing exercises for my students.

It occured to me that a string operator and a comparison to the null string can be used to check if something is a substring of another value.

Sure, you can use Substring Expansion to see if the substring is at a known location such as "Does the value of $foo start with 'bar'?", but length and location are often unknown.

Say, for instance, I wanted to know if it's a word a Dalek would shriek? Easy to do with regular expressions: grep ate$ /usr/share/dict/words.

CentOS Dojo this Friday in Scottsdale

CentOS has started a new series of one day conferences. The second CentOS Dojo is taking place in Scottsdale this Friday. Karanbir Singh is in town to lead the conference.

Scheduled talks cover topics such as Logstash ( scalable log management and searching ), Sensu ( scalable monitoring framework ), CentOS Linux kernel tuning, high volume metrics collection, CentOS and Xen virtualization, ARM architecture servers and SSH.

new modules for shell scripting class

Added several modules to my shell scripting class tonight. Added a couple that had been recently been created. Also added a couple I created tonight. Good work on a couple others as well, but they're not yet going online. Working on a lab exercise now. It should be available for tomorrow.

giving Nginx presentation as SCaLE

SCaLE has once again accepted one of my talk proposals. This year they've tagged me to talk about Nginx.

SCaLE 10x call for proposals ends Thursday

SCaLE's 10x call for proposals is closing Thursday. There is a bit of effort required for speaker registration, so don't wait until Thursday night to start.

Note that SCaLE 10x is a litte earlier in the year than past SCaLE conferences as it's now in January.

SCaLE 10x: January 20-22, 2012 at the Hilton Los Angeles Airport Hotel.

ABLEconf 2012 Call for Participation is open

The ABLEconf call for participation is open. We're looking for technology experts and business leaders to discuss how open technologies can help transform Arizona businesses.

This year we're allowing tutorials, panels, labs and hackfests in addition to presentations. Submit something interesting.

Early bird deadline is 2011Nov20.

SCaLE design contest ends Friday, 2011Nov04

For its 10th anniversary SCaLE is running an art contest. The winner gets a free trip, including airfare within the continental US, to Los Angeles for SCaLE 10x.

Look to SCaLE's page on the contest for details.

SCalE 10x is 2012Jan20-22.

SCaLE SSH Tunnels link to video

Here's the link to the video feed for my Tunneling With SSH talk tonight at SCaLE9x. 16:30 California time. Requires allowing javascript for conferencebywire.com and flash.

got Percona some consulting

Yesterday, I got Percona some consulting. Feels good to give back to a company that has certainly helped me out without ever interacting with me.

One of my students asked for references on improving a MySQL setup that had rolled over for his job. While I did recommend some local resources, I also recommended Percona. We had just talked about performance tuning, so the question was even on-topic :).

Presentation accepted for SCaLE 9x

Apparently my Tunneling with SSH presentation was accepted for SCaLE 9x as I'm on the schedule. No email confirmation yet. I presume that'll come through soon.

This presentation is an expansion and update of my Linux Journal article on how to Use SSH to Cross a Suspect Host Securely from last year.

Pages

Subscribe to RSS - tool