Showing posts with label Technical. Show all posts
Showing posts with label Technical. Show all posts

Jun 5, 2020

Github PR with more fun - Gitmoji emoji in git

Boring by typing commit message in your PR/commits . Want to make github more interesting 

Try this tool to make it more fun

Gitmoji is an initiative to standardize and explain the use of emojis on GitHub commit messages.

Click here to know more gitmoji

Jul 24, 2013

How to recover files from infected Pen Drive

Infected Pen Drives are very common . The only way to reuse the  device is format it, but if we have some important data in that, then there is a problem :( . Through few steps you can retain the files from your infected pen drive.
  1. Insert Your Pen drive in PC
  2. Open Command prompt
    1. Start -> Run .. Type cmd and press enter
  3. in command prompt go to the exact folder location
    1. Say if your pen drive is in E folder, type e: and press enter
  4. Now Type  attrib -h -s -r /s /d *.* and press enter
  5. Now open your pen drive folder, your datas will be shown and recovered.
    1. Copy them and make a backup

Nov 29, 2012

Proxy Setting is Grayed out

Follow this Blog
I have  a faced  a problem that suddenly one day my proxy setting is grayed out and i cant able to choose my  proxy to access few websites that are blocked. So from surfing i have figured out an workaround to enable proxy in my System.
Steps to Do:-
  • Open Registry Editor in your PC. to do so open run command and type "regedit" and select Enter, it will open Registry  Editor Window
  • In that go to HKEY_LOCAL_MACHINE=>SOFTWARE=>Policies=>Microsoft=>Windows=>Internet Settings
  • When you click Internet Settings on the right hand side, you can see value name  "ProxySettingsPerUser"  , if the Data of that Name is 0, then change it to 1. To change that, make a right click on that item, select Modify and change it to 1. In case if the value is already one and your proxy is grayed out, then you can delete it  and restart your computer.
  • Your Proxy settings wont be grayed out.
  • To anable proxy settings, type inetcpl.cpl in run command and you can Internet Options Popup, there under Connections Tab => LAN Settings and enable your Proxy.
Read More..
Featured Tags:
  LAN Setting is grayed out, Proxy Setting is Grayed out, Cant able to change proxy
People Also Visited:-
 How Do I Know Mobile IMEI Number ?                 Current Week Number In Linux

Who Is Accessing Your Shared Folders/Files ?      Removing Start Up Programs In Windows

Nov 5, 2012

Google's New Compose Feature

 How to compose and Reply to Messages ?
     Every product has a flaw, why cant gmail be the exception in that. Google has been consistently improvising its strategy to keep its products flawless to sustain the freshness, most used and effectiveness of its product.
One such flaw, when you were composing a new mail , you cant go back and check other mails in the inbox for some data. This flaw leads to several millions of clinks per day in that Application. To control that Google gave a solution like a work-around to overcome this problem.
New Compose Feature will work like a chat window. Say now if you want to compose a email, you have to open 2 windows one displays your inbox, the other for composing a new email. [ say if you want some data from the inbox for composing the new email].
Now when you click compose, it will be pop-up like a chat window and at the same time, you can able to access multiple mails in your inbox and other folders. 
How to Compose New Message?
Step 1: If you want to compose a new email, click on the Compose button, but, it will not redirect you to a new message window as before.
Step 2: A window will pop-up similar to the chat message pane with options including Recipients, Text formatting, insert options, discard, more options, windows size and more.
Step 3: Anytime you want to switch to the older compose mode, select the option Switch Back to Old Compose under More.
How to Reply to Messages?
The main change is that the compose mail appears at the bottom of the like an horizontal pane and it is quite similar to composing a new message.
Step 1: If you want to change the subject while replying, you select the option ‘Start Separate Conversation’ in the drop down menu next to the name of the recipient.
Step 2: Also, select reply, reply all or forward from the same drop down menu.
Step 3: You respond along with the previous message by clicking on the ‘Show Trimmed Content’ icon at the bottom of the compose space.
Google is also working on additional features that will allow users to insert emotions, event invitations, print drafts from More menu, add labels to outgoing messages and send read receipts. read more at Google's Official Blog
People Also Visited:-   Perl For MS Windows   Learning Perl    Run Command Shortcuts
 

Aug 31, 2012

Perl for MS Windows

Perl, one of the scripting language which's commonly used for writing simple scripts and complex applications. Read More about Perl...
  There is a setup in Windows PC to run the Perl and compiler for them , they name it as Strawberry Perl. Its absolutely free to download them on your windows PC and it can be learnt  easily by these links.. In Google chrome, the download is faster

After you downloaded the file, you can install the msi file in your PC and start the Installation Procedure

Aug 17, 2012

Avira Free AntiVirus Download

My PC is completely jammed with virus.,so pen drive is detecting, even its detected , its empty, then i realized that my anti-virus is not updated . For the time being i surfed the web to get some free anti-virus for a short span . One of  my friend suggested this and said it will be good.
This anti-virus software provides the easy way to search virus and kill that .
To Download this,click here
   Viewers, please suggest me some other anti-virus which is good in market

Feb 6, 2012

Flush DNS

Sometimes its required to Flush DNS for getting a new Dynamic IP Address for your PC from the server.

To DO:

  • Open Run Command Window
    • Press "Windows + R" key or
    • Click Start and Select Run
  • Now Enter cmd and preess enter to open the Command Prompt Window
  • Type the below commands and press enter after each command
    • ipconfig/flushdns
    • ipconfig/release
    • ipconfig/renew

And for confirmation type ping www.google.com and press Enter . If Flushing DNS was successfully done, you will get an IP Address there. Type exit and press enter to close the window

Jun 15, 2011

Learning Perl

I was interested in learning Scripting languages. When i discussed this with my friends they suggested me to learn Python, because its more powerful in scripting languages. I don't know even basic knowledge on scripting languages, so i started gathering documents for learning Perl.. I searched many websites to find the online Docs, then i have found one.. http://www.perl.org/  . Here there is a link which says Learning Perl , which gives the brief introduction about Perl and the basics of scripting languages.
But now i am searching for an IDE[Editor] for the Perl.
Please suggest me some editors for scripting languages, which would be helpful for me to work with

May 23, 2011

Run Command Shortcuts


Accessibility Controls  :  access.cpl   

Add Hardware Wizard : hdwwiz.cpl 

Add/Remove Programs : appwiz.cpl 

Administrative Tools : control admintools 

Automatic Updates :  wuaucpl.cpl 

Bluetooth Transfer Wizard : fsquirt 

Calculator : calc 

Certificate Manager : certmgr.msc 

Character Map : charmap 

Check Disk Utility : chkdsk 

Clipboard Viewer : clipbrd 

Command Prompt : cmd 

Component Services : dcomcnfg 

Computer Management : compmgmt.msc 

Date and Time Properties : timedate.cpl 

DDE Shares : ddeshare 

Device Manager : devmgmt.msc 

Direct X Control Panel (If Installed)* : directx.cpl 

Direct X Troubleshooter : dxdiag 

Disk Cleanup Utility : cleanmgr 

Disk Defragment : dfrg.msc 

Disk Management : diskmgmt.msc 

Disk Partition Manager : diskpart 

Display Properties : control desktop 

Display Properties : desk.cpl 

Display Properties (w/Appearance Tab Preselected) : control color 

Dr. Watson System Troubleshooting Utility : drwtsn32 

Driver Verifier Utility : verifier 

Event Viewer : eventvwr.msc 

File Signature Verification Tool : sigverif 

Findfast : findfast.cpl 

Folders Properties : control folders 

Fonts : control fonts 

Fonts Folder : fonts 

Free Cell Card Game : freecell 

Game Controllers : joy.cpl 

Group Policy Editor (XP Prof) : gpedit.msc 

Hearts Card Game : mshearts 

Iexpress Wizard : iexpress 

Indexing Service : ciadv.msc 

Internet Properties : inetcpl.cpl 

IP Configuration (Display Connection Configuration) : ipconfig /all 

IP Configuration (Display DNS Cache Contents) : ipconfig /displaydns 

IP Configuration (Delete DNS Cache Contents) : ipconfig /flushdns 

IP Configuration (Release All Connections) : ipconfig /release 

IP Configuration (Renew All Connections) : ipconfig /renew 

IP Configuration (Refreshes DHCP & Re-Registers DNS) : ipconfig /registerdns 

IP Configuration (Display DHCP Class ID) : ipconfig /showclassid 

IP Configuration (Modifies DHCP Class ID) : ipconfig /setclassid 

Java Control Panel (If Installed) : jpicpl32.cpl 

Java Control Panel (If Installed) : javaws 

Keyboard Properties : control keyboard 

Local Security Settings : secpol.msc 

Local Users and Groups : lusrmgr.msc 

Logs You Out Of Windows : logoff 

Microsoft Chat : winchat 

Minesweeper Game : winmine 

Mouse Properties : control mouse 

Mouse Properties : main.cpl 

Network Connections : control netconnections 

Network Connections : ncpa.cpl 

Network Setup Wizard : netsetup.cpl 

Notepad : notepad 

Nview Desktop Manager (If Installed) : nvtuicpl.cpl 

Object Packager : packager 

ODBC Data Source Administrator : odbccp32.cpl 

On Screen Keyboard : osk 

Opens AC3 Filter (If Installed) : ac3filter.cpl 

Password Properties : password.cpl 

Performance Monitor : perfmon.msc 

Performance Monitor : perfmon 

Phone and Modem Options : telephon.cpl 

Power Configuration : powercfg.cpl 

Printers and Faxes : control printers 

Printers Folder : printers 

Private Character Editor : eudcedit 

Quicktime (If Installed) : QuickTime.cpl 

Regional Settings : intl.cpl 

Registry Editor : regedit 

Registry Editor : regedit32 

Remote Desktop : mstsc 

Removable Storage : ntmsmgr.msc 

Removable Storage Operator Requests : ntmsoprq.msc 

Resultant Set of Policy (XP Prof) : rsop.msc 

Scanners and Cameras : sticpl.cpl 

Scheduled Tasks : control schedtasks 

Security Center : wscui.cpl 

Services : services.msc 

Shared Folders : fsmgmt.msc 

Shuts Down Windows : shutdown 

Sounds and Audio : mmsys.cpl 

Spider Solitare Card Game : spider 

SQL Client Configuration : cliconfg 

System Configuration Editor : sysedit 

System Configuration Utility : msconfig 

System File Checker Utility (Scan Immediately) : sfc /scannow 

System File Checker Utility (Scan Once At Next Boot) : sfc /scanonce 

System File Checker Utility (Scan On Every Boot) : sfc /scanboot 

System File Checker Utility (Return to Default Setting) : sfc /revert 

System File Checker Utility (Purge File Cache) : sfc /purgecache 

System File Checker Utility (Set Cache Size to size x) : sfc /cachesize=x 

System Properties : sysdm.cpl 

Task Manager : taskmgr 

Telnet Client : telnet 

User Account Management : nusrmgr.cpl 

Utility Manager : utilman 

Windows Firewall : firewall.cpl 

Windows Magnifier : magnify 

Windows Management Infrastructure : wmimgmt.msc 

Windows System Security Tool : syskey 

Windows Update Launches : wupdmgr 

Windows XP Tour Wizard : tourstart 

Wordpad : write 

Jan 12, 2011

Constructor Chaining in JAVA

When you try to make an object of the subclass type, it will be running all the constructors in the inheritance tree.
Please see the below example...

public class Animal {
public Animal(){
System.out.println("Animal Constructor");
}
}

public class Hippo extends Animal {
public Hippo(){
System.out.println("Hippo Constructor");
}
}

public class ConstructorChainingTest {
public static void main(String[] args){
Hippo h = new Hippo();
}
}

If you run ConstructorChainingTest .java, the output would be
Animal Constructor
Hippo Constructor..

This is called Constructor Chaining in JAVA

Jan 11, 2011

SCJP in Bangalore

Totally there are 124 prometric centres in india. There are 17 prometric centers in Bangalore.The exam fees is Rs.7200. One of the centre is in Brigade Road


R.C.S. EDUCATION PVT LTD
127, 4TH FLOOR,
ANCHORAGE COURT,
OPP BRIGADE TOWERS,
BRIGADE ROAD,
BANGALORE, Karnataka - 560025
Phone: 080-25361911
Site Code: IIF16 

Dec 23, 2010

Binary to Decimal in Java

Code:
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class BinarytoDecimal {

    public static void main(String[] argsthrows Exception {
       BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        System.out.println("Enter the binary value:");
         String binary = br.readLine();
        System.out.println("Decimal value is : "+Integer.parseInt(binary,2));

    }
}
Output:


Enter the binary value: 110
Decimal value is : 6

Decimal to Binary in Java

Code:
import java.lang.*;
import java.io.*;
public class DecimalToBinary{
  public static void main(String args[]) throws IOException{
  BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
  System.out.println("Enter the decimal value:");
  String decimal= bf.readLine();
  int i = Integer.parseInt(decimal);  
  String binary = Integer.toBinaryString(i);
  System.out.println("Binary: " binary );
  }
}  


Output:


Enter the decimal value: 15
Binary: 1111

Dec 8, 2010

Short Circuit Operators

&& and || are called short circuit operators. These operators are used for "AND" and "OR" operation respectively.
Ex.
if(a && b), Suppose if  a is false, it wont even check the value of b, it skip the condition itself. Take an another example:
if(refVal!=null && refVal.isValid() ) ,
 in this consider refVal is the reference variable and it has not been assigned to any object, so the value of refVal=null, so if its checking refVal.isValid(), it will throw the NullPointerException. Since, the first condition is false, it skips the second condition.

Dec 2, 2010

Keep your PC Clean

If your PC is faster, you will always love to work and do whatever you need. I will share with you some of my opinions to make your PC work faster.
  • Clean Temporary Files: 
    • Open run command([Start+ run] or press windows key+ R key in keyboard) and type cmd and press Enter key, it will open the folder which has all your temporary files. Delete all the files there by pressing Shift key + Del Key
  • Delete your Cookies:
    • Open run command and type inetcpl.cpl, it will open you Internet Options window. In that, click "Delete" and select Delete All, it will clean all your unwanted files from your browser
  • De fragmentation
    • Go to Start + All Programs + Accessories + System Tools + Disk Defragmenter, and select your drive that you need to defragment and click defragment, it will automatically do its job.
    • De fragmentation helps in allocating memory efficiently
  • Disk Cleanup
    • Go to Start + All Programs + Accessories + System Tools + Disk Cleanup and Select your Drive. It will take some time, so you start it at night time and leave it, it will clean your pc
If you guys know some other ways, to clean the PC, please update me with your comments

Nov 26, 2010

Shortcut to Switch between Tabs in Browser

Almost all the people, who were working with computers know how to switch between two windows, they use the key combination of Alt + Tab. But when you are in a browser, you can able to open multiple tabs in a single window, to perform multiple tasking.
If you try to switch between tabs, use the key combination of Ctrl + Tab. Hope this shortcut helps you a lot in fast browsing

Bug in Google Chrome

We have worked in many browser. To my knowledge, Google chrome was the best one that i have ever seen. Its so fast, very good animation, transparency... But there is a major bug in that.
  • In Google chrome, if you open multiple tabs, if the user accidentally closed the window, it closes all the tabs without any prior warnings, it closes all the tabs
  • Through this post, i request the  developers team of Google chrome to fix this bug, by throwing the warning message if more than one tabs are opened and if the user is trying to close the window.

Jul 7, 2010

Learn Any language

Want to learn any language…be it Java , C, C++ or Lisp?

Visit http://projecteuler.net/

It has the list of most famous computer science problems try to solve these to get you program skills sharper