Skip to content

Tech

Linux Commands: nl

    This post contains affiliate links that support my writing at no cost to you. Thank you x There is an incredible selection of little Linux commands that will do all sorts of things to your… 

    Turn On Line Numbers in Eclipse [Luna]

      Personally, I’m not sure what any code editor thinks it is doing by not having line numbers switched on by default. But, each to their own, so if you want to see your line numbers… 

      Fedora 21 Open Terminal From File Manager

        If you use the command line a lot (like me!), then being able to switch quickly between the graphical file explorer and a terminal window in the same location is a fantastic timesaver. On gnome… 

        Increase 30 Second Screencast Limit On Fedora 21

          I wrote a post a little while back explaining how to use the built-in screencast tool on Fedora 20. I’ve just noticed that the latest Fedora release (21) limits the screencast length to 30 seconds.… 

          Headless Boot Of Raspberry Pi Using A Static IP Address

            (Looking for headless boot using DHCP?)

            If you don’t have a DHCP server running on your home network, or you want to allocate a specific ip address for your Pi – maybe because you want to access it via a second network port on a local machine, or via a standard hub – you can still headless boot by setting the ip address on the SD card beforehand.

            You will need:

            1. A computer running Linux (mine is Fedora 20).
            2. A Raspberry Pi and compatible power adapter.
            3. An ethernet cable.
            4. An SD card for the Pi OS

            Headless Boot Of Raspberry Pi Using DHCP

              I’ve been meaning to do something with this amazing little machine for a long time. It really appeals to me because you can use it just like an embedded target device – in other words, you can do embedded programming at home for very little cost.

              This tutorial walks you through the set-up of your Pi without all those pesky peripherals, like a keyboard and monitor.

              This is known as a headless boot, and it’s a basic embedded technique for dealing with target devices.

              Screencasting on Fedora [20]

                To start with, did you know you can record a screencast on Fedora just by pressing CTRL-ALT-SHIFT-R?

                No?

                Me either. How fantastically easy is that?

                Once you’ve pressed the keys, you get a little red circle in the top right of your screen that indicates recording is on. When you’re done, just press CTRL-SHIFT-ALT-R again to stop.

                The file will be automatically saved in your <user>/Videos folder with a name along the lines of:

                Screencast from 17-10-14 11_57_52.webm

                Importantly, this DOES NOT record audio.

                Well that’s annoying.

                Tutorial: Elgato Game Capture HD + PlayStation 1 Setup

                  PlayStation 2 set-up is here.

                  For an explanation of why we need a third party converter for this set up (item 6 below), see this post.

                  OK, you will need:

                  1. PlayStation 1 (or a PS2, it doesn’t matter)
                  2. PlayStation 1 game
                  3. Telly with HDMI input (see photos below)
                  4. Elgato Game Capture HD
                  5. A laptop or conveniently located computer
                  6. A composite to HDMI converter (see step 3) – this is an extra purchase and does not come with the Game Capture. You may not need this if you have an older TV. To find out, follow the PS2 setup instructions. If you get no picture on the TV with a PS1 (or with PS1 games on your PS2), it is likely that your TV doesn’t support the lower PS1 game resolution over HDMI.