Wednesday 15 July 2015

STOCKS

The Indian market trend comes handy

Guruji.com the most powerful Indian search engine and India's Number one music search engine has yet another feature that proves itself. Guruji finance offers most interesting and a powerful market trend analysis site can be used as a powerful market analysis tool to forecast and predict the future returns about various equities,mutual fund and commodities. Google finance also has a similar interface but not suitable for the Indian market as the data fetch by it is delayed for India market.




Lets showcases some of the best usages and tools that is offered by Guruji finance.
  • Sensex, Nifty Chart
  • Portfolio,Watchlist and Finance
  • News and Research about a particular equity
  • Top gainers and losers
  • Sector wise performance
  • Mutual funds
  • Futures
  • World currency
  • Search for a particular stock
  1. Create Portfolio and track your stocks with real time data and analysis 


     2.  Search and get performance of a particular stock

LINUX NETWORKING COMMANDS

Linux is most powerful operating system which often needs to use commands to explore it effectively.Some of the commands are restricted to normal user groups as they are powerful and has more functionality involved in it.Here we summarized most interesting and useful networking commands which every linux user are supposed to be familiar with it.



1.Arp  manipulates the kernel’s ARP cache in various ways.  The primary options are clearing an address mapping entry and manually setting up one.  For debugging purposes, the arp program also allows a complete dump of the ARP cache.ARP displays the IP address assigned to particular ETH card and mac address


[fasil@smashtech ]# arp
Address                  HWtype  HWaddress           Flags Mask            Iface
59.36.13.1              ether       C                        eth0

2.Ifconfig is used to configure the network interfaces.  Normally we use this command to check the IP address assigned to the system.It is used at boot time to set up interfaces as necessary.  After that, it is usually only needed when debugging or when system tuning is needed.

[fasil@smashtech ~]# /sbin/ifconfig
eth0     UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:126341 errors:0 dropped:0 overruns:0 frame:0
          TX packets:44441 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
         
3. Netstat  prints information about the networking subsystem.  The type of information which is usually printed  by netstat are Print  network connections, routing tables, interface statistics, masquerade connections, and multicast.

[fasil@smashtech ~]# netstat
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State
tcp        0      0                       .230.87:https           ESTABLISHED
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags       Type       State         I-Node Path
unix  10     [ ]         DGRAM                    4970   /dev/log
unix  2      [ ]         DGRAM                    6625   @/var/run/hal/hotplug_socket
unix  2      [ ]         DGRAM                    2952   @udevd
unix  2      [ ]         DGRAM                    100564
unix  3      [ ]         STREAM     CONNECTED     62438  /tmp/.X11-unix/X0
unix  3      [ ]         STREAM     CONNECTED     62437
unix  3      [ ]         STREAM     CONNECTED     10271  @/tmp/fam-root-
unix  3      [ ]         STREAM     CONNECTED     10270
unix  3      [ ]         STREAM     CONNECTED     9276
unix  3      [ ]         STREAM     CONNECTED     9275

4.ping
command is used to check the connectivity of a system to a network.Whenever there is problem in network connectivity we use ping to ensure the system is connected to network.

[root@smashtech ~]# ping google.com
PING google.com (74.125.45.100) 56(84) bytes of data.
64 bytes from yx-in-f100.google.com (74.125.45.100): icmp_seq=0 ttl=241 time=295 ms
64 bytes from yx-in-f100.google.com (74.125.45.100): icmp_seq=1 ttl=241 time=277 ms
64 bytes from yx-in-f100.google.com (74.125.45.100): icmp_seq=2 ttl=241 time=277 ms

--- google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 6332ms
rtt min/avg/max/mdev = 277.041/283.387/295.903/8.860 ms, pipe 2

5.Nslookup 
is  a program to query Internet domain name servers. Nslookup has two modes: interactive and non-interactive. Interactive mode allows the user to query name servers for information about various hosts and domains or  to print  a  list  of hosts in a domain. Non-interactive mode is used to print just the name and requested information for a host or domain.

[fasil@smashtech ~]# nslookup google.com
Server:         server ip
Address:       gateway ip 3

