Last active
October 15, 2021 15:17
-
-
Save avilde/3a9b5851184381935b706d40ca67ae08 to your computer and use it in GitHub Desktop.
Secret To Coding
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Front-end developer secret trick ) | |
1) Right click on URL bar in Chrome | |
2) Open "Manage search engines..." and "Add" new | |
3) Fill in data: | |
Search engine: StackOverflow | |
Keyword: SO | |
URL with %s in place of query: | |
http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=%s site:stackoverflow.com | |
4) Type SO and press Tab to search | |
*/ | |
export class StackOverflow { | |
public static search(searchTerm: string): string { | |
return `Returning posts about '${searchTerm}' (w/o jQuery)`; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment