Is there official documentation for `alias` in Ruby 2.x? - ruby-2.0

I can't seem to find any documentation for Ruby's alias keyword in Ruby 2.
I can find lots of non-official pages that talk about it, but nothing official.
Is there an RDoc or something for alias?
Note: I'm not talking about alias_method, which does have documentation. I'm talking about the plain old alias keyword.

Look in Miscellaneous Syntax on Ruby-Doc

Related

How can parse through the given link in python to obtain the company name and the symbol from yahoo finance?

I want to parse in the following 2 links given as http://in.finance.yahoo.com/gainers?e=bo and http://in.finance.yahoo.com/losers?e=bo (Gainers and Losers).
Can lxml be used or some other python module?
Yes, you could certainly use something like lxml, or beautiful soup.
An example of the latter can be found here.
I would think that your best bet would be scrapy. Since it is specifically aimed at scraping web sites it should be quiet simple to do if you look at the documentation.

Is there a way to use the stackexchange syntax for posts, commits comments, wiki... in redmine

Is there a module or a simple way to enable the syntax from stackexchange in redmine?
Yes, there is a Markdown formatter plugin for redmine. It probably doesn't match SE's markdown flavour exactly, but it'll put you in the right direction.
Using the latest version of redmine (2.2.2) I found that none of the plugins on the website worked.
I finally found a fork of redmine_markdown_extra_formatter which works with the current version of redmine.
For reference I tried:
redmine_markdown_formatter
redmine_markdown_extra_formatter
redmine_redcarpet_formatter
chiliproject_markdown_formatter
redmine_ultraviolet

Anybody know what editor MediaWiki and Wikipedia are using?

Just started a Wiki built on MediaWiki and is disappointed with the default editor. Have seen the text editor on MediaWiki and Wikipedia (when editing) and they appear to be the same. I was wondering if anybody knowns what that editor is and how can I install it on my MediaWiki. Thank you very much!
From version 1.18 it is built-in the media wiki installation. You just have to enable it.
Look at this.
Personally found my answer, it appears to be within the usability initiative.
read this

emacs feature similar to netbeans templates?

In netbeans you can store some code as template and call it back whenever you like by typing a specific word and TAB..is there a similar emacs feature, and if yes how can I use it?
thanks in advance!
There are a couple of libraries that come with emacs that provide this kind of functionality. SkeletonMode and TempoMode both allow you to insert templates into your code. They can be combined with AbbrevMode to automatically trigger on keywords, like in NetBeans.
Yasnippet is a much more full-featured library to do the same, bundled with lots of defaults for various languages. It is not currently bundled with emacs.
Yes, take a look here : http://code.google.com/p/yasnippet
In addition, you can watch this video : http://www.youtube.com/watch?v=76Ygeg9miao
I used to use ELSE Mode very heavily when I was doing a lot of programming by voice.

C++ and Thrift: Reference needed to get started

I have read about Thrift while trying to find out how to use Google Protocol Buffers. I have been searching for some reference that shows how to go about using it with a simple working example for C++. It's been frustrating not being able to find any such site. It is a bit surprising that almost all the examples use Java, a language that has cross-platform RMI already at its disposal. May be I have missed something in searching, and I would very much appreciate if anyone can give a reference to a tutorial with a working example, however small.
TIA,
-Sviya
I've never used Thrift, but Googling for "thrift" brought me to this page - http://incubator.apache.org/thrift/ - which has a C++ example at the bottom of the page.
The thrift wiki has this page - http://wiki.apache.org/thrift/ThriftUsageC%2B%2B - which has more info on using it with C++
Also,
once when you install thrift in folder tutorial you have example of thrift file,
server&client implementations in different languages and README file.
This is good place to start!
Because there were no tutorial on the web, I created one in my blog.
You can check my full tutorial about Thrift in: My Blog
Since it's too long, I cannot post my answer here. But I think my blog is a good resource for anyone who wants to get started with Thrift.