Those Pesky .DS_Store Ba****ds

Apple has achieved great things in its time. DS_Store files are handy if you’re a regular user with a lot of folder preferences, like where you want your icons to appear and so forth.

If you’re like me though, and you often mount network volumes on your macOS system, you’re probably fed up with some extra, unnecessary, unwieldy DS_Store files.

There is a kind of solution. Handily, you can disable the creation of DS_Store files on network volumes mounted in macOS like so: Continue reading “Those Pesky .DS_Store Ba****ds”

Video Backgrounds with HTML5

With the HTML5 <video> tag it’s easier than ever to make a simple video background and incorporate it into any web design. The <video> element supports several encoding formats, including H.264 and WebM.

WebM is a Google-driven, BSD-Licensed compression codec designed for maximum portability. Streaming quality is very good while data usage remains relatively low.

Encoding a WebM video is fairly simple with ffmpeg:

ffmpeg -i video.mp4 -c:v libvpx -crf 10 -b:v 1M -c:a libvorbis output-file.webm

Continue reading “Video Backgrounds with HTML5”

Globbing

In my research I came across the term ‘globbing’ and immediately looked it up. Turns out I’ve been globbing for years! 😄

You glob when you specify *.jpg looking for all JPEG files, or ?at for any three characters ending in “at”.

These glob patterns are defined using special wildcard characters.

The most common wildcards are *, ?, and […].

Continue reading “Globbing”

Init Levels

0 Halt the system.
1 Single-user mode (for special administration).
2 Local Multiuser with Networking but without network service (like NFS)
3 Full Multiuser with Networking
4 No Set Purpose / Customizable
5 Full Multiuser with Networking and X Windows(GUI)
6 Reboot.

Manipulating Text Streams

Manipulating Text Streams

 

Manipulating Text Streams

Processing Text Streams Using Filters

For manipulating data in Linux there are several commands that do several things and many of Linux’s utilities can be combined together using pipes and redirection to complete complex tasks.

It’s important to know how each program operates to fully leverage their value as tools. Keep in mind how a program formats output, and what input the program will accept. Options are also powerful tools that can change the way a program operates.

A working knowledge of all of these options and commands will come the more you use them, so finding exercises and practical applications for each one is a good idea. Referring to the Manual Pages for any tool is also easy.

The following tools have been designed to format, display, and/or summarize data in some way.

Continue reading “Manipulating Text Streams”