Category Archives: Googling for Answers
Stop Nano from adding newline character to end-of-file
I use Nano for all of my cli text file editing and I had always noticed that it puts a newline at the bottom of the file, but this has never bothered me much. Well today it caused me quite a headache at work, so I had to figure out […] Continue Reading
Debian: show a list of all packages that are to be upgraded with apt
This is a super easy one, and can easily be found in the man page, but I’ve googled it enough times that I think it’s worth including here. To see packages with available upgrades, without installing them, use the -u option: apt-get upgrade -u […] Continue Reading
jQuery: Execute a callback once, after a class based animation completes
I was developing some web recently and ran into a jQuery problem that was new to me. I was using a class selector to fade a group of elements, and using a callback function which would fire after the fade was complete. Something like this:
[note color=#DDD] $('.myclass').fadeOut('fast', function() { […] Continue Reading