Saturday, 28 May 2016

Crash a computer by simple key strokes

Kill Windows with 3 Keystrokes
Have you ever to show off your skills by taking down Windows with just a couple of keystrokes? All you have to do is add one registry key, and then you can impress your friends...
This isn’t a bug, it’s a “feature” in Windows that is designed to let users trigger a crash dump for testing purposes. There’s even a whole
Microsoft official article on the subject .
To enable this feature, open up regedit and then browse down to one of these keys, depending on your keyboard type:
USB Keyboard
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\kbdhid\Parameters
PS/2 Keyboard
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters

Now right-click on the right-hand pane and add a new DWORD key named
"CrashOnCtrlScroll", giving it a value of 1.
Reboot your computer, and when it starts back up you can trigger the Blue Screen of Death by using the following keyboard shortcut:
Hold down Right Ctrl and hit Scroll Lock twice

To remove this “feature” you can just delete the registry key and then restart your computer again.
Please note that following this article WILL crash your computer… really isn’t very useful, but it’s lots of fun😀

A-Z Linux commands

All Linux A-Z Commands

apropos: Search through the Help manual pages
apt-get: Install and search for software packages
aspell: Spell checker
awk: It lets you find text and replace it



basename: Strips suffixes off files and directories
bash: GNU Bourne-Again Shell
bc: Arbitrary precision calculator language
bg: Sends to the background
break: Exit from a loop
builtin: Run a shell builtin
bzip2: Compresses or decompresses files

cal: Displays calendar
case: Perform a command conditionally
cat: Displays the content of the files after concatenation
cd: Change Directory
cfdisk: Partition table manipulator
chgrp: Changes the ownership of a group
chmod: Changes the access permissions
chown: Changes the owner and group of a file
chroot: Run a command, but with a different root directory
cksum: It displays the CRC checksum ad byte counts
clear: Clears the terminal screen
cmp: Compares two files
comm: Compares two sorted files line by line
continue: Resumes the next iteration of a particular loop
cp: Makes a copy of files to a different location
cron: Executes scheduled commands
crontab: Schedules a command that will run at a specified time
csplit: Splits a file into context-determined pieces

date: Changes the date and time
dc: Desk Calculator
ddrescue: Disk recovery tool
declare: Declares the variables and gives attributes
df: Gives the free space on your disk
diff: Prints the differences between two files
dig: Looks up the DNS
dir: Lists directory contents briefly
dirname: Changes a full pathname into just a path
dirs: Shows you the list of directories that are remembered
du: Get an estimation of the file space usage

echo: Displays message on the screen
egrep: Searches for files that have lines matching an extended expression
enable: Disable/enable bulletin shell commands
ethtool: Ethernet card settings
eval: Evaluates many commands
exec: Executes a command
exit: Exiting the shell
expand: Converts all the tabs to spaces
export: Sets an environment variable
expr: Evaluates expressions

false: Do nothing, unsuccessfully
fdformat: Perform low level format of a floppy disk
fdisk: Partition table manipulator for Linux systems
fg: Sends a task to the foreground
fgrep: Searches through files for tasks that match a string
file: Determines the file type
find: Find files that match a desired criteria
fmt: Reformats paragraph text
fold: Wraps text in order to fit a certain width
format: Formats tapes/disks
free: Reveals the memory usage
fsck: Checks the consistency of the file system and repairs it
fuser: Identifies and kills the process accessing a file

gawk: Finds text within files and replaces it
getopts: Parse positional parameters
grep: Searches in files for lines matching a certain pattern
groupadd: Adds security user groups
groupdel: Deletes a certain group
groupmod: Modifies a group
groups: Prints the names of groups in which a user is located
gzip: Compresses/decompresses files

hash: Complete pathname of a name argument
head: Outputs the first part of files
history: Command History
hostname: Print/set system name

iconv: Converts the character set in files
id: Displays the group ids/user ids
if: Conditional command
ifconfig: Configures network interfaces
ifdown: Stops a network interface
ifup: Starts a network interface app
import: Captures a screen and saves image in X server
Install: Sets attributes and copies files

jobs: Lists jobs that are active
Join: Joins lines on a common field

kill: Stops a process from running
Killall: Kills processes by name

less: Displays the output on a single screen at a time
let: Performs arithmetic on shell variables
link: Creates a link to another file
ln: Creates a symbolic link to another file
local: Creates variables
locate: Finds files
logname: Print the login name being used currently
logout: Use this command to exit a login shell.
lpc: Line Printer Control
lpr: Offline print
lprint: Prints a file
lprintd: Aborts an ongoing print job
lprintq: Lists the print queue
lprm: Removes the jobs from the print queue