Non-authoritative answer:
Name:   google.com
Address: 209.85.171.100
Name:   google.com
Address: 74.125.45.100
Name:   google.com
Address: 74.125.67.100

6. dig
(domain information groper) is a flexible tool for interrogating DNS name servers. It performs DNS lookups  and  displays  the  answers that are returned from the name server(s) that were queried. Most DNS administrators use dig to troubleshoot DNS problems because of its flexibility, ease of use and clarity of output. Other lookup tools tend to have less functionality than dig.

[fasil@smashtech ~]# dig google.com

; <<>> DiG 9.2.4 <<>> google.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4716
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 4, ADDITIONAL: 4

;; QUESTION SECTION:
;google.com.                    IN      A

;; ANSWER SECTION:
google.com.             122     IN      A       74.125.45.100
google.com.             122     IN      A       74.125.67.100
google.com.             122     IN      A       209.85.171.100

;; AUTHORITY SECTION:
google.com.             326567  IN      NS      ns3.google.com.
google.com.             326567  IN      NS      ns4.google.com.
google.com.             326567  IN      NS      ns1.google.com.
google.com.             326567  IN      NS      ns2.google.com.

;; ADDITIONAL SECTION:
ns1.google.com.         152216  IN      A       216.239.32.10
ns2.google.com.         152216  IN      A       216.239.34.10
ns3.google.com.         152216  IN      A       216.239.36.10
ns4.google.com.         152216  IN      A       216.239.38.10

;; Query time: 92 msec
;; SERVER: 172.29.36.1#53(172.29.36.1)
;; WHEN: Thu Mar  5 14:38:45 2009
;; MSG SIZE  rcvd: 212

7.Route manipulates the  IP routing tables.  Its primary use is to set up static routes to specific hosts  or  networks via an interface after it has been configured with the ifconfig program.When the add or del options are used, route modifies the routing tables.  Without these options, route displays the  current contents of the routing tables.

[fasil@smashtech ~]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
 54.192.56.321    *               255.255.255.0   U     0      0        0 eth0
     *               255.255.0.0     U     0      0        0 eth0
default            0.0.0.0         UG    0      0        0 eth0

8.Traceroute
: Internet is a large and complex aggregation of network hardware, connected together by gateways.  Tracking the route one’s packets follow (or finding the miscreant gateway that’s discarding  your  packets)  can  be  difficult.

Traceroute utilizes the IP protocol ‘time to live’ field and attempts to elicit an ICMP TIME_EXCEEDED response from  each gateway along the path to some host. The only mandatory parameter is the destination host name or IP number.  The default probe datagram  length  is  40 bytes, but this may be increased by specifying a packet length (in bytes) after the destination host name.

[fasil@smashtech ~]# traceroute google.com
traceroute: Warning: google.com has multiple addresses; using 209.85.171.100
traceroute to google.com (209.85.171.100), 30 hops max, 38 byte packets
 1  * * *

9.W
-displays  information  about the users currently on the machine, and their processes.  The header shows, in this order,  the current time, how long the system has been running, how many users are currently  logged on, and  the system load averages for the past 1, 5, and 15 minutes.

[fasil@smashtechl ~]# w
 15:18:22 up  4:38,  3 users,  load average: 0.89, 0.34, 0.19
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
root     :0       -                10:41   ?xdm?  24:53   1.35s /usr/bin/gnome-session
root     pts/1    :0.0             10:58    1.00s  0.34s  0.00s w
root     pts/2    :0.0             12:10   23:32   0.03s  0.03s bash

