# ankursinha.in/blog

neuroscience/fedora/musings

Wed 01 December 2010

# shell script to get word definitions from dict.org

Posted by ankur in Tech (369 words, approximately a 2 minute read)

Edit : There's a list ofcommand line clients for dict.org here already, came across if after I had written the script. What a pity :/

So,

$su -c 'yum -y install dictd'$ dict -f fedora
3 definitions found
dict.org        2628    gcide   The Collaborative International Dictionary of English v.0 …

Mon 29 November 2010

Posted by ankur in Tech (254 words, approximately a 2 minute read)

Most of us who hang around on #fedora have a number of aliases that come in handy while troubleshooting. I thought I'd put them up here so people could have a look. You can place these in your ~/.irssi/config file.

fedoraYumConfig = "/me points $0 to http://fedorasolved.org/post-install-solutions … Read more... Sun 28 November 2010 # vim : copying to the system clipboard Posted by ankur in Tech (267 words, approximately a 2 minute read) Copying a file off vim to paste some place is sometimes a problem. If you have line numbers enabled, you must disable them before selecting the text, plus you manually need to re-compose your lines that broke during the paste etc. I was pretty sure that there would be an … Read more... Tue 23 November 2010 # The fedora distribution process needs your help! Posted by ankur in Tech (166 words, approximately a 1 minute read) Hello!! Do you send out fedora media to people? Do you distribute fedora to your classmates and colleagues? Do you hold and attend events to help distribute fedora to more and more people? Most of us do, and are therefore a part of the Fedora Distribution Team. The Distribution team … Read more... Mon 22 November 2010 # Note to self : command line text utils Posted by ankur in Tech (81 words, approximately a 1 minute read) 1. vim spell check support : http://tips.webdesign10.com/vim/how-use-vims-spellchecker 2. LanguageTool : not yet packaged for Fedora. Needed for the vim LanguageTool script plugin. 3. vim-latex along with the texlive packages. 4. DeTeX : Not yet packaged for Fedora. 5. evince-dvi : evince backend to view DVI files 6. wc : for word counts and such 7. wordnet : A … Read more... Fri 12 November 2010 # System crash : away for 10 days Posted by ankur in Tech (74 words, approximately a 1 minute read) As the title reads, my system crashed in the morning today. It's not the hard disk. It looks like the mother board is fried. The system has been sent for repair. Therefore until I get a new system, or this one repaired, I will not be able to respond to … Read more... Sat 06 November 2010 # Resizing pics : A simple command line approach Posted by ankur in Tech (58 words, approximately a 1 minute read) First install the required package: $ yum install ImageMagick


Then,

$cd /path/to/photos/to/resize$ for i in *.JPG ; do convert $i -resize 25% new$i; done


That's pretty much it! This is very very simple. You might have to check if the file names have spaces etc. (my camera …

Wed 03 November 2010

# If VirtualBox fails to start for you ...

Posted by ankur in Tech (4 words, approximately a 1 minute read)

Wed 03 November 2010

# Trashing from the terminal : non destructively!

Posted by ankur in Tech (106 words, approximately a 1 minute read)

I've got this habit of using rm and Shift + delete when I come across a file that I'm not using. It's been costly at times when I've removed files that I would later need. Now, since I've paid dearly a few times, I've decided that the following are a must …