make: Recompiles the group of programs
man: Provides help on a command
mkdir: Creates directories
mkfifo: Makes FIFOs
mknod: Creates character special files or block files
more: Displays the output in a single screen at a time
mount: Mounts a particular filesystem
mtools: Manipulates files from MS-DOS
mtr: Network diagnostics command
mv: Moves and renames files and directories
mmv: Mass Move and Rename

netstat: Provides information on networking
nice: Sets the priority of a job or a command
nl: Writes files and number lines
nohup: Runs a command not affected by hangups
notify-send: Sends desktop notifications
nslookup: Queries internet name servers interactively

open: Opens a file in its default application
op: Provides operator access

passwd: Modifies user passwords
paste: Merges lines in files
pathchk: Checks the portability of a file name
ping: Tests network connections
pkill: Stops processes from running
popd: Restores the previous value of the directory you’re currently in
pr: Prepares your files for printing
printcap: Printer capability database
printenv: Print environment variables
printf: Formats and prints data
ps: Process Status
pushd: Changes the directory and saves it first
pwd: Print Working Directory

quota: Displays the disk usage and its limits
quotacheck: Lets you scan a file system to find its disk usage
quotactl: Sets disk quotas

ram: Ram disk device
rcp: Copies files between two devices.
read: Reads a line from standard input
readarray: Reads from stdin into an array variable
readonly: Marks the variables and functions as readonly
reboot: Reboots your system
rename: Renames files
renice: Alters the priority of the processes running
remsync: Synchronises remote files through email
rev: Reverses the lines in a file
rm: Removes particular files
rsync: Synchronises file trees

screen: Run remote shells using ssh
scp: Creates a secure copy
sdiff: Merges two files in a secure manner
sed: Stream editor
select: Accepts keyboard inputs
seq: Prints numeric sequences
set: Manipulates shell functions and variables
sftp: Runs the secure file transfer program
shift: Shifts positional parameters
shopt: Shell Options
shutdown: Shuts down Linux or restarts it
sleep: Adds a delay
slocate: Finds particular files
sort: Sorts text files
source: Runs commands from a file
split: Breaks a file into fixed sizes
ssh: Runs the remote login program
strace: Traces signals and system calls
su: Substitutes the user identity
sudo: Executes commands as a different user
suspend: Suspends the execution of the current shell
sync: Synchronises data from a disk with the memory

tail: Outputs only the last part of a file
tar: Stores a list or extracts files in an archive
tee: Redirects output into multiple files
test: Evaluates conditional expressions
time: Measures the running time of a program
timeout: Puts a time limit on a command
times: Finds the user and system times
touch: Changes timestamps on a file
traceroute: Trace Route to a host
tr: Deletes characters, translates or squeezes them
tsort: Topological sorting

ulimit: Limits the user resources
umask: Determines the file permission for a new file
umount: Unmounts a device from the system
unalias: Removes an alias
uname: Prints the system information
unexpand: Converts the spaces in a file to tabs
uniq: Uniquify your files
units: Converts the units from one scale to another
unset: Removes the variable names or the function names
unshar: Unpacks the shell archive scripts
until: Executes a command until there is an error
uptime: Shows the uptime
usermod: Modifies a user account
users: Gives you a list of users who are currently logged in
uuencode: Encodes binary files

v: Lists the contents of a directory
vi: Text editor
vmstat: Reports on the virtual memory statistics

wait: Directs the system to wait for a process to finish
watch: Displays or executes a program periodically
wc: Prints the word, byte and line counts
while: Executes commands
who: Prints the usernames that are currently logged into the system
whoami: Prints the current name and user id
wget: Retrieves the web pages or files through HTTP, HTTPS or FTP
write: Sends messages to other users

xargs: Executes a utility and passes a constructed argument list
xdg-open: Opens a URL or a file in the user's preferred application

yes: Prints a string until it is interrupted 

Windows registry trick #1: prevent access to certain drives

How to prevent access to select drives using Registry
You can prevent access to any drive in Windows by creating a DWORD in registry. The advantage of this method is that, a single DWORD can disable access to drives selected by you. In order to try this, you have to follow the following steps:
Step 1) open registry editor by typing "regidit.exe" in run.
Step 2) Search for HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer in registry editor
Step 3) Now rightclick on the right pane and select “New»DWORD (32-bit) Value” and name it
"NoViewOnDrive"