10. Nmap  is  designed to allow system administrators and curious individuals to scan large networks to determine which hosts are up and what services they are offering.  nmap supports a large number of  scanning  techniques  such  as:UDP,  TCP  connect(), TCP SYN (half open), ftp proxy (bounce attack), ICMP (ping sweep), FIN, ACK sweep, Xmas Tree,SYN sweep, IP Protocol, and Null scan.  See the Scan Types section for more details.  nmap also offers a number of advanced  features  such  as  remote  OS  detection  via TCP/IP fingerprinting, stealth scanning, dynamic delay and retransmission calculations, parallel scanning, detection of down hosts via parallel pings,  decoy  scanning, port filtering  detection,  direct  (non-portmapper)  RPC scanning, fragmentation scanning, and flexible target and port specification.
       Significant effort has been put into decent nmap performance for non-root users.  Unfortunately, many critical kernel  interfaces  (such  as raw sockets) require root privileges.  nmap should be run as root whenever possible (not setuid root, of course).
       The result of running nmap is usually a list of interesting ports on the machine(s) being scanned (if  any).   Nmap always  gives  the  port’s  "well  known"  service name (if any), number, state, and protocol.  The state is either"open", "filtered", or "unfiltered".  Open means that the target machine will accept() connections  on  that  port.Filtered  means  that  a  firewall, filter, or other network obstacle is covering the port and preventing nmap from determining whether the port is open.  Unfiltered means that the port is known by nmap to be closed  and  no  fire-wall/filter  seems  to be interfering with nmap’s attempts to determine this.  Unfiltered ports are the common case and are only shown when most of the scanned ports are in the filtered state.
       Depending on options used, nmap may also report the following characteristics of the remote host: OS  in  use,  TCP sequentiality,  usernames  running  the programs which have bound to each port, the DNS name, whether the host is a smurf address, and a few other--Network exploration tool and security scanners.

[fasil@smashtech ~]# nmap 52.194.69.152

Starting nmap 3.70 ( http://www.insecure.org/nmap/ ) at 2009-03-05 15:21 IST
Interesting ports on 52.194.69.152
(The 1658 ports scanned but not shown below are in state: closed)
PORT    STATE SERVICE
22/tcp  open  ssh
111/tcp open  rpcbind

LINUX

File Handling Linux Commands


Linux has become most prominent operating system and for effective use of Linux system we should know certain basic file handling commands to perform our day-to-day operations in most efficient way. Here we have listed some of the most important and interesting File Handling commands which are ordered in categories wise  to improve your Linux skills.
Easy File Viewing and Editing
We use gedit tool in Linux which is similar to notepad or WordPad in windows and it also got tabbed viewing of text files. But at the same time we should get familiar with using commands and this most will make that easier. Basic Text editors in Linux are Vim and Emacs which supports syntax highlighting and helps you a lot in programming skills. Some of the commands features are discussed here

Vim is easy to use and powerful text edit intended for beginner and advanced users. It has lot of in featured commands for text editing for simple task like copy, paste and some advanced commands like searching text, find and replace option.

[fasil@smashtech ~]# vim smashtech.txt

The above command will open the text file in the Vim editor and you can easily edit the text file and save it by entering the Escape key -> :w and to quit the editor Escape key -> :q .To know more about Vim commands download this cheat sheets.

Emacs is most powerful editor intended for advanced users. Prominent use of emacs is multiple window use. We can easily open almost four to five windows with horizontal or vertical view and helps you alot in manipulating multiple files.
[fasil@smashtech ~]# emacs smashtech.txt

The above command will open the text file in the Emacs editor and once editing is completed. Press ctrl+x+s to save file and to quit editor ctrl+x+c.To know more about emacs commands download this cheat sheet.

cat command will list the content of the file in the  terminal .This option is limited to view files having only few lines  since you have to scroll back to view the text if it is  a large file.
[fasil@smashtech ~]# cat smashtech.txt
This text is displayed using cat command

Simple command to view text files and to list the files in compressed archive like tar or zip.
[fasil@smashtech ~]#less smashtech.tar.gz
-rw-rw-r-- root/root       326 2009-03-04 13:48:50 /Documentation/RelNotes-1.5.3.1.txt
-rw-rw-r-- root/root      1931 2009-03-04 13:48:50 Documentation/RelNotes-1.5.3.2.txt
-rw-rw-r-- root/root       896 2009-03-04 13:48:50 /Documentation/RelNotes-1.5.3.3.txt
-rw-rw-r-- root/root      1208 2009-03-04 13:48:50 /Documentation/RelNotes-1.5.3.4.txt
-rw-rw-r-- root/root      3376 2009-03-04 13:48:50

Checking file size and disk usage
Simple commands like 'list' can be used to check the file size or folder size but the Linux has some more powerful commands to do so.

df - report filesystem disk space usage is simple command to check the disk space in all partitions of harddisk.
[Fasil@smashtech ~]# df -h
Filesystem            Size  Used Avail   Use% Mounted on
/dev/sda6            19.7G  18.1G  1.1G  89% / 

du - estimate file space usage of all files and folders
[Fasil@smashtech ~]# du -sh .
602M    .

Simply Copy/rename and move files
Copying, moving and deleting files like never before, Simply saying you can delete files and folders very fast in command prompt then using mouse in GUI.But here is a caution although Linux is more powerful it does not have an undo command and if you delete a file/folder my mistake its loss. There are some methods to recover it but redundancy will be lost.
cp - Copy files from source location to destination
[Fasil@smashtech ~]# cp file1.txt file2.txt
The above command will copy file1 as file2 text file
[Fasil@smashtech ~]# cp -a smashtech fasil
the above command will copy the folder smashtechtech as fasil

 
mv-Move a file from original location to final location
[Fasil@smashtech ~]# mv file1.txt file2.txt
The above command will move/rename file1 as file2 text file
[Fasil@smashtech ~]#mv -a smashtech fasil
the above command will move contents of the folder smashtech to  fasil

rm-Remove a file or folder
[Fasil@smashtech ~]# rm file1.txt
The above command will delete file1
[Fasil@smashtech ~]#rm -rf smashtech
the above command will delete the folder smashtech

 
Compressing and Decompressing Files and Folders
The most interesting usage in Linux commands are compressing the text files in more efficient and effective way and some of the compressing and decompressing commands are shown here.

tar- This command is used for both compressing and extracting
[Fasil@smashtech ~]# tar -cvf filename.tar folder/
The above command will create a tar archive with name.tar and folder is archived
Fasil@smashtech ~]# tar -cvzf filename.tar.gz folder/
The above command will create a gzip archive with name.tar and folder is archived
Fasil@smashtech ~]# tar -cvjf filename.tar.bz2 folder/
The above command will create a bzip2 archive with name.tar and folder is archived
For uncomressing the folders the following commands are used

