Categories
Motorbike Technology

2012 Royal Enfield Classic 500 specifications

I am a proud owner of 2012 Royal Enfiled Classic 500cc . I rarely find complete specification on Internet so I uploaded myself.

Royal-Enfield-Classic-500-UCE

Categories
Emacs Programming Technology Tutorial

Power Programming with Tags

Source tagging is very powerful source code navigation system, it beats any state of the art IDE. If you are using Emacs, Vim and TextMate then you can use source tagging for navigation. Here are the few simple steps to do it.

Step 1. Install ctags in your system. For mac

$ sudo port install ctags

Step 2. Create A tag file

$ cd /Users/username/Workspace/rails-project
$ ctags -e -a --Ruby-kinds=+f -o TAGS -R app/ lib/ config/

It is best to add this in crontab for this around 11:30am

Step 3.1 emacs

M-. Follow a tag
M-* Jump back to source.

Step 3.2 vim
just add this in your ~/.vimrc

set tags=TAGS;/

Once this is done you can navigate to source of tag by using.

C-] - go to definition
C-T - Jump back from the definition.
C-W C-] - Open the definition in a horizontal split

Hope you will be able to use this awesome feature.
C is ctrl
M is Meta/Alt/Ecs

Categories
Motorbike Specification Technology Uncategorized

2009 Pulsar 150 specifications

I am a proud owner of 2009 Bajaj Pulsar 150cc DTSi. I rarely find complete specification on Internet so I uploaded myself.

2009 Bajaj Pulsar 150cc DTSi
2009 Bajaj Pulsar 150cc DTSi
Categories
Review Software Technology

Curl – A gentle slope system

Curl – A gentle slope system

Recently I (Shishir Sharma ‘criss’ )came to know about Curl Language. It’s a MIT – DARPA project. It’s a multi-paradigm hybrid functional language. Curl is reflective, homo-iconic, object oriented programming language. It supports closures, macros and declarative layouts.

Its syntax is based on TEX and has a big set of formatting operations. Curl is very scientific language, As they state …

“one uses the same easy-to-learn syntax to create interactive documents as to create regular text documents.”

Categories
Technology

GnuWin32 – GNU on Windows

As we all know, all the windows user are cursed by proprietary tools. It’s tough to find standard tools which are available on Linux.

I was looking for a code indenting tool on Windows XP. The obvious choice is GNU indent, I have used it on Fedora. Thanks to GnuWin32 which provides ports of gnu indent with an open source license, on Windows.

GnuWin32 provides ports of tools with a GNU or similar open source license, to MS-Windows (Microsoft Windows 95 / 98 / ME / NT / 2000 / XP / 2003 / Vista / 2008).

The GnuWin32 project provides Win32-versions of GNU tools, or tools with a similar open source licence. The ports are native ports, that is they rely only on libraries provided with any standard 32-bits MS-Windows operating system, such as MS-Windows 95 / 98 / ME / NT / 2000 / XP / 2003 / Vista. Native ports do not rely on some kind of Unix emulation, such as CygWin or Msys, so that there is no need to install additional emulation libraries.

At present, all developments have been done under MS-Windows-XP, using the MinGW port of the GNU C and C++ (GCC) compilers. Utilities and libraries provided by GnuWin32, are used and distributed with packages such as GNU Emacs and KDE-Windows.

The packages that have been ported, fall into four broad categories:

Categories
Technology

Python 3.0

Well, Python has good news. Python Enhancement Proposal 3000 (pep 3ooo) states that py3k project will lead to a new version of python which will be no longer compatible to 2.x.

The original pep 3ooo was written in Apr 2006, and since then developers are constantly improving the language.

The pep 3ooo states Python 3.0 will break backwards compatibility with Python 2.x.