Template overrides for specific panel panes

So after some time bashing my head against the wall, I finally figured out how to override specific panel panes in Drupal. Panels comes with a template file called “panels-pane.tpl.php” but you can’t simply create a “panels-pane–my-pane.tpl.php” to override it, like you can with core template files or views. This means you have to use a <a href=“http://drupal.org/node/223430"preprocess function to override the theme suggestion. So let’s say you create a template file for your panel pane called “panels-pane–my-pane. »

Author image Raúl Santos

Internet Explorer 7 no Linux

Aqui está como correr o IE7 em Linux usando o Wine e o IEs 4 Linux. Não é preciso o WGA (Windows Genuine Advantage) e continua a ser legítimo. Ler mais | Artigo no digg »

Author image Raúl Santos

Como verificar se a sua password do LinkedIn foi roubada

6.5 milhões de passwords foram roubadas à LinkedIn (Slashdot, anúncio da LinkedIn, Mashable, NY Times) e um ficheiro que as contém foi disponibilizado online. Bem, não com as passwords a sério, apenas as hashes, mas com algum esforço é possível recuperá-las. Para além disso, nada nos garante que as passwords neste ficheiro foram as únicas roubadas, especialmente tendo em conta que o nome do ficheiro é “SHA1.txt_1.rar” - aquele “_1” faz-me pensar se há algum ficheiro chamado “SHA1. »

Author image Raúl Santos

How to check if your LinkedIn password has been stolen

6.5 million passwords were stolen from LinkedIn (Slashdot, LinkedIn announcement, Mashable, NY Times) and a file containing them was released to the public. Well, not the actual passwords, just the hashes, but it’s possible to get the passwords back with some effort. Besides, there is no guarantee that those in the file were the only ones stolen, especially given that the file name is “SHA1.txt_1.rar” - that “_1” makes me wonder if there’s a “SHA1. »

Author image Raúl Santos

Recursos de confiança para aprender Javascript

Um amigo meu perguntou-me que bons sites conheço para aprender Javascript. Como Javascript é a linguagem mais mal-entendida do mundo, há toneladas de websites e blogs que contêm informação enganosa e até errada, por isso quis dar-lhe alguns sites que sei serem de confiança e que têm bom conteúdo. Mergulhei nos meus bookmarks e esta foi a lista que arranjei, a qual agora partilho na esperança de que também seja útil para outras pessoas: »

Author image Raúl Santos

Trustworthy Javascript learning resources

A friend of mine asked me what good websites I know for learning Javascript. Since Javascript is the world’s most misunderstood programming language, there are tons of websites and blogs that contain misleading and even plain wrong information, so I wanted to give him a few sites that I know are trustworthy and have good content. I delved into my bookmarks and this is the list I came up with, which I now share in the hope that it is useful for other people too: »

Author image Raúl Santos

soapUI Exception in thread "XpcMessageLoop" in Ubuntu

If you use Ubuntu (and this probably happens in other Linux ditros as well) and soapUI spits out a Exception in thread “XpcMessageLoop” java.lang.NullPointerException, here’s a simple “fix” for it: edit bin/soapui.sh and uncomment the line # JAVA_OPTS="$JAVA_OPTS -Dsoapui.jxbrowser.disable=true" so that it becomes JAVA_OPTS="$JAVA_OPTS -Dsoapui.jxbrowser.disable=true" This is something I’ve ran into a few times in the past and I’m not sure why it hasn’t been fixed yet but I decided to document it here anyway, at least for my own future reference, since apparently I’ll have to do it every time I download a new version of soapUI. »

Author image Raúl Santos

Why and how to use BCC when sending emails

What is BCC? BCC: (Blind Carbon Copy) is an email field to which you can add several recipients, while the addresses remain hidden from everyone, unlike the addresses placed in the To: or CC: (Carbon Copy) fields, which are visible to anyone who reads the message. Why should I use the BCC field? While sometimes putting all the addresses in the To: or CC: fields is appropriate and in some situations may even be required, most of the time it is unnecessary and harmful. »

Author image Raúl Santos

How to enable WebGL in Google Chrome in Linux with a blacklisted graphics card

Update 19/05/2013: Andy pointed out in a comment here that there’s an easier way to do this with current versions of Chrome. Go to chrome://flags Enable the flag "Override software rendering list". Restart Chrome Just like Andy points out, this «accomplishes the same thing, but via Chrome/Chromium settings and it is saved so doesn't require running via terminal or editing a shortcut parameters.» Thanks for the tip, Andy! Google Maps has a new toy: 3D maps using WebGL. »

Author image Raúl Santos