[Fasil@smashtech ~]# tar -xvf filename.tar
The above command will extract the content of the tar archive with name.tar
Fasil@smashtech ~]# tar -cvzf filename.tar.gz folder/
The above command will extract the content of a gzip archive
Fasil@smashtech ~]# tar -cvjf filename.tar.bz2 folder/
The above command will extract the content of the  bzip2 archive


Sharing CKTS

CircuitBee: Sharing Circuit Diagrams made easy

Are you an electronic hobbyist or having passion in using electronic circuits for your projects and wanted to share your circuit diagram for any help from open community. Then CircuitBee is the place you have to land into. Many online utilities are there to share documents, images and presentation, But sharing a circuit diagram with peers or online community is not that easy and getting corrections for the circuits as well. CircuitBee  solves this problem. CircuitBee allows you to browse all public circuits and enables you to embed on any webpages. Highly useful for sharing in DIY sites and electronics hobby sites.

sample circuit embedded below



So What is Circuit Bee?
CircuitBee takes your schematic project files, converts them into its own internal format and then provides you with an embeddable version of the circuit, similar to Google Maps but for electronics schematics.
You can pan, zoom, go fullscreen, mouse over components to see what they are and schematic viewer that can be embedded on any web page as well as being visible on the CircuitBee website itself.

