Andrew Sharrem

General Manager @ National Fire & Security Ltd.

Developer & Curator of NxOS; A lightweight Ubuntu Distribution specifically developed to run NxWitness (by Networkoptix) as a Server & Client Appliance.



This public github hosts various files & scripts specific to NxOS, as well as some code that aids various projects I work on.


NxOS Screenshots
  • NxOS components
  • NxOS Live USB Installer - Screenshot
  • NxOS Main Menu - Screenshot
  • NxOS running Nx client
Cascading Windows on Openbox WM

Openbox is a [floating/stacking] Window Manager. For a number of years I've been searching how I might "Cascade" open windows, with most every reference saying it can't be done with Openbox alone, and to use a "Tiling" application. Tiling is achieved by Openbox Keybindings. Cascade_rc.xml is a keybind I wrote that cascades Openbox client windows (per monitor) with no other app required. Using the built-in looping action/condition we can achieve a "cascade per monitor" keybind.

The basic nested loop structure is a bit like a card shuffle;


    ForEach
      Resize Window to Top Left
      Lower
      ForEach
        Nudge All other Windows
      End ForEach
    End ForEach
                
cascading openbox windows Cascading Windows via Openbox Keybinds
Classless CSS

Starting a new HTML project usually involves deciding what CSS framework to run with. Learning a CSS framework was something I didn't want to do. Fortunately I found "Classless" CSS, which made my semantic HTML look much better!

Learn more