Index ¦ Archives ¦ Atom ¦ RSS > Tag: code

Query Wikipedia from your terminal

I refer Wikipedia frequently. I use this BASH function to help me do that from the terminal. For explanation of how this works head over here.

BASH function

# wiki
# eg: wiki India
#     wiki Apple_Inc
#     wiki Anglo_Saxon
    dig +short txt $

Example usage

prashanth@prashanth-desktop:~$ wiki India ...

Interfacing Python with C using ctypes

Python is a wonderful “very high level” language with an elegant design. It is an ultimate tool to rapidly develop applications. However, when it comes to performance (speed and memory), Python sucks. It is not meant for performance. So what do you do after building a quick prototype in python ...

Generating call graphs for understanding and refactoring python code

I have always been a fan of visualizations as I believe firmly that it is easier to crunch visual information than anything else. Visualizations are especially helpful for finding out patterns in data that are not expected and for patterns that are difficult to express textually in a concise manner ...

© Prashanth Ellina. Built using Pelican. Theme by Giulio Fidente on github.