Monday 24 November 2014

Readers For learning amazing skills of Tai Chai A Martial Art 
Simplified Tai Chi Chuan

A Video Tutorial
Buy And I will be sending a DVD to your postal address
Details just mail at gistservicesz@gmail.com



Sunday 23 November 2014

JNTU WORLD Website Closed

{www.jntuworld.com ] Website Closed by State Govt

Jntu World is a Popular Site for all JNTU (Jawaharlal Nehru Technological University) Stuff, which Provides all types of Information about Exam Results, Notifications, Time tables, Study materials and many details of the examination for the students who are affiliated to Jawaharlal Nehru Technological University of Hyderabad, Kakinada, Anantapur and Jawaharlal Nehru Architecture and Fine Arts University.
 Jntu world is a Social Service website which was Started 5 Years back by a B.tech Student to help the Students who are studying in this university can know the complete details about the university and students can know every update from the www.juntuworld.com just by sitting in home. There are many exams are conducted by this university, so this site will update each and every details of the examination from the Jntuh, Jntuk and Jntua and they even provide study materials to all branches. Therefore many students regularly open this site for the info of the jntu.

JNTU WORLD

According to sources, Now jntuworld.com is Officially Closed. When we are trying to Access the site, Google search results showing that the website is Closed. The Official Facebook page of website JNTU WORLD is also closed due to some reasons.

Why JNTU WORLD website is closed ?

State Government has been an Announced a Statement to close the official website (www.jntuworld.com) due to some reasons. This News is going viral and all the Students who are studying in this JNTU university is in a fear that why the website is not working? Because The students used to get each and every update about their university. However the Site is closed by the state govt. by creating fear in the Students with intimating about this information to the Students.

JNTU WORLD

Any how, We are trying to know the actual reason behind the scenario and As early as possible, We will update the information.

From Comments 

Manohar November 9, 2014 at 10:50 pm - Reply

I think the site is closed because they’re providing information without taking permission from head office. As per rules every university should provide information to the students on their official site only but here as a group they’re running a separate unofficial site as a official site and providing everything only on that site to make some handsome amount of money. So i believe this is illegal activity and they got punishment for this after many years. Thanks!

Vishal November 18, 2014 at 2:33 pm - Reply

Mr. Manohar i know u r the one who is from JNTU. let us suppose they (JNTUWORLD) are making or getting money from website, They need to meet the server expenditures. i had seen JNTUWORLD in past 4 years. i never saw any down time of the website. Atleast JNTUWORLD are helping in providing the info for students. What JNTU is doing by collecting or looting lakhs of amount from students in the name of RC/RV,OD,EXAM FEE etc…
We all know how u (JNTU) ppl threated the jntuworld staff with the help of police & with ur money power and forced them to close the website. Shame on jntu.
I got to know that u (JNTU) with the help of some company forced to close JNTUWORLD so that u can start a website (Concept similar JNTUWORLD) & again loot the money from students in the name of some  website. So u just stealing idea of students & u r making money. I even know how u took the convocation website from a student (a student who did as his final project in PG).
I really like to appreciate all the JNTUWORLD team who helped students alot in all ways. RIP JNTUWORLD
Respected Reader's

 Important Note

After 30-11-2014 the blog address will be changed to gistsolutions.blogspot.com or gistsolutionsz.blogspot.com Pl
Please make a note

Friday 21 November 2014

A Request

Hi readers a very warm welcome to you ALL because of the cold winter.

Thanks you all

Please suggest a nice name for my blog via gistservicesz@gmail.com
Or
I want to change it to gistsolutions@gmail.com is it ok.

Code on how to Print Routing Table in AODV

Welcome back all readers. Generally in ns2 there are no automatic provisioning to print a routing table for a given node in ns2. However, using the tracefile generated using ns2, routing table can be printed, but one should be good enough in processing a file using awk, python or any other scripts.

The following code will make you print the routing table when you are using AODV Protocol.

Files to be modified:
~ns-2.35/aodv/aodv.h
~ns-2.35/aodv/aodv.cc
The GREEN colored code indicates the addition of these lines in to the existing codes.
The following line can be added to the aodv.h file inside the class AODV in the protected scope.  probably add the line after the rt_down() function.

void rt_print(nsaddr_t nodeid);
In the aodv.cc file, add the following entry anywhere, but probably after the end of rt_down() function. 
void  AODV::rt_print(nsaddr_t nodeid) {

FILE *fp;

fp = fopen("route_table.txt", "a");

aodv_rt_entry *rt;

for (rt=rtable.head();rt; rt = rt->rt_link.le_next) {

fprintf(fp, "NODE: %i %f %i %i %i %i %i %f %d \n", nodeid, CURRENT_TIME, rt->rt_dst, rt->rt_nexthop, rt->rt_hops, rt->rt_seqno, rt->rt_expire, rt->rt_flags);

}

fclose(fp);

}
Here the above function records the routing table entry in to a file called route_table.txt. 
The above code 
step 1 creates a file pointer inturn a file called route_table.txt under append mode.
step 2 it creates an pointer to routing table entry.
  1. processes from the head of the queue to the last and print these information to the file with pointer fp Step 4 finally close the file pointer. 
