Tuesday, 21 February 2012
Sunday, 19 February 2012
Google searching techniques
Link: url Shows other pages with links to that url
Related:url same as "what's related" on serps.
Site: domain restricts search results to the given domain.
Allinurl: shows only pages with all terms in the url.
Inurl: like allinurl, but only for the next query word.
Allintitle: shows only results with terms in title.
Intitle: similar to allintitle, but only for the next word.
"intitle:webmasterworld google" finds only pages with Webmasterworld in the title, and google anywhere on the page
Cache:url will show the Google version of the passed url.
Info:url will show a page containing links to related searches, backlinks, and pages containing the url. This is the same as typing the url into the search box.
Spell: will spell check your query and search for it.
Stocks: will lookup the search query in a stock index.
Filetype: will restrict searches to that filetype. "-filetype:doc" to remove Microsoft word files.
Daterange: is supported in Julian date format only. 2452384 is an example of a Julian date.
Maps: If you enter a street address, a link to Yahoo Maps and to MapBlast will be presented.
Phone: enter anything that looks like a phone number to have a name and address displayed. Same is true for Something that looks like an address (include a name and zip code)
Site:www.somesite.net "+www.somesite.+net"(tells you how many pages of your site are indexed by google)
Allintext: searches only within text of pages, but not in the links or page title
Allinlinks: searches only within links, not text or title
Searching for your mp3 in google :
?intitle:index.of? mp3 {artist or album}
eg:
?intitle:index.of? mp3 A R Rahman
http://pdf.textfiles.com/security/googlehackers.pdf
Wednesday, 7 December 2011
Guidelines for Stand-Up Meeting
Setup stand-up meeting for my team.
Purpose of this meeting is to improve communication among the team and promote team focus.
Purpose of this meeting is to improve communication among the team and promote team focus.
Rules for Stand-Up:
- Arrive on time or early.
- All team members attend and participate.
- Last arrive speak first and choose who should speak next.
- The meeting duration is not more than 20 minutes. (1 -2 minutes person and 5 minutes for discussion).
- Maintain your own task list and note the actions or tasks items you volunteer for.
- Be prepared to present three topics and keep your report specific,
precise and short in order to help the meeting end within 20 minutes.
- Eg: Notes:
What did I
do
since the last meeting?
-------------------------------------
-- Designed
new
feature
-- Implemented component X
-- Fixed bug related to Y
-- Updated confluence about support task Z
-- X details communicated to FAL & RMS
-- Read up on X API & ABC technologies
What will I be doing until the next meeting?
--------------------------------------------
-- Project meeting related to XYZ
-- Code review / Peer review
-- Implement component XYZ
-- Redactor code base related ZYU
What obstacles are blocking my progress & any issues?
-----------------------------------------------------
-- Item
1
-- Item
2
- Listen to other team member's status in case it might relate to your tasks or impact you.
- Don't interrupt people when they are talking. Pay attention to other team members and note items that you¿ll need to cover in follow-up discussions.
- Don't agree to decisions or action you don't understand. Ask questions and insist on answers when you need clarification.
- If you raise an issue, blocker or question that can't be resolved in a minute, ask to discuss with the parties involved after the meeting
- No story telling.
- No problem solving.
- Speak to the team.
- Latecomers ???
References:
Friday, 2 December 2011
Open Command Prompt here
1.Press WIN +E, Navigate to folder then Press ALT + D to select address bar and type cmd the enter.
2.In windows explore SHIFT + mouse right click , choose "open command window here" in context menu
http://lifehacker.com/5306401/open-a-new-command-prompt-from-explorer-with-a-hotkey?utm_expid=66866090-68.hhyw_lmCRuCTCg0I2RHHtw.0
Thursday, 15 September 2011
Java File path difference between getPath(), getAbsolutePath(), and getCanonicalPath()
https://docs.oracle.com/javase/1.5.0/docs/api/java/io/File.html
public class FilePathTest { public static void main(String[] args) { try { File f = new File("test.xml"); System.out.println("----------File set to :test.xml----------"); System.out.println("getAbsolutePath:" + f.getAbsolutePath()); System.out.println("getCanonicalPath:" + f.getCanonicalPath()); System.out.println("getName:" + f.getName()); System.out.println("getPath:" + f.getPath()); System.out.println("getParent:" + f.getParent()); System.out.println("getParentFile:" + f.getParentFile()); if (f.getParentFile() != null) { System.out.println("getParentFile().getAbsolutePath():" + f.getParentFile().getAbsolutePath()); System.out.println("getParentFile().getCanonicalPath():" + f.getParentFile().getCanonicalPath()); } f = new File("D:\\eclipse-ws\\20130307_WEB\\TestJava\\test.xml"); System.out.println("\n" + "----------File set to :D:\\eclipse-ws\\20130307_WEB\\TestJava\\test.xml----------"); System.out.println("getAbsolutePath:" + f.getAbsolutePath()); System.out.println("getCanonicalPath:" + f.getCanonicalPath()); System.out.println("getName:" + f.getName()); System.out.println("getPath:" + f.getPath()); System.out.println("getParent:" + f.getParent()); if (f.getParentFile() != null) { System.out.println("getParentFile().getAbsolutePath():" + f.getParentFile().getAbsolutePath()); System.out.println("getParentFile().getCanonicalPath():" + f.getParentFile().getCanonicalPath()); System.out.println("getParentFile().getName():" + f.getParentFile().getName()); System.out.println("getParentFile().getPath():" + f.getParentFile().getPath()); System.out.println("getParentFile().getParent():" + f.getParentFile().getParent()); } f = new File("test\\..\\.\\test.xml"); System.out.println("\n" + "----------File set to :test\\..\\.\\test.xml----------"); System.out.println("getAbsolutePath:" + f.getAbsolutePath()); System.out.println("getCanonicalPath:" + f.getCanonicalPath()); System.out.println("getName:" + f.getName()); System.out.println("getPath:" + f.getPath()); System.out.println("getParent:" + f.getParent()); if (f.getParentFile() != null) { System.out.println("getParentFile().getAbsolutePath():" + f.getParentFile().getAbsolutePath()); System.out.println("getParentFile().getCanonicalPath():" + f.getParentFile().getCanonicalPath()); System.out.println("getParentFile().getName():" + f.getParentFile().getName()); System.out.println("getParentFile().getPath():" + f.getParentFile().getPath()); System.out.println("getParentFile().getParent():" + f.getParentFile().getParent()); } } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } } }
-------------------OUTPUT------------------------------------ ----------File set to :test.xml---------- getAbsolutePath:D:\eclipse-ws\20130307_WEB\TestJava\test.xml getCanonicalPath:D:\eclipse-ws\20130307_WEB\TestJava\test.xml getName:test.xml getPath:test.xml getParent:null getParentFile:null ----------File set to :D:\eclipse-ws\20130307_WEB\TestJava\test.xml---------- getAbsolutePath:D:\eclipse-ws\20130307_WEB\TestJava\test.xml getCanonicalPath:D:\eclipse-ws\20130307_WEB\TestJava\test.xml getName:test.xml getPath:D:\eclipse-ws\20130307_WEB\TestJava\test.xml getParent:D:\eclipse-ws\20130307_WEB\TestJava getParentFile().getAbsolutePath():D:\eclipse-ws\20130307_WEB\TestJava getParentFile().getCanonicalPath():D:\eclipse-ws\20130307_WEB\TestJava getParentFile().getName():TestJava getParentFile().getPath():D:\eclipse-ws\20130307_WEB\TestJava getParentFile().getParent():D:\eclipse-ws\20130307_WEB ----------File set to :test\..\.\test.xml---------- getAbsolutePath:D:\eclipse-ws\20130307_WEB\TestJava\test\..\.\test.xml getCanonicalPath:D:\eclipse-ws\20130307_WEB\TestJava\test.xml getName:test.xml getPath:test\..\.\test.xml getParent:test\..\. getParentFile().getAbsolutePath():D:\eclipse-ws\20130307_WEB\TestJava\test\..\. getParentFile().getCanonicalPath():D:\eclipse-ws\20130307_WEB\TestJava getParentFile().getName():. getParentFile().getPath():test\..\. getParentFile().getParent():test\..
- getPath() :will return the absolute or relative path of the File object, depending on which it was constructed with.
- getAbsolutePath(): will return the current directory name concatenated with the file separator character and the path name of the file
- getCanonicalPath(): will return a path name with the relative references resolved.
Subscribe to:
Posts (Atom)