How can I upload my Circuit ?
Follow the instructions provided in CircuitBee page (http://www.circuitbee.com/help/uploading)

What file types can I upload?
Currently CircuitBee supports most schematic files saved from KiCad (no hierarchical schematics). You can also upload schmatics created in Eagle using  ULP script available on  Eagle import guide page.

Celebrating Linux 20 years

20-years of Linux

Linux is 20 years old. As part of the Linux Foundation’s 20th anniversary celebrations, the organization conducted a survey about Linux among attendees of LinuxCon in July 2011. The findings of that survey are showcased in this infographic, which illustrates the changes in Linux over the years.



Literacy Week

Financial Literacy for the Week

Here are the few interesting and informative articles that I came across recently to improve the financial literacy.


EPF
1. How to do EPF transfer online [ Link ]

Insurance
1. How to open E-Insurance Demat Account  [ Link ]
2. How to claim Life Insurance [ Link ]

Banking
1. 6 dumb mistakes which you make while writing Cheque’s – Dont do it ! [ Link ]

Mutual Funds
1. Mutual Fund SIP Analyzer - Excel Sheet [ Link ]

Androis settings while travelling

Android Settings for Travellers

This is one of the important settings in Android to know your current location using Cell Tower info there by avoiding the use of GPS and A-GPS which kills the battery. This setting is much more useful for persons travel ling in Train overnight and with the help of this setting you can get the cell tower location information there by identifying the current location.


I have enjoyed this setting decade back in Nokia 1100 where it scrolls in the main screen and goes after some time where as in Android you will get this information as message.

Note: The result of this settings depends on your cellular operator. I have tested in Airtel network and its work fine most of the time which is very helpful during train travel.

Settings to get Cell Tower information in Android.

1. Go to "Messages"




Step 2. Navigate and select " Cell Broadcast (CB) Settings"



Step 3. Check on "CB Activation"


Step 4. You will get instant messages as you move from one Cell tower to another 





Friends Tips to Improve your Typing Speed with Simple Techniques 

To improve your typing speed to about 50wpm. Then follow this simple techniques given below to improve your typing speed . Speed Typing is necessary for a common human beings to interact with computers. As every computer users now use mail service and other online services .Speed typing improves your productivity and saves time.


Lesson One :

Learn from the Home Keys  A,S,D,F for left hand and J,K,L, ; for right hand  and use your right hand Thumb for Space Key as illustrated in the below diagram and note the corresponding fingers for the letter. This basic lesson of typing .




Lesson Two:

Familiarize with Home Keys by using any of the basic Typing Tutor software's which are available in plenty. A Google Search for a Typing Tutor software will do.No matter which software you use , but try to be proefficient with your Home Keys.Remember you can locate any key on the keyboard from the Home Key.


Lesson Three:

After Familiarizing with ASDF and JKL; proceed to use  ER on the left hand and UI on the right hand as illustrated in the below figure. Note the color associated with the correspoding fingers



Lesson Four:

As mentioned below put some time exclusively to improve your typing speed.Say a solid 15 minutes per day on the morning and evening guarantees you to improve your typing speed significantly.


Lesson Five :

As your familiriaze with the keys ,have an eye on the accuracy and try to  improve this on the side. Remember accuracy in typing is the integral part of  Speed typing.

I hope this simple techiques can improve your typing speed significantly as it did for me.

Tools to manage multiple Twitter account

Twitter is a famous micro blogging service where users express everything by 140 characters message called "Tweet". Twitter is getting popular all over the world where social media is greatly used to propagate and promote products and customer service. Lot of corporates promotion is offered in Twitter and many celebrities too are in Twitter updating their status. In this post we will discuss two online tool to manage your multiple twitter account and make twittering more ease.

1. CoTweet



Cotweet is designed to manage your business activity via twitter. It helps companies to reach customers easily and promotes productivity. It supports to add multiple twitter accounts and helps in assigning tasks between accounts. It also has scheduling tweets, easy interface and tracking the bit.ly clicks using the API feature. Much clearly and neatly designed UI helps everyone to understand its functionality in one shot. Just sign up once free and you will feel the difference how twittering fun and productive too.

2.HootSuite




HootSuite is another excellent productivity to manage the business activity in Twitter. It has its own URL shortening system namely ow.ly and you can get a clear statics about the click made to your URL. The complete analysis of the clicks are given in excellent graphical form. Apart from that managing muliple Twitter accounts HootSuite helps to embedd columns, manage groups, schedule tweets and manage RSS feeds of your blog or site.