Skip to content

Instantly share code, notes, and snippets.

@avilde
Last active October 15, 2021 15:17
Show Gist options
  • Save avilde/3a9b5851184381935b706d40ca67ae08 to your computer and use it in GitHub Desktop.
Save avilde/3a9b5851184381935b706d40ca67ae08 to your computer and use it in GitHub Desktop.
Secret To Coding
/** 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