Finally the rt_print() function have to be called. This can be called from anywhere. Here is the function call in aodv.cc file. 
It is inside the void AODV::recvReply(Packet *p) {
if (ih->daddr() == index) { // If I am the original source

  // Update the route discovery latency statistics

  // rp->rp_timestamp is the time of request origination

    rt_print(index); // print this nodes whole routing table

    rt->rt_disc_latency[(unsigned char)rt->hist_indx] = (CURRENT_TIME - rp->rp_timestamp)

                                         / (double) rp->rp_hop_count;

    // increment indx for next time

    rt->hist_indx = (rt->hist_indx + 1) % MAX_HISTORY;

  } 

Once the above steps are done.  Open the terminal and go to the ~ns-2.35. folder and type the following commands one by one
prompt$] make
Once the compilation is successful, test any of the wireless tcl files with AODV protocol is the routing and run it using ns filename.tcl
If you need a testing file, download here
Readers you can download the sample screenshot of the routing table
Source:

This post is taken and modified from www.elmurod.net

How to Install Tracegraph in Ubuntu 13.10 

Installing Tracegraph in Linux is always a challenge and that too in a 64 BIT operating System. This post will help the readers in installing the tracegraph comfortably in Ubuntu 13.10

Ubuntu 13.10 is revamped with great features and also there are some limitations while installing 32 bit softwares in 64 bit OS.

So here are the steps in Installing Tracegraph in Ubuntu 13.10

Step1:- Download the Tracegraph.tar.gz file and copy it to the /home/username folder
Step2:- Enter the following commands one by one
Step3:- Untar it by entering the command, "tar xvzf tracegraph.tar.gz" 

Step4:- cd tracegraph202 

Step5:- ./trgraph  (if this command gives you ./trgraph command not found, the follow the next step) 

Step6:- sudo apt-get install  lib32z1 lib32ncurses5 lib32bz2-1.0 libxi6 libxtst6 libxrender1 libxtst6:i386 libXp6:i386 libXt6:i386 

Step7:- The above command will fetch various libraries from the internet sources and downloaded and then try ./trgraph (you can see three windows popping out)

Important Note:
Don't forget to set the LD_LIBRARY_PATH for the shared object libraries as given below
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/username/tracegraph202/bin/glnx86/

If the path for NS2 is already set, the append this line to the existing LD_LIBRARY_PATH variable as given below
export LD_LIBRARY_PATH=/first/path:/second/path:/home/username/tracegraph202/bin/glnx86/
The topics of interest are 
  • Network simulator 2
  • Linux
  • Mobile Application Development
  • Web Technologies
  • Open Source Technologies
  • MOODLE
  • Wordpress
  • PHP, MySQL
  • Real TIme Systems
  • Embedded systems,
  • Java and etc.

Downloading Youtube video based on Command in Fedora Linux

You all will be wondered on how to Downloading youtube.com videos to local machine is always a challenge as the streaming sites keep on updating their policies in blocking the videos.
Here is a tool that is available in the command line (Terminal based) on Linux Operating Systems.
That is youtube-dl, this is a python based code and can be executed in linux OS without any hassles.

youtube-dl in windows or Mac OS can be achieved by installing python interpreter and try it.
for installing in linux, the command is
 
$prompt] sudo yum install youtube-dl (in redhat or centos or fedora)
$prompt] sudo apt-get install youtube-dl (ubuntu or linux mint)


For Ubuntu users, you can update the sudo package before installing the youtube-dl.
sudo apt-get update

To download videos 
$prompt] youtube-dl https://www.youtube.com/watch?v=cYg5VCV3zeU


The above is output and to download the corresponding video format, then here is the command
$prompt] youtube-dl -f 18 To view all formats, use the following command,
$prompt] youtube-dl -F http://www.youtube.com/watch?v=cYg5VCV3zeU
[youtube] Setting language
[youtube] cYg5VCV3zeU: Downloading webpage
[youtube]cYg5VCV3zeU: Downloading video info webpage
[youtube] cYg5VCV3zeU: Extracting video information
[info] Available formats for cYg5VCV3zeU:
 

format code extension resolution  note
139         m4a       audio only  DASH audio , audio@ 48k (worst)
140         m4a       audio only  DASH audio , audio@128k
160         mp4       192p        DASH video
133         mp4       240p        DASH video
17          3gp       176x144  
36          3gp       320x240  
5           flv       400x240  
18          mp4       640x360     

43          webm      640x360     (best)


The above is output and to download the corresponding video format, then here is the command
$prompt] youtube-dl -f 18 http://www.youtube.com/watch?v=cYg5VCV3zeU
The above command will download the file in the mp4 format as specified in the option obtained in the previous command.

if you need any help on the commands, you can use the following command
$prompt] youtube-dl --help

Often, youtube-dl is updated, it can be easily updated as given below,
$prompt] sudo youtube-dl -U

Also now youtube-dl supports various other video streaming sites also, to name a few, vimeo.com, dailymotion.com, etc.

If you are behind the proxy, type the command in the terminal use this
export http_proxy=172.16.1.1:8080/ 
or else copy the above line in /etc/profile.d/proxy.sh (this will be set for all the users of the computer, also need root password)


The above command will download the file in the mp4 format as specified in the option obtained in the previous command.

if you need any help on the commands, you can use the following command
$prompt] youtube-dl --help

Often, youtube-dl is updated, it can be easily updated as given below,
$prompt] sudo youtube-dl -U

Also now youtube-dl supports various other video streaming sites also, to name a few, vimeo.com, dailymotion.com, etc.

If you are behind the proxy, type the command in the terminal
export http_proxy=172.16.1.1:8080/ 
or copy the above line in /etc/profile.d/proxy.sh (this will be set for all the users of the computer, also need root password)