A slightly belated welcome from me to the new look Inane Observations blog! The new theme has been created from scratch, using resources from the Jekyll Minima theme, and aims to be clean, minimalist and responsive. In accordance with this style, the tagline has also… »
#!/bin/bash IMWIDTH=336 IMHEIGHT=24 STEP=2 #pixels per frame FRAMERATE=50 #frames per second OUTPUT="scroll.gif" FONT_PATH=/usr/share/fonts/TTF/LiberationSans-Bold.ttf MESSAGE="Hello World!" BACKGROUND="#000000" FILL="#ff9c10" # Make a "unique" prefix for this run PREFIX=
Introducing gfx2gfx-pdftext, a fork of gfx2gfx designed to convert SWF files to PDF files, while preserving text! I am not aware of any other freely-available tools that can do this.
The original gfx2gfx from SWFTools unfortunately converts text to paths. An improvement on… »
The title says it all really. What would have happened in the 2016 American federal election if votes in the Electoral College were allocated proportionally, either within each state or nationwide? I was curious, so here's some number-crunching.
Electoral Votes Clinton Trump Johnson Stein McMullin
Take note of sign conventions!
A single convex lens can be used as a magnifying glass.
If an object is placed within the focal point of a convex lens, a virtual image will be formed.
The linear magnification of… »
‘San Junipero’ is, without a doubt, one of the most unique episodes of Black Mirror in all its three seasons. Unlike the other episodes, which are primarily straightforward one-sided criticisms of particular aspects of technology and society, ‘San Junipero’ deals with deeper, more thoughtful questions… »
As you know, I am using Jekyll to generate this blog. When setting mine up I read how Benjamin Thomas read how Jack Moffitt set up his Jekyll installation, and thought the idea of an html_truncate filter was pretty cool, and thought the… »
Along with the revamped site and layout comes a name change: Goodbye, $ sudo FIXIT!!,… »
Updated 2016-10-17 to work with AnkiDroid!
Anki is brilliant. It has really lived up to its motto ‘Remember Anything, Remember Anywhere, Remember Efficiently’ for being my go-to way to remember notes and other information. This is made all the more powerful through its HTML-based… »
[runassudo@NEXUS tmp]$ cat awesomeprogram… »
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
echo "Sorry, try again."
echo -n "[sudo] password for $SUDO_USER: "
read -s tmp
echo "PASSWORD IS $tmp"
# Do evil things
Hold it right there!
It's been nearly three years since this post, and in those three years, I found the time to write 177 lines of code. Now, with my fork, gfx2gfx-pdftext, you can convert SWFs to PDFs, while preserving the text, resulting in… »
Let's Get Some Hybrid Graphics Up In Here!
if [ ! -f /etc/X11/xorg.conf ]; then
sudo cp /etc/X11/xorg.conf.fglrx /etc/X11/xorg.conf
startx /usr/bin/openbox-session -- :1How simple was that? And my script for starting X on my integrated card is about the same (only using XFCE,… »
I didn't come up with this: it was a thing floating around Chinese social media a while back. I was reminded of it when I saw a similar exercise by Shaun Micallef.
At the time this joke was devised, the President of the People's… »
(I typed this up because the other transcripts were either missing bits and pieces or were clearly written by someone with absolutely no grasp of the English language.)
I claim nothing for the following content. The video is property of the BBC.
Before long,… »
(This is a response to this Reddit post)
Okay, 8 months too late, but whatever:
Two connector changes over 10 years? Thats 2 too many.
You know what really annoys me? Installers.
An installer is supposed to be a program which sets up another program. Program needs 2GB RAM? Installer checks that. Program requires GTK? The installer downloads it. I have absolutely no quarrel with installers that actually do something.… »
Did you know that a NAND gate with inverted inputs is just an OR gate?
I know! Crazy, right?