Blog

Tutorial - Write a Shell in C

16 January 2015

It’s easy to view yourself as “not a real programmer.” There are programs out there that everyone uses, and it’s easy to put their developers on a pedestal. Although developing large software projects isn’t easy, many times the basic idea of that software is quite simple. Implementing it yourself is a fun way to show that you have what it takes to be a real programmer. So, this is a walkthrough on how I wrote my own simplistic Unix shell in C, in the hopes that it makes other people feel that way too.

Read more

Why I Switched to KDE

12 December 2014

… and why I don’t think I’ll switch back.

Read more

Interacting With X Clipboard in Bash

03 August 2014

I ran across this neat trick a couple days ago. I was looking for a way to copy command output from my terminal, rather than using the clumsy selection capabilities in my terminal emulator du jour. I hit this Stack Overflow article, which introduced me to xclip, a program that lets you interface with X ‘selections’. These selections are basically text buffers in the X window system. The clipboard is one of them (the CLIPBOARD selection), and so is any text you highlight (the PRIMARY selection). The xclip program lets you use those buffers as the source or destination of a pipeline!

Read more

Hello, World!

02 August 2014

Hello, everyone! This is the inaugural post on the blog for my new personal website. This blog isn’t intended to be a frequently updated chronicle of my life, or filled with memes and cat pictures. You can expect it to contain my occasional thoughts on computer topics, posts about my personal programming projects, and also any neat tips and tricks I feel worthy of sharing with the world. I hope everyone enjoys it. Please let me know what you think in the comments!

Read more
Previous
LegalRSS

Creative Commons License

Stephen Brennan's Blog is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License