You are here

Education

Classes and eductation resources.

SCaLE17x MySQL track

SCaLE17x logo

SCaLE has a nice MySQL track this year. As usual, it is Friday. This year it’s in room 101.

Using uMatrix to replace NoScript

In the most recent episode of Free as in Freedom (ep 0x61) Bradley mentioned having trouble using NoScript with current web sites.

As a long-time fan of NoScript, I understand his frustration. Fortunately, there’s now uMatrix.

Hugin and Krita for February East Valley Meeting

PLUG 25th anniversary banner

We have two topics for February’s PLUG meeting. Brian will cover "An introduction to the Hugin Panorama Stitcher" and Phil will cover "Krita basics, drawing assistants and G’Mic".

PLUG is 1/3 of SCaLE 17x LibreGraphics track

This year PLUG members are providing 1/3 of the talks for the SCaLE 17x LibreGraphics track!

The LibreGraphics track runs all day Friday the 8th of March.

Brian’s An introduction to the Hugin Panorama Stitcher talk will be at 13:00 in Ballroom C.

Comparing Strings in the Shell: Pattern Substitution Operator

One problem with using the truncate operator for string matching is case matching.

In the truncate operator example, ${foo%%*ATE} matches SENATE.


DALEK$ foo=SENATE
DALEK$ if [ '' = "${foo%%*ATE}" ] ; then echo "$foo! $foo!"; fi
SENATE! SENATE!
DALEK$

It will not match Senate because ate and ATE are different cases.


DALEK$ foo=Senate
DALEK$ if [ '' = "${foo%%*ATE}" ] ; then echo "$foo! $foo!"; fi
DALEK$

Comparing Strings in the Shell: Truncate Operator

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

It occurred 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.


$ foo=barfood
$ if [ 'bar' = "${foo:0:3}" ]; then echo $foo; fi
barfood
$

LibrePlanet 2018 Experience

LibrePlanet, the Free Software Foundation's annual technology conference, was a great experience in March.

The conference started with a fantastic keynote from Deb Nicholson, "Free software forever."

October PLUG east side meeting

Topic: Command Line Tools Seminar
Instructor: Ryan Hermens

This month's east side meeting is a seminar on important command line tools. It's a good month to bring friends and family that have interest in GNU/Linux.

Thursday, October 11th @ 19:00

Pages

Subscribe to RSS - Education