Meet @DearAssistant, a Twitter bot that is like a mini version of Siri. You can tweet your questions in plan English and the bot will reply with an answer.
The Twitter bot is internally using Wolfram Alpha so there’s a whole range of questions that it can answer. Here are some questions that people have asked @DearAssistant so far:
- How many calories are in Diet Coke? (link)
- When was Mahatama Gandhi born? (link)
- What is the distance between city A and city B (link)
- Who directed the film M (link)
- What is the price of Kindle Paperwhite (link)
You can also ask the bot for word meanings, weather conditions, language translation, to convert between time zones, date calculations (how many days until Christmas) and more.
Writing a Twitter Bot – The Basic Ingredients
A bot is essentially a program that is always running in the background and whenever it encounters a command (tweets in this), it processes it (based on the text of the tweeet) and sends a reply to the tweeter in another tweet.
Earlier, you would need a web server to run the bot while the bot itself would be written in languages like PHP, Perl or Python. That’s complicated so we will use Google Scripts to write the Twitter bot and host it on our Google Drive.
Technology Blog | labnol.org
When you share a folder or a file in Google Drive with anyone, the shared links will stay active forever until you manually change the access permissions. There isn’t a way to set an expiration date for your shared files or folders that will make these links unavailable after a certain date and time.
You can however add an auto-expire feature to any of your shared folders in Google Drive with the help of a simple Google Script.
Set Expiration Dates & Temporarily Share Google Drive Folders
You create a folder in Google Drive and share it with Public or a small group. You then specify a date/time when you want that shared link to expire. The script, at the specified time, will create a copy of your shared folder and delete the original one. Thus the shared links would no longer work though the folder and files will stay in your Google Drive.
Let’s get this to work now. Leer más “Set Auto-Expiry Dates for Shared Folders in Google Drive | labnol.org”
The Google Earth app for Android includes a handy screen capture feature that allows you to capture and share screenshot images of the current view inside Earth with a click. You may capture screenshots of aerial imagery as well as 3D buildings.
You may wonder why would anyone need this when Android itself include screen-capture capabilities? Well, compare these two images.
This screenshot was captured using Google Earth – clutter free image.
This screenshot of Google Earth was captured with Android
The big advantage with Google Earth’s built-in screen capture feature is that it adds none of the on-screen clutter to your screenshot.
If you have been using Google Contacts (or any other address book*) to store the postal addresses of your friends and colleagues, you can easily create an online Google Map with all these address or even view them inside Google Earth. Here are the steps: Leer más “See all your Google Contacts on a Google Map | labnol.org”
A store had this large QR code poster at the entrance window that read – “Like our Facebook Page for offers.” I scanned the QR code with my mobile phone and it redirected me to the store’s website that wasn’t quite mobile-friendly. I spent around 8 seconds on the website but couldn’t locate the Facebook Like button and left.
It was a missed opportunity for the brand as the QR Code failed to generate an additional Like on the Facebook Page.
Encourage Social Action with QR Codes
What the store really needs is a dedicated landing page that would provide customers an option to quickly “Like” the Facebook Page without confusing them with too many options. Also, the design of this page has to be mobile friendly as there’s a 99.99% probability that customers would use a mobile phone to scan the QR code on the go.
Scan this QR Code for a sample.
If you would like to build a similar landing page that encourages people to Like your Facebook Page and Follow you on Twitter, you can start with this simple template. The changes you need to make include… Leer más “Use QR Codes to Get More Facebook Likes – labnol.org”
A warning message in Google Chrome v22.0
Google wants your Chrome browser safe and therefore discourages users from installing any web apps and extensions that aren’t available in the official Chrome Web Store.
Also see: View Source of a Chrome Extension
If someone tries to add an unapproved extension (CRX file) or a user-script (*.user.js) in Chrome, the browser will throw a yellow warning message as shown in the above screenshot. Leer más “How to Install Extensions from outside the Chrome Web Store – labnol.org”