Showing posts with label Tips-Tricks. Show all posts
Showing posts with label Tips-Tricks. Show all posts

Wednesday, April 25, 2012

Get SMS notification for emails at GMail


Romain Vialard is a Google Apps Script Top Contributor. He has contributed interesting articles and blog posts about Apps Script. - Jan Kleinert
I just had to share this finding with all of you. Now you can get SMS alert or notifications for important emails at GMail.


Just follow the steps described at the below link:
https://developers.google.com/apps-script/articles/gmail_filter_sms#section1
or,
Just follow the steps below(copied from above link):


  1. In Google Calendar, register your mobile phone to enable SMS notifications.
  2. In Gmail, create a new label named 'Send text'.
  3. In Gmail, create a filter to apply the label 'Send text' to important emails. For example, you may want consider emails from your boss containing the word 'urgent' as important.
  4. Send an email to yourself to try this filter.
  5. In Google Docs, open a new spreadsheet.
  6. Choose the menu Tools > Script Editor.
  7. Copy and paste the following script:
    function sendText() {
      var label = GmailApp.getUserLabelByName('Send text');
      var threads = label.getThreads();
      var now = new Date().getTime();
      for(i in threads){
        CalendarApp.createEvent('IMP- '+threads[0].getFirstMessageSubject(),
                                new Date(now+60000),
                                new Date(now+60000)).addSmsReminder(0);
      }
      label.removeFromThreads(threads);
    }
  8. Save the script.
  9. Click the Run icon. A pop-up opens asking you for your authorization to access the Gmail and Google Calendar services.
  10. Click the Authorize button.
  11. Click the Run icon again.
  12. After one minute, you should receive a text on your mobile device, containing the subject of the email you wrote and sent in Step 4.

Thursday, April 30, 2009

NET SEND

Its sad that Microsoft stopped the NET SEND service. If you used it u know its lot fun if u want bug anyone ...lolz :p. This service has been stopped since release of XP service pack 2 because of security issues.

I have got this trick to enable that service again. \m/....done that in XP service pack2.
To do this, follow these steps:

1. Open Windows Explorer.
2. In the left pane, right-click My Computer, and then click Manage.
3. In the Computer Management window, expand Services and Applications in the left pane, and then click Services.
4. In the right pane, double-click Messenger.
5. In the Messenger Properties (Local Computer) dialog box, click the General tab.
6. On the General tab, select Automatic from the Startup type list, and then click Apply.
7. Under Service status, click Start, and then click OK.

now type in your cmd without the bracer [[ net send "targetted pc's ip address without qoute" "your message with qoute" ]]
Example: net send 172.30.*.* "hello"

wallah!!
note: be sure to enable service in both pc .

Tuesday, December 2, 2008

Slackware 12.1 mouse scrolling sloution

If you have a wheel mouse after installation of Slackware, the scrolling function won't work.
You have to change /etc/X11/xorg.conf file to enable it.
**i am using vim to edit the *.conf file.
** this hack is for two buttons and one wheel mouse.
Steps:
1. open command shell
2. #cd /etc/X11
3. #vim x.conf
4. find mouse section ( "Mouse1" or something like that)
5. add this two lines ->
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
6. If your mouse protocol is set to "PS/2" or "auto" then you may have to change it to "IMPS/2" or "ExplorerPS/2"
8. save the file with the changes made.
9.restart X.

Wallah! happy scrolling :)

For more info visit : www.linuxquestions.org