Step 4) Browse to the specified key and create a new DWORD by rightclicking
The corresponding:HKEY_LOCAL_MACHINE key :
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
would probably allow you to apply a system wide restriction. I haven’t tried it yet.
From the following list, find the values of the drives you want to prevent access to. Now add these values together. For example, if you want to prevent access to D drive(8) and J drive(512) you will have 8+512 = 520.
A – 1, B – 2, C – 4, D – 8, E – 16, F – 32, G – 64, H – 128, I – 256, J – 512, K – 1024, L – 2048, M – 4096, N – 8192, O – 16384, P – 32768, Q – 65536, R – 131072, S – 262144, T – 524288, U – 1048576, V – 2097152, W – 4194304, X – 8388608, Y – 16777216, Z – 33554432, ALL – 67108863
If you need to disable access to more than one drive you may add the values corresponding to all those drives and set the value. That is if you need to disable D and F drives add 8 (D)+32 (F) = 40 to the key. Double Click on the "NoViewOnDrive" DWORD and after selecting
Decimal button, paste this value.

In this picture I have selected D: drive and E:drive 8+16 = 24
Step 5) After this step, you just have to close registry editor. The settings take effect immediately. (Note: If this doesn’t take effect try restarting computer) Next time you try to access one of the drives you will encounter and error message as shown below :

Error when trying to access a drive that has been blocked using registry.

True Balance App: Get Free Recharge

True Balance Free Recharge App: Rs.20 Recharge + Refer and Earn

Get True Balance Referral Code and True Balance Referral link to Enjoy Free Rs.20 Mobile Recharge Just By Downloading an App Called True Balance. Previously This Offer Was Exclusive For Delhi-NCR, Haryana, Uttar Pradesh, Maharastra, Goa and Karnataka Mobile Users But Now This is Expanded To Whole Country.
You Can Do Emergency Recharge Of Rs.10 Free and Also You Will Get Signup Bonus Of Rs.10 If You Install The App Via Our True Balance Referral Link .
This Promotional Offer Will Also Give You Rs. 10 For Referring Your Friends. So This Offer Is Just Good As Cake. This Offer Can Give You Unlimited Mobile Recharge For Your Prepaid Connection by Refer and Earn Option. You Can Simply Invite Your Friends Using Your True Balance Referral Code or
Referral Link on True Balance App and Start Earning Free Mobile Recharges On No Time. There is No Trick To Loot True Balance Android App Deal But Your Must Use It Simply as It Meant To Be.
True Balance Gives You One Touch Solution To Manage Your Prepaid Mobile Balances Without Using Your Data Pack. Plus, You Can Get Some Free Points And Do
Free Recharge , Such As Top-up Or Purchasing Pack, Through Wallet. So Don’t Just Wait Do It Now. So Lets Check How To Get Free Mobile Recharge Using True Balance Android App. How do you check the balance of your Smartphone so far? No need to dial anymore if you’re with True Balance. Just launch the app from your home screen. Not only it shows the current balance, we keep messages such as pack receipts or special offers the telecom sent you last night. Now you can track the balance all the time by yourself. We start this service from Delhi NCR, and expand the coverage area to the national level soon!
FREE RS.20 RECHARGE + REFERRAL CODE/LINK
1) Download True Balance Android App from Playstore
2) Open The True Balance Android App and If It Ask Enter The Below True Balance Referral Code To Get Rs.10 Mobile Recharge.
Use Below True Balance Invitation Link
http://m.truebalance.in/v2/app?code=2xQKt2c7

3) Now You Can Do Free Rs.10 Mobile Recharge and Extra Rs.10 Emergency Recharge Anytime or You Can Reserved it For Later Use
4) Now Go To Earn Tab and Get Your Own Referral Code or Link from the True Balance App Menu

5) Share Your Link With Your Friends Using Whatsapp, Facebook or Anywhere Else
6) Each Friend Who Joins on The True Balance App Will Give You Rs.10 Bonus On Your Account.
7) You Can Share Upto 1000 Numbers Of Referrals From Your TrueBalance Android App.
ABOUT TRUE BALANCE APP
True Balance app will track your mobile data and talktime frequently and you can get best offers for you. It will minimize your monthly costs on recharging and give you best possible offers for your next recharge. You can even recharge you mobile phone sing true balance app. You Will get successful recharge every time you do any mobile recharge. Recharge Proof added below

PROOF FOR FREE RECHARGE
True balance app is really is simple and easy to use app. You will get free recharge on the go just by referring your friends. The only drawback is that you can only recharge your registered mobile number. This app lacks the power to recharge any number. So choose your registered number wisely.


We had recharge serveral times using true balance app and it works always smoothly. So we have provided the screenshot for you to check this app’s proof of recharging.

