RSS

Category Archives: Uncategorized

Pro-Tip: LogCat Regex Filtering

One day, You may need to filter the LogCat output. So, here are some quick examples:

Filter tag ‘FOO’ or ‘MainActivity:
tag:^(?!.*(FOO|MainActivity)).*$

Filter ‘Hello World’ in the log text:
text:^(?!.*(Hello World)).*$

You can combine filter by simply concatenating filter expressions:
tag:^(?!.*(FOO)).*$ text:^(?!.*(BAR)).*$

Advertisements
 
Leave a comment

Posted by on May 12, 2013 in Android, Uncategorized

 

Tags: , , ,

Track your Gmail address

One of the biggest e-irritants I have is that my email address gets “sold” to companies to spam me with promotions by businesses I use (and they deny it). This trick should help identify those buggers.

The trick uses the ability tack on an alias to your gmail address using the ‘+’ character e.g my.username+alias@gmail.com (where ‘alias’ that you’ll track).

So, for example, if you sign up for a service or are supplying an email an address a bank or insurance company, you can use their name e.g when you enter an email address for a bank like ABSA you can supply the address ‘my.username+absa@gmail.com’.

You’ll still receive mail from them in your ‘my.username@gmail.com’ inbox. All you now need to do is create a filter and Label emails to ‘my.username+absa@gmail.com’.

If you receive email or get companies that reference email to ‘my.username+absa@gmail.com’ you know who they got your email address from.

Fight the spam!

 
3 Comments

Posted by on July 25, 2011 in Uncategorized

 

Tags: , ,