Posts

Showing posts from 2014

UNIX shell script that when executed gives you the actual count of regular and special users on the system | UNIX shell script

Problem Write a UNIX shell script that when executed gives you the actual count of regular and special users on the system. #!/bin/bash cat /etc/passwd | cut -d':' -f3 1> total_user.txt sp_user=0 reg_user=0 while read nxt_line do          if [ $nxt_line -ge 500 -a $nxt_line -le 60000 ]          then                 reg_user=`expr $reg_user + 1`          elif [ $nxt_line -eq 0 ]          then                 sp_user=`expr $sp_user + 1`          fi done < total_user.txt echo "total number of special users are: $sp_user" echo "total number of regular users are: $reg_user"

Check file permissions | UNIX shell script

Problem Write a UNIX shell script that accepts exactly two file names as arguments, checks if both the files have the same permissions. If both files have same permissions then print that permission of any one of the file. If the permissions of each file are different, then display the permission of both the files separately. #! /bin/bash # Created by Zain Aftab if [ $# -ne 2 ] then         echo "plz enter only to command line arguments"         exit 0 else f1=$1 f2=$2 set [`ls -l $f1`] f1=$1 set [`ls -l $f2`] f2=$1 if [ $f1 = $f2 ] then echo "The permissions of files are same which are following" echo $f1 else echo "The different permissions"     echo "first file permissions" echo $f1 echo "second file permissions"        echo $f2 fi fi

Windows Phone 8 Development for Absolute Beginners

Part 4: Introduction to XAML

Windows Phone 8 Development for Absolute Beginners

Part 3: Writing your First Windows Phone 8 App

Windows Phone 8 Development for Absolute Beginners

Part 2: Installing Windows Phone SDK 8.0

Windows Phone 8 Development for Absolute Beginners

Part 1: Series Introduction

Search Engine Spider Simulator

Search Engine Spider Simulator This tool Simulates a Search Engine by displaying the contents of a webpage exactly how a Search Engine would see it. It also displays the hyperlinks that will be followed (crawled) by a Search Engine when it visits the particular webpage.  It will help you in understanding how much of your website is visible to the Search engines Search Engine Spider Simulator Enter URL to Spider

Free Backlinks

The number of places is fixed and the principle is simple: the last which is registered push out the oldest. No return link required, all is free. You just fillin the URL of your logo (or your site title for PlugBoards as type "Links") and the URL of your site. that is all! You can add only one link or logo per site. While returning to see your logo (or link) and while passing the mouse hover, you will discover the number of visits obtained. Simple, fast and without pain, place your logo for a free advertizing and made discover your site.

Difference between Windows application and Metro Apps

There are several differences between Metro Apps & Windows Apps, although both share the same Windows platform. Metro Apps are optimized for touch operations but can work well with other types of inputs like keyboard, mouse etc as well. The new Metro Style Apps & traditional Windows applications differ in lots of ways. A quantity of them are explained below:  Regular Windows programs works best with mouse & keyboard. New Metro Style Apps have a different look & user experience. They have borderless windows, with no option to resize or close. To close a Metro App, all you need to do is swipe from top to bottom or switch over to another app. The traditional Windows program have minimize, maximize, resize & close options. Metro Apps can interact with user & provide notifications or updates to users through the Tile even when it is not walking. In case of traditional Windows programs, when it is closed, it is removed from the process spa...

Setup tools to develop Windows8 Metro-style Apps

Are you trying to understand Metro App development & need to try your hands on developing some cold Windows 8 Metro Apps? Learn what are the tools necessary to start with Windows 8 Metro App development. Metro Style Apps are the new kind of Apps, designed for Touch based computing devices like Tablet PCs. In the event you are an App developer who create apps for various platforms like Windows, Android or iOS, you may need to try your hands on Windows 8 Metro Apps. Microsoft expects majority of the future Windows apps to be developed as Metro Apps. Tools for developing Windows 8 Metro Apps To start developing Windows 8 Metro Style Apps, you need a few tools & utilities. The first gizmo you need to create Metro Apps is, Windows 8 itself. To create & check Metro Apps, you need to put in Windows 8 in of your development computers. Like you can write a C# application using notepad & compile using tools through the command prompt, you can do the same fo...