Friday, 27 May 2016

Freecharge Coupons

Fresh Freecharge Promo Code 2016
If you don’t know how to use these promo codes, then just scroll down this page. We have given detailed information + infographics so that you won’t face any problems while redeeming offers.

10% CB Using VISA card
VISA50 : Avail upto 50 Rs cashback with this code. It’s applicable 2 times on single account.

10% cb on recharge & bill payment of 50 Rs+
FC10 : Offer valid once per new user and maximum 100 rs cashback can be availed each time.

Pay Rs 500 to Get Recharge worth 550 Rs
This deal is exclusively available on Nearbuy website . Just pay 500 Rs and get your freecharge coupon. Then redeem it to get extra 50 Rs in wallet. Offer is valid for both new and old users .

50 Rs Cashback for New Users
After downloading app , create a new account and start recharging with 50 rs or more. Now redeem code R1P4RFD to get extra 50 back in wallet.



UCO Bank Exclusive Coupons
Pay using UCO credit/debit cards and get 25% (max 50 Rs) cashback. Just apply promo code UCOBANK before 30th June 2016 to avail this offer.

Book Movie Tickets & Get 15% Cashback
Now get upto 175 Rs cashback on movie tickets with Freecharge at BookMyShow !!

100% CB for New Users!
MAY50 : Recharge for Rs 50 and get flat 50 cashback! You have to pay via credit/debit card only and it can be redeemed once during offer period.

Offers for HDFC Users
SDHDFC : Avail 10% cashback on all services using this code.

New User Offers

1) FIRSTDTH : Get 50 cashback on 400+ Rs dth recharge.

2) LL20 : Get 20% CB (max 100 Rs) on 200+ landline bills.

3) 75FC : Avail 50 cashback on recharge of Rs 75 or more.

4) POSTNEW : Pay postpaid bills worth 400+ Rs and get flat 100 Rs CB.

5) FIRSTBILL : Get upto 100 Rs CB on electricity bills till April end.

6) D2HNEW : Make DTH recharge of 400+ Rs and get 20% cashback.

7) BILL20 : Pay for gas/electricity bills worth Rs 500+ to avail 20% CB (max 100 Rs).

8) GAS100 : Avail 20% cashback (upto 100 Rs) on 200 Rs+ gas bills.

Freecharge Wallet Offers

  • Shop on Jabong for your favorite fashion products and at payment page, choose freecharge wallet option. It’s a one time offer where you will get 20% cashback (max 250 Rs).
  • Book your bus tickets at redbus and get 20% instant discount + 20% CB. Use code RBAPR20 and pay with FC wallet to get upto 50 Rs cashback. Valid twice per user.
  • Invite friends & earn 5000 Rs: Just view this post o know more about their referral program.


About Freecharge Promo Code
Kunal Shah & Sandeep Tondon founded freecharge in 2010 and their smashing offers changed the way of recharging cellphones completely. Recently, in 2015 Snapdeal acquired freecharge and now you can easily spend your cashback/sd balance against online shopping.
Recharging with Freecharge is really safe & hassle free. They will never reveal/share your account details because customer security is their prime concern.
It makes all your transactions rewarding! Just choose your favorite coupons (McDonald, Lenskart, Dominos + hundreds of stores) and proceed for payments. After successful transaction, your coupons will be mailed to your registered id instantly!
No other company in market provide such massive discounts & cashback offers.

Is it safe to use credit/debit cards/net banking on Freecharge?
You need not to worry while recharging via online payment modes since it uses 128 bit encryption techniques which makes all transactions private. Your personal or confidential data such as credit card number, ATM pin will always remain safe with Freecharge.

Which electricity merchants are supported?
BESCOM (Bangalore), BEST (Mumbai), MSEDC (Maharashtra Maha Vitaran), Reliance Energy Mumbai, NPCL (Noida), Jaipur-Jodhpur vidyut vitran, BASES and many other providers are listed in the app.

Why my gas service provider is not listed?
Currently you can pay only for IGL (Indraprastha) and Mahanagar gas.
Pay for Metro Smart card
As of now this feature is available exclusively for Mumbai users. Just enter your metro number and recharge amount to get the things done quickly.

What is Freecharge Credits System and How it works?
It’s nothing but a virtual wallet (very similar to paytm) and you can load money into it using online modes or Freefund codes. Either way, all the cashback generated after using promo codes is accumulated in this wallet. These credits can be further used for instant discount on your future recharges. Not only that, you can even pay for thousands of offline + online merchants by burning these credits.

