You need an API key for a service (like Google or Imgur) and you want to use someone else’s key. Naturally, this is just a theoretical problem.
This blog post shows how to harvest API keys. In short:
- visit GitHub’s advanced search page
- type in a keyword (for instance “
AIza” for Google API keys)
- hit the Search button and choose Code on the left side
We all know Stack Overflow, right? And there are some similar sites, specialized for Ubuntu, LaTeX, etc. But is there a list that groups these sites?
Well, today I went down to the bottom of a SO page and guess what I found:
I’ve been using SO for years but I never noticed this list…
I didn’t try it. When I need to send a fax, I will :)
When you open a new tab in Firefox, it shows the thumbnails of the most visited sites. This is OK if you are alone, but what if a colleague sits next to you and asks you to check something together? It can easily become embarrassing…
Use the add-on Tab Mix Plus:
You want to use Google Search so you do this: open new tab, open Google Search, type search term and hit Enter. Could it be simplified?
The preferred way is this: jump to the quick search box with CTRL+K, type in your search term and hit Enter. The search result should be opened in a new tab.
Well, by default the result opens in the current window. Here is how to get it opened in a new tab:
about:config into the address bar, and then put the following into the filter box:
browser.search.openintab. Double-click the value to change it to true.“
This tip is from here.
With mc, you want to copy lots of small files to an NTFS partition. However, for every file it drops a warning: “cannot chmod target file”. Either you switch to root or you sit next to the keyboard and press Skip for every single file. WTF?
When you press F5, untick the option “Preserve attributes“. Done.
If the URL of your wordpress post is too long, then you can use this trick.
Screenshot (inserted from here):
Of course, there are tons of URL shortener services, but who knows how long they keep your URLs…
Vim is one of the best text editors (if not THE best…). You can learn the basics in 30 minutes. All you have to do is launch the following command:
Then follow the instructions.
Vim has a learning curve, I admit, but it’s logical and not complicated. You don’t have to learn all its tricks at once. Learn the basics with
vimtutor, read it over again if you need, then start using it. If you need some intermediate stuff that is not explained in the tutorial, look after it on the web.
Warning! Vim is highly addictive! Once you get used to it, you don’t want to use any other text editors. You’ve been warned! :)
You can find my
.vimrc settings here.
The following tips are from the post “My vimperator settings“, but they are somewhat hidden in the text :)
So, when browsing, a common task is to get the address or the title of the current web page. Getting the address is easy, but for the title we need to consult the page source. How to get these data painlessly and copy them to the clipboard?
- Visit the post “My vimperator settings” and install vimperator + my config file.
- For copying the URL address, use the command “y”.
- For copying the title of the page, use the command “ALT + y”.