Quantcast
Channel: bramp.net
Browsing all 24 articles
Browse latest View live

LaTeX Error: File `layaureo.sty’ not found

I was getting the error ./cv.tex:11: LaTeX Error: File `layaureo.sty' not found. when trying to compile an old tex document of mine. It seems layaureo is missing from TexLive 2009, the default on...

View Article



Failed Ubuntu update

While trying to do a “do-release-upgrade”, to upgrade to Ubuntu Precise, I encountered a error that Google did not find a satisfactory answer for: An unresolvable problem occurred while calculating the...

View Article

MRI scan of my brain

I had a MRI today, and afterwards I was given a CD of my scan. The data on the CD was stored in DICOM format, and after some searching I was able to find some open source software to view the data. I...

View Article

Abusing Google’s “I’m Feeling Lucky” to work like bit.ly – brampA2D

I wondered if I could use Google’s I’m Feeling Lucky button just like bit.ly. I would pick a unique word and get it ranked #1 on Google. So I’m going to run a little experiment. The link...

View Article

Image may be NSFW.
Clik here to view.

I have native IPv6

I’m more excited than I should be, but today I noticed that Comcast has enabled IPv6 on my home internet connection. All my devices in the home have picked up one or more Internet routable IPv6...

View Article


Gmail tagged 48 valid emails as spam

I just noticed, but on the 29th of July Gmail tagged 48 emails I received as spam. Did anyone else see a problem?

View Article

Groovy / Grails

Over the past couple of weeks I’ve been playing with Groovy and Grails, and after a somewhat frustrainting week I thought I’d share my thoughts. Groovy is a dynamic language that runs in a standard...

View Article

RFC 1123 dates in PHP

While playing with REDbot I realised my last-modified headers (being sent by PHP) were not RFC 1123 complaint. A complaint date looks like Sun, 06 Nov 1994 08:49:37 GMT. There are two ways to generate...

View Article


Setting up git-p4

I couldn’t find a good article on setting up git-p4, and for some reason most of the articles out there point to dead URLs. So I figured I’d quickly write this up. Git-p4 is a tool for using git on top...

View Article


Uses Make to parallelise a task

I needed to run a CPU intensive script over a directory of files. Each file would be run independently, and I was using bash to achieve this: for $i in *.txt; do ./script $i; done This works fine,...

View Article

pt-kill CentOS init.d script

pt-kill is a neat little application that can stop long running MySQL queries. It was formally know as mk-kill before Percona took over the project. Here is the init.d script I use (as one doesn’t seem...

View Article

Image may be NSFW.
Clik here to view.

libcec-daemon

Many months ago I purchased this cool little device from Pulse Eight, called a USB CEC Adapter. Basically it allows your computer to speak to a HDMI device over a protocol called CEC. This is useful...

View Article

Image may be NSFW.
Clik here to view.

Nodewii talk at Node DC

Last night I gave a short talk at NodeDC, on how to use Node.js with a wiimote. The offical title was “Controlling Node.js with a wiimote – My experiences with developing multi-threaded nodejs addon”....

View Article


JSHint ‘x’ is an implied global variable

I’ve started using JSHint to check my javascript. One error I encountered was: Errors: 85,5:'grammar' is not defined. Warning: 85,1: 'grammar' is an implied global variable. This is saying that I’m...

View Article

Invalid IP range checking defeated by DNS

I’ve seen a particular kind of vulnerability in a few different applications but I’m not sure of an appropriate name for it. So I thought I’d write about it, and informally call it the “DNS defeated IP...

View Article


How many ways are there to say phone number?

In the various systems I’ve worked on, I have seen far too many terms to describe a phone number. I thought I’d catalogue them! CTN – Customer Telephone Number PTN – Personal Telephone Number MTN –...

View Article

MongoDB Compression

For a while people have wanted MongoDB to compress their data, or at least compress their field names. This would be beneficial in not only reducing the amount of disk space required, but also in...

View Article


Draw UML Sequence Diagrams with Javascript

I’m happy to announce one of my projects, js-sequence-diagrams. This uses Javascript to draw UML sequence diagrams in SVG format. Here is an example: You can alter the diagram in real time, and I even...

View Article

Most starred project this week, and second most forked.

After getting my js-sequence-diagrams project onto Hacker News, the popularity has gone viral.

View Article

Alignment of Raphaël Paper.text(…) and Paper.print(…)

Working with Raphaël I noticed the alignment of text drawn with the Paper.text(…) and Paper.print(…) methods differed. The documentation wasn’t helpful in explaining the difference, so I wrote a simple...

View Article
Browsing all 24 articles
Browse latest View live




Latest Images