Newly Added Emergency Lifeline Feature
This is an awesome option when you are running on low balance. You get tokens for every 50+ Rs recharge and in case of emergency, you can spend 5 tokens in exchange of 100 MB 3G data. To know more about this feature, simply open left sidebar in app and click on “rewards” section.
Wallet Capacity
You can store/withdraw/load at most 10,000 Rs in a single month. Very soon, you might be able to increase monthly limits by upgrading the wallet.

Can I transfer my money to the bank?
Yes, you can! but the money which you want to withdraw must be deposited in wallet more than 7 days before. Example :  money which you have got in account on 10th March can be withdrawn to bank only after 17th March.

What are Turbo Recharges?
We are always in a hurry and freecharge knows it very well! So, they have got this cool option which enables user to complete recharges without filling up their mobile number, operator, plan & amount. It does so by remembering your last transactions.

#LoDoKhatamKaro
Send payments to loved ones seamlessly and also do not hesitate to request some money if they have borrowed from you! Take snapshot of the chat and tweet it using above mentioned hashtag. This will unlock the doors of awesome prizes and gift vouchers. Right now, lucky users are getting free chance to meet their favorite cricket stars in IPL.

Chat and Pay Feature
Similar to Whatsapp, now you can instantly chat with your friends through FC app itself! Things doesn’t end here! Now you have got the freedom of sending and receiving money directly into wallet.
If there’s no such option visible on your phone, just update app to the latest available version.

Customer Care Number
If you have got some problems, then just go through this official forum. Almost 99.9% problems with their solutions have been already discussed there. Either way, you can inbox your query on their Facebook/Twitter page. These guys are extremely fast in responding customer queries.

How to Redeem Freecharge Offers?
Newbies might face some difficulties while using our freecharge coupons. So, just go through these steps an clear all the doubts.
1. Choose what you want to pay for, means either mobile, dth, metro card, gas, bills etc.
2. Select operator wisely and enter the recharge amount.
3. Now scroll this page above and carefully choose the promo code which has highest discount.
4. Apply it in ‘enter coupon code’ box and there you go! Congrats, you will get pop up notification showing ‘coupon applied successfully’. Now just make payment and enjoy the cashback!
Are you still not getting? No worries..Here’s an infographic banner specially made for spycoupon users which shows all the necessary steps.
We highly recommend you to bookmark this page so you won’t be missing a single deal. Visit our posts daily and start saving shitload of money!!

freecharge refer n earn

Refer and Earn 5000 Rs Freecharge Freefund Code
Wohoo! After a long wait, Freecharge “refer and earn” program is ready to rock again! Now you can easily earn 5000 Rs worth freecharge freefund codes just by referring 100 friends. Let us have a quick look at the offer details :

Freecharge Refer & Earn 5000 Rs Offer
1] Just update your freecharge app to the latest version.
2] Open app and see the left sidebar. There you will “reward” tab > Now select “Refer N Option” as shown in the picture below:
3] Now click on “ invite ” button and send your referral code to all your friends via whatsapp , email or facebook.

4] Your friend will get 50% cashback on 50 Rs+ recharge after using your code (NOTE : He must be new user ]. At the same time, 50% cashback will be credited in your freecharge wallet.
5] You can earn maximum of 5000 Rs by referring 100 friends..

Linux Hack

Hack 1. Use CDPATH to define the base directory for cd command
If you are frequently performing cd to subdirectories of a specific parent directory, you can set the CDPATH to the parent directory and perform cd to the subdirectories without giving the parent directory path as explained below.
[Suraj@dev-db ~]# pwd /home/Suraj
[Suraj@dev-db ~]# cd mail
-bash: cd: mail: No such file or directory
[Note: This is looking for mail directory under current directory]
[Suraj@dev-db ~]# export CDPATH=/etc [Suraj@dev-db ~]# cd mail /etc/mail
[Note: This is looking for mail under /etc and not under current directory]
[Suraj@dev-db /etc/mail]# pwd /etc/mail
To make this change permanent, add export CDPATH=/etc to your ~/.bash_profile
Similar to the PATH variable, you can add more than one directory entry in the CDPATH variable, separating them with : , as shown below.
export CDPATH=.:~:/etc:/var
This hack can be very helpful under the following situations:
o Oracle DBAs frequently working under $ORACLE_HOME, can set the CDPATH variable to the oracle home
o Unix sysadmins frequently working under /etc, can set the CDPATH variable to /etc
o Developers frequently working under project directory /home/projects, can set the CDPATH variable to /home/projects
o End-users frequently accessing the subdirectories under their home directory, can set the CDPATH variable to ~ (home directory)