Tag Archive for "linux"

18 May Ivette – Build Log 2 – Case Build

In the interest of actually getting this done, I will try and keep this as brief as I can. I might, however, elaborate at a later stage.

Day 0

After much waiting the day had finally come, when the parcel collection card for my screen showed up in my mailbox, meaning I could finally start the build. I picked it up from the post office straight away, and un-boxed it on my lunch break at work.

I also tried out some ideas for possible internal component layouts, using the provided cables. In doing so, I found that I had to have the HID USB cable sticking out of the case in order to have the rest of the RPi’s ports be accessible from the outside. While this was inconvenient, there was not much I could do about this without doing some heavy modifications to the ports, which I was not ready to do. So I would have to live with that slight issue for the time being.

(more…)

09 Feb qr-send: a simple image-based transmission method

Long time no post. So to make it easy for myself to get things started for this new year, I will post about something small and simple. Namely, qr-send.

qr-send is a solution to the problem of “How do I get short bits of text from my computer to my phone?”

Sometimes there might be a URL or a short bit of text you need to get onto your phone for whatever reason. Maybe you find an article you want to read later on your way home from work, maybe you have a bit of text in a document that you want to text over to a friend, or if you are a web-developer like me, you might want to open a website in your device’s web-browser to make sure everything works on the smaller screen.

Sure, you could just type it out. But unless the text is really short then that might not be that easy. You might have a long and complicated URL or other bit of text which contains a bunch of random looking characters, like a hex-encoded hash. Then it would be both tedious to type it out by hand, and there would be a high risk of making mistakes. So manual typing here is not an option.

Now, depending on your device, you might have a whole range of other options available. You could send it via Wifi, but what protocol would you use, and what about security? You could use Bluetooth, but you would need a Bluetooth dongle in your computer. Also many of these options requires a fair bit of configuration to get working satisfactory. You could also download some App™ to both your computer and your device which sends the text via The Cloud™ somehow, but personally I try and avoid those sorts of solutions as much as I can.

qr-send, however, is a very simple solution to this problem (At least compared to some of my examples above). All it does, is it takes the text you wish to send as it’s input, encodes that text into a QR Code image, and then displays that image on your screen. And then all you have to do is open up your QR Code scanner of choice on your device and scan the code, and the text will appear on your phone ready to be copied opened with your browser or copied to wherever it’s needed. Simple as that.

(more…)

20 Sep Keep bootstrap from taking up space and time in projects

If you are anything like me, then you probably have a bunch of web project’s git repositories in a folder on your computer, each with their own copy of bootstrap on them setup as a git submodule. That is all good and well, but you might not know that all of those bootstrap copies (as of writing) take up 104.8 MiB each! Which if you manage lots of sites like I do then it easily adds up to a few GiB. This article will go through a method of limiting the space that these copies take up as well as save you some time when you setup new projects.

(more…)