VLC Media Player 2.1.2 (32-bit)

Image
VLC Media Player 2.1.2 (32-bit) - 22.98MB (Open Source) VLC media player is a highly portable multimedia player for various audio and video formats as well as DVDs, VCDs, and various streaming protocols without external codec or program. It can also be used as a server to stream in unicast or multicast in IPv4 or IPv6 on a high-bandwidth network. VLC can play: MPEG-1, MPEG-2 and MPEG-4 / DivX files from a hard disk, a CD-ROM drive, and so on DVDs, VCDs, and Audio CDs From satellite cards (DVB-S) Several types of network streams: UDP/RTP Unicast, UDP/RTP Multicast, HTTP, RTSP, MMS, etc. From acquisition or encoding cards (on GNU/Linux and Windows only) DOWNLOAD

Visual Studio 2010 All in one for Dummies

Image
  Visual Studio is Microsoft's comprehensive development surroundings that encompasses the .NET Framework, various programming languages, & ASP.NET . Programmers love it for developing applications for mobile devices & the Web. Because Visual Studio can be complex, the All-in-One For Dummies format makes it simple for beginners to grasp its different parts & get up to speed.   Visual Studio is a development surroundings used with various programming languages to generate a variety of applications, including those for the Web & mobile devices   The updated Visual Studio 2010 features new emphasis on development for Windows 7, cloud computing, & enhanced Web & Silverlight   Visual Studio 2010 All-in-One For Dummies shows how to build applications using the enhanced productivity features of Visual Studio 2010   Minibooks cover a Visual Studio overview, getting started, building Windows 7 & cloud applications, knowledge ac...

You cannot change your Future - Abdul Kalam

"You cannot change your Future, But you can change your Habits, & surely your habits will change your FUTURE.” -Abdul Kalam

You can have anything

“You can have anything you want, if you want it badly enough. You can be anything you want to be, do anything you set out to accomplish if you hold to that desire with singleness of purpose.” - Abraham Lincoln

Writing Good Blogs

There's lots of blogs out there on the Web, most of which don't entice to return regularly to read updates. What is missing from these online journals that would fundamentally make them 'good' blogs? Well, the answers in life usually come down to simplicities. So let's look at the issue like they were children. Children don't complicate life with miscellaneous information, and when they speak they tell you straight to the point exactly how they feel and think about a subject.  Initially, they ought to ask the questions," Why do blogs exist? And what are they here for?" Well, in an ideal world 'good' blogs would help people connect, sharing knowledge and feelings about issues in life. As they are journals written by individuals they would hope that they'd be readable and open to comment by all other people, not a select group of friends. The key is speaking in a way that is understandable by the masses, get rid of acronyms and local slang t...

Earn from Clixsense

Image
Hi friends today i am going to tell you how to earn money online.First of all i would like to tell you at start you are not going to earn big .There are many sites where you can earn money just by doing simple tasks.Those are as follows- CLIXSENSE                          Daily earning on clixsense is given below- Clicking 20 ads daily- 0.02$ Completing daily offers- 0.85$ Completing daily tasks- 10$  (here you can earn good money by completing tasks even more than 50$ a day ) Total earnings =it depend on how much task and offers you do. Click the given link,sign up and start earning.                     Link to clixsense - http://www.clixsense.com/?5227909                           Clixsense  

Best PTC earning sites

Image
Everyone needs and wants to earn money but the question is how/where to earn money. But don't worry earning money nowadays is really easy. You don't have to work really hard or do anything special. What you need is to click. You can get money by clicking on ads or completing easy tasks or by referring others to sign up there. The following are good sites to earn money from Nerd Bux Clixsense NeoBux Nerdclix NerdClix Great new PTC site with active RR with great earnings Account Per Click Ref Click Payout Cashout Payment Processor Standard .02 .006 2.00 instant Paypal Premium .02 .02 2.00 instant Paypal Silksbux SilksBux New PTC. Low cost upgrade with daily .01 ads. Account Per Click Ref Click Payout Cashout Payment Processor Standard .01 .005 4.00 m...