BrettW's Tech Tips

Archive for the ‘Programming’ Category:

How much of my Steam library is Linux-friendly?

I primarily work with Linux systems and enjoy the workflow and power that Linux provides. But when I come home, it’s to a Win10 machine. This is mostly for playing games. I feel like I need to make the jump to primarily running Linux at home, with VMs for when I really need Windows. (more…)


Filed under: Programming
Tags:
3 Comments »

Why put your .emacs in org-mode?

One of my favourite new things in my Emacs rebirth was finding org-mode and learning that you can write your .emacs file in org-mode. But why do it?

(more…)


Maintaining consistency in pages using org-mode projects

I use org-mode for a heck of a lot of things nowadays: lecture notes, campaign notes for roleplaying games, and design documents for my projects. I often like to export these as HTML since everyone can fairly effortlessly view web pages on any device.

For large projects, it makes sense to break up your document into sub-documents. For example, in campaign notes, I might have an org-mode document per non-player character or location. For lecture notes, I’m designing courses to be extremely modular, so each component is split out into its own page. This strategy keeps things separate and allows you to easily make customizations per page. But I’d want to ensure that every page maintains some basic settings so I don’t need to maintain them across all the files in my project.

How do you do this?

(more…)


Aspirational thoughts

In my philosophy I maintain two beliefs:

  1. You can program pretty much anything you want.
  2. As adults, we can shape the world any way we deem fit.

(more…)


My SCons build environment

Developers like creating the One True Build system that has all the bells and whistles that you might want. I’m not going to claim I have that, but I’ve made a system that I find quite nifty. It was pieced together from SCons tutorials on the web and my own trial-and-error. Hopefully you can make use of it.

(more…)


Filed under: Programming
Tags:
No Comments »

Widescreen coding

When coding sometimes you need a reference file open alongside your code. I wrote a nice little helper function that puts Emacs into “widescreen mode” to help with this. (more…)


Filed under: Emacs
No Comments »