The following are some tools I'd like to note down that are handy when it comes to checking server configurations and security:
I just finished setting up postfix on a Debian 6 machine. All is peachy. However, when I checked my mail logs to see how things were going I noticed a number of entries for messages being sent from firstname.lastname@example.org to root. Checking root's mail led to messages with the following content:
/usr/share/sendmail/sendmail: line 880: /usr/sbin/sendmail-msp: No such file or directory
I repeatedly ran into the following warnings while trying to update my Debian box using apt-get.
I often find myself in situations where I want to download a file from the command-line using tools such as wget. While there are many reasons to doing so, today I needed to do it due to the size of the file and the fact that I needed it on a webserver of mine. So instead of downloading it first to my desktop and then uploading it to my server, I wanted to simply download the file directly from my webserver via the command-line.
I accidentally unpinned my Windows 7 Firefox taskbar icon. While I was able to re-add it easily enough, clicking it to open FF resulting in a duplicate icon being spawned which was where FF was opened. I had to google a bit to find a fix and here it is:
The new Google Analytics interface is quite nice if often annoying. One of the many issues I have been having with it is linking the Adsense account for one particular domain to its equivalent Analytics account. Most of the help documentation is for the previous version of the Analytics interface and the newer docs are not terribly helpful at all. The latter simply keeps asking me to go to the Admin tab and linking the Adsense account by clicking on it or something trivial like that.
Since it wasn't working well enough in Eclipse, I had to muddle around for a solution for the command-line. I found the one below and it's nifty:
Deleting a branch:
git push origin :mybranch
Deleting a tag:
git push origin :mytag
IOW, the syntax is identical for both tags and branches.
If you're trying to get your site to post tweets to Twitter using the Twitter module and if, in the process of authorising the application, you end up with a message asking you to go back to your site and enter a provided PIN number, then you are a bloody idiot.
Just as I was.
After my upgrade to Kubuntu 12.04/Precise Pangolin, I found that while KTorrent worked, it was buggy as right-clicking on torrents did nothing. I blamed this on a configurational mishap during the upgrade and lived with it as I could do perform most operations using the main menu or the toolbar buttons. However, with most sites moving away from
.torrent files and toward magnet links, I found that KTorrent wasn't playing nice with the magnet URIs.
I needed to upload the contents of a lengthy log file to a site earlier today. There was no option to simply attach the file. I was instead asked to just paste its contents. I suppose that I could have opened the file in an editor like Kate and copied its contents to the clipboard. But I became curious as to the possibility of accomplishing this from within the terminal. A little googling revealed the existence of a utility named xsel for this very purpose.