W3C Introduction to Web Components - explainer/overview of the technologies
#Creating a 'Share on Google+' URL with this Dubious Clusterhack
Disclaimer: This is a ridiculous set of hacks. I had fun messing about with this and wanted to share it, but I wouldn't recommend using it for anything important. It may stop working at any time.
tl;dr: Google doesn't support sharing arbitrary URLs via a simple share link, but you can work around it by doing a redirect via Google, like so: https://plus.google.com/share?url=http%3A%2F%2Fgoogle.com%2Fsearch%3FbtnI%3D1%26q%3Dshowstudio%26sourceid%3Dnavclient
Most social sites let you share a link by visiting a special URL, for example:
Twitter. http://twitter.com/home?status=http://showstudio.com
Facebook. http://www.facebook.com/sharer.php?u=http://showstudio.com
-
getAllLinks.js
-
getAllLinks(element) - returns array of all UrlLinks in Document
-
findAndReplaceLinks(searchPattern,replacement) - changes all matching links in Document
-
changeCase.js - Document add-in, provides case-change operations in the add-in Menu.
-
onOpen - installs "Change Case" menu
-
_changeCase - worker function to locate selected text and change text case. Case conversion is managed via callback to a function that accepts a string as a parameter and returns the converted string.
-
helper functions for five cases
Google Search doesn't give you a lot of query flexibility. The tradeoff of course is that you get to search the entire web in milliseconds.
- MIT has a great cheatsheet of search operators.
- Dan Russell, a search scientist at Google, maintains the Search Research blog, which is full of interesting challenges and tips about changes to Google's search functionality.
- If you don't like memorizing the keywords, Google has a useful-enough advanced search interface.
# some common and useful google search tips | |
# for ref: http://www.google.com/advanced_search | |
###### tips ##### | |
define hello >> to looking for definition of hello | |
###### Content Search & Operator ######## | |
"hello world" >> to search for exact match of hello world | |
hello + world >> to search for hello and word eg: hello to my world | |
hello -world >> to search for hello, exclude word eg: hello to my house | |
hello * world >> to search fuzzy for hello *** world | |
~hello >> to search similar for hello eg: hi, hey |
@todo[#deprecate]
|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
Search Service | Search Operators |
---|---|
Web Search | [allinanchor: ][1], [allintext: ][2], [allintitle: ][3], [` |
admin account info" filetype:log | |
!Host=*.* intext:enc_UserPassword=* ext:pcf | |
"# -FrontPage-" ext:pwd inurl:(service | authors | administrators | users) "# -FrontPage-" inurl:service.pwd | |
"AutoCreate=TRUE password=*" | |
"http://*:*@www" domainname | |
"index of/" "ws_ftp.ini" "parent directory" | |
"liveice configuration file" ext:cfg -site:sourceforge.net | |
"parent directory" +proftpdpasswd | |
Duclassified" -site:duware.com "DUware All Rights reserved" | |
duclassmate" -site:duware.com |
Titanic -inurl:(htm|html|php|pls|txt) intitle:index.of “last modified” (mkv|mp4|avi) | |
hey jude -inurl:(htm|html|php|pls|txt) intitle:index.of “last modified” (mp3|wma|aac|flac) |
admin account info" filetype:log | |
!Host=*.* intext:enc_UserPassword=* ext:pcf | |
"# -FrontPage-" ext:pwd inurl:(service | authors | administrators | users) "# -FrontPage-" inurl:service.pwd | |
"AutoCreate=TRUE password=*" | |
"http://*:*@www” domainname | |
"index of/" "ws_ftp.ini" "parent directory" | |
"liveice configuration file" ext:cfg -site:sourceforge.net | |
"parent directory" +proftpdpasswd | |
Duclassified" -site:duware.com "DUware All Rights reserved" | |
duclassmate" -site:duware.com |