Archive
Youtube audio player
At http://www.labnol.org/internet/youtube-audio-player/26740/ I found a nice trick to embed just a part of the Youtube Flash player, thus the player looks like an audio player. All you need is a little CSS trick:
Locate big emails in Gmail
“Gmail supports an undocumented ‘size’ search operator that will let you quickly find all the big emails in the mailbox whose size exceeds a particular threshold. The search syntax is:
size:[size in bytes]
To give a real example, a Gmail search query like ‘size:5242880′ will list all big emails whose size is 5 MB or greater while ‘size:10485760′ list messages that are bigger than 10 MB.“
From here.
Check Why your Email was Delivered Late
Amit Agarwal wrote a great post on how to analyze why your email was delivered late.
In short:
- get the original email message (“show original”)
- copy the whole header and insert it in this application: MessageHeader Google Apps Toolbox
- it will analyze and show you where the delay occurred
Google search on Apache-generated directory lists
intitle:"index of" +"last modified" +"parent directory" +description +.mp3
This will look for MP3 files. Try here.
Audio pronunciation of words from Google
Amit Agarwal has a nice post entitled “Download the Audio Pronunciation of Words from Google“.
In short
Take the following template URL:
https://ssl.gstatic.com/dictionary/static/sounds/de/0/WORD.mp3
And replace WORD with the word you want to hear pronounced. With mplayer and vlc I couldn’t play them directly, first I had to download them with wget.
Examples:
- https://ssl.gstatic.com/dictionary/static/sounds/de/0/python.mp3
- https://ssl.gstatic.com/dictionary/static/sounds/de/0/structure.mp3
Update
This is implemented in my jabbapylib library, see here.
Mom’s Gmail account is at 98%
Problem
You create a Gmail account for your Mom and a year later she signals that it’s almost full. You told her to delete those “funny” Powerpoint presentations she received but she didn’t listen. How to help her out?
Solution
On my current machine I have lots of free space so I decided to save her mails here. I made a new account for her but I didn’t want to log out from mine while fetching her mails. Here is what I did:
- I made a new account for her (System Settings -> User Accounts, Add). Set her password.
sudo xhost local:mom(where ‘mom‘ is her username)su - momthunderbird(withoutxhostyou’d get an error:Error: cannot open display: :0)- set up her account in thunderbird and download her emails via IMAP
- sort emails by size and delete the biggest ones
Read this post too (Thunderbird + GMail).
Update (20120227)
Mom managed to reduce her space occupation to 37%. What is this if not a full success? ;)
Plotting with google.com
Try the following with google.com:
sqrt(cos(x))*cos(200 x)+sqrt(abs(x))-.07)*(4-x*x)^0.01, sqrt(9-x^2),-sqrt(9-x^2) from -4.5 to 4.5
More info here.
Thanks Füli for the tip.
C++ style guide
“C++ is the main development language used by many of Google’s open-source projects. As every C++ programmer knows, the language has many powerful features, but this power brings with it complexity, which in turn can make code more bug-prone and harder to read and maintain.
The goal of this guide is to manage this complexity by describing in detail the dos and don’ts of writing C++ code. These rules exist to keep the code base manageable while still allowing coders to use C++ language features productively.“
Hide “about the new look | send feedback” in Gmail
Update #2: Check out this post too for an easier solution.
Update #1: This post is deprecated. That damned widget is not shown anymore.
Problem
I upgraded to the new look of Gmail but since then I always get a notification in the bottom right corner with “about the new look | send feedback”. Closing it doesn’t help, upon a new log in it’s there again.
Solution
Install Adblock Plus and add the following filter:
mail.google.com##div[class="GcwpPb-MEmzyf GcwpPb-bEO5kc"]
Something else
Does anybody know how to list the current filters in the new look? I can’t find it anywhere.
