To instruct an application to hide the icon from the dock, you need to edit the file Info.plist, located in application.app/Contents.
Add the code
<key>LSUIElement</key> <string>1</string>
Friday, May 27, 2011
Wednesday, May 11, 2011
Pow and the website is up!
Pow
Pow is a zero-config Rack server for Mac OS X. Have it serving your apps locally in under a minute.
Via onethingwell
Pow is a zero-config Rack server for Mac OS X. Have it serving your apps locally in under a minute.
Via onethingwell
Labels:
Useful Software
Monday, May 02, 2011
Ermine - package packer
Ermine packs a GNU/Linux application together with any needed shared libraries and data files into a single executable. This file can be copied to any GNU/Linux host and run without further modifications.
http://www.magicermine.com/
Suggestion form One Thing Well
http://www.magicermine.com/
Suggestion form One Thing Well
Labels:
Useful Software
Tuesday, January 11, 2011
Global shortucut for opening new Finder window
A shortcut I always used heavily in windows was the win-e to open a explorer windows.
In Mac OS this shortcut does not exist globally.
Searching on google you get many suggestions, but all of them are in the form:
Select Finder and choose "New window". DUHHH!!
I don't like this solution because is a 2 step thing that is something I want to avoid.
Finnaly I found in this this site http://contented.qolc.net/articles/osx-global-shortcut-key-new-finder-window a good solution using the services that will allow for a global, single shortcut to open a new finder window (plus: you can tune the script to open the window in a selected location)
The service I created can be found here.
Some of the 2 step solution are interesting, so I leave here some notable solutions:
In Mac OS this shortcut does not exist globally.
Searching on google you get many suggestions, but all of them are in the form:
Select Finder and choose "New window". DUHHH!!
I don't like this solution because is a 2 step thing that is something I want to avoid.
Finnaly I found in this this site http://contented.qolc.net/articles/osx-global-shortcut-key-new-finder-window a good solution using the services that will allow for a global, single shortcut to open a new finder window (plus: you can tune the script to open the window in a selected location)
The service I created can be found here.
Some of the 2 step solution are interesting, so I leave here some notable solutions:
- Use of option-command-space that will open a search window, that is, in itself a finder window.
- Use ctrl-f3, this will move the focus to the Dock, pressing return will sellect the finder, because this is always the first application in the Dock.
Labels:
Sofware problems
Saturday, January 08, 2011
Remapping keys in linux
My problem:
I got a very crappy PS2 to USB cable, and when I use the mouse scroll, from time to time a extra mouse key press was sent (key 9). This was not a problem in most of the places, except in firefox where it would trigger a back in history when I scrolled up (very annoying).I've changed all the firefox preferences in about:config in mousewheel.* to only scroll (action=0), but I was always getting the back in scroll up. (about:config information here.)
Diagnosis:
To figure out what was the problem I usedxev That will print to the terminal the events occurred in the small x window created by the program. Here is the problem I was having, the log is from me scrolling down, you can see at some point the keys sent are 9 and 8:
ButtonPress event, serial 40, synthetic NO, window 0x3800001,
root 0xb6, subw 0x0, time 747353, (40,101), root:(1358,514),
state 0x10, button 4, same_screen YES
ButtonRelease event, serial 40, synthetic NO, window 0x3800001,
root 0xb6, subw 0x0, time 747353, (40,101), root:(1358,514),
state 0x810, button 4, same_screen YES
MotionNotify event, serial 40, synthetic NO, window 0x3800001,
root 0xb6, subw 0x0, time 747449, (40,102), root:(1358,515),
state 0x10, is_hint 0, same_screen YES
ButtonRelease event, serial 40, synthetic NO, window 0x3800001,
root 0xb6, subw 0x0, time 747449, (40,102), root:(1358,515),
state 0x10, button 8, same_screen YES
ButtonRelease event, serial 40, synthetic NO, window 0x3800001,
root 0xb6, subw 0x0, time 747449, (40,102), root:(1358,515),
state 0x10, button 9, same_screen YES
MotionNotify event, serial 40, synthetic NO, window 0x3800001,
root 0xb6, subw 0x0, time 747553, (40,102), root:(1358,515),
state 0x10, is_hint 0, same_screen YES
ButtonPress event, serial 40, synthetic NO, window 0x3800001,
root 0xb6, subw 0x0, time 747553, (40,102), root:(1358,515),
state 0x10, button 8, same_screen YES
ButtonPress event, serial 40, synthetic NO, window 0x3800001,
root 0xb6, subw 0x0, time 747553, (40,102), root:(1358,515),
state 0x10, button 9, same_screen YES
ButtonPress event, serial 40, synthetic NO, window 0x3800001,
root 0xb6, subw 0x0, time 747553, (40,102), root:(1358,515),
state 0x10, button 4, same_screen YES
As my mouse only has 2 buttons and a scroll wheel, I changed the mouse mapping to disable all the other buttons (buttons above 5 are set to button 0). The command is:xmodmap -e "pointer = 1 2 3 4 5 0 0 0 0 0 0 0 0 0 "You can check what mapping you are using by doing:
xmodmap -pp
In my case, after changing the mapping I get:
# xmodmap -pp
There are 14 pointer buttons defined.
Physical Button
Button Code
1 1
2 2
3 3
4 4
5 5
6 0
7 0
8 0
9 0
10 0
11 0
12 0
13 0
14 0
To return to the default mapping you can do :
# xmodmap -e "pointer = default"
And check:
# xmodmap -pp
There are 14 pointer buttons defined.
Physical Button
Button Code
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 10
11 11
12 12
13 13
14 14
To make this change permanent you just need to create a file ~/.Xmodmap with the content:
pointer = 1 2 3 4 5 0 0 0 0 0 0 0 0 0You can check the correctness of your file by doing
xmodmap ~/.Xmodmap and check if the mapping was changed correctly.
Labels:
Sofware problems
Sunday, September 26, 2010
Rotate pictures in Mac OS X
Apparently rotate picture was not deemed to be a default action... Fortunately there are 3 ways of Mac OS X to rotate your pictures:
First solution (Stupid)
First solution (Stupid)
- Create a folder and associate the rotate action desire to it... When you drop images inside this folder they will be automatically converted and placed inside yet another folder!
- Open file in preview, rotate image and save.
- Create a service to rotate images:
- Open Automator
- Chose service
- Search for rotate image action and drag it to the action list.
- Automator will ask if you want to also add the action of create a copy. Sounds good, but I did not find the option to create copy in current folder, so I ditched the copy action
- Chose which side you want to rotate to: left, right or 180º.
- Save and you're done, now you will have rotate image in the services menu.
Bonus: Resize images
Labels:
Sofware problems
Sunday, April 25, 2010
Ikea is great
1. Meat balls, french fries and jam.
2. Daim tart.
3. Other swedish delicacies.
What else?
2. Daim tart.
3. Other swedish delicacies.
What else?
Sunday, April 11, 2010
Recipe for Tarte Tatin
Here is my recipe for tarte Tatin:
Ingredients:
Put the sugar and butter on the tray, take to low fire, mix the sugar and the butter to create toffee.
Add the cinnamon and the orange zest to the toffee, mix.
Place the apple over the toffee.
Cover with the puffy pastry, fold all around to create a crust.
Take to hot oven for ~20min.
Flip, or not.
Ingredients:
- 110g of Sugar
- 80g of Salty butter
- 1 packet of Vanilla sugar
- Orange zest (0.5 to 1 orange)
- Cinnamon
- 4 or 5 Apples (sour apples work better)
- Puffy pastry
Put the sugar and butter on the tray, take to low fire, mix the sugar and the butter to create toffee.
Add the cinnamon and the orange zest to the toffee, mix.
Place the apple over the toffee.
Cover with the puffy pastry, fold all around to create a crust.
Take to hot oven for ~20min.
Flip, or not.
Labels:
Recipes
Sunday, March 02, 2008
B&Bs by the see on the North of france
http://ns3196.ovh.net/~goelette/index.php
http://www.booking.com/hotel/fr/hoteldelamatelote.html
http://www.booking.com/hotel/fr/la-villa-marine.html
http://www.hotelmaxim.be/eng/default.htm
http://www.durecu.com/
http://www.cathome.fr/anglais/index.htm
http://www.booking.com/hotel/fr/hoteldelamatelote.html
http://www.booking.com/hotel/fr/la-villa-marine.html
http://www.hotelmaxim.be/eng/default.htm
http://www.durecu.com/
http://www.cathome.fr/anglais/index.htm
Sunday, February 24, 2008
heating sand to extract oil
Certain things only make sense when you are looking at them through a spreadsheet in some obscure office.
http://en.wikipedia.org/wiki/Tar_sands
http://en.wikipedia.org/wiki/Tar_sands
Friday, November 23, 2007
gl over VNC
Problem:
When I need to start anything that uses gl I get this message " Xlib: extension "GLX" missing on display "
After some search and trying RealVNC 4.0-11.el4, thightVNC 1.3.9-1.el4.rf and TurboVNC 0.3.3 I manage to solve the problem with xf4vnc.
How I did it:
After installing the TurboVNC I compile the xf4vnc that placed the binary Xvnc in /usr/X11R6/bin/Xvnc while the Xvnc from Turbovnc was in /usr/local/bin/Xvnc.
The script vncserver expected the the Xvnc in /usr/local/bin/ , so I changed the name of the Xvnc from the Turbovnc:
mv /usr/local/bin/Xvnc /usr/local/bin/XvncTurbo
and then created a sim link to the Xvnc from xf4vnc:
ln -s /usr/X11R6/bin/Xvnc /usr/local/bin/Xvnc
And now it works...
When I need to start anything that uses gl I get this message " Xlib: extension "GLX" missing on display "
After some search and trying RealVNC 4.0-11.el4, thightVNC 1.3.9-1.el4.rf and TurboVNC 0.3.3 I manage to solve the problem with xf4vnc.
How I did it:
After installing the TurboVNC I compile the xf4vnc that placed the binary Xvnc in /usr/X11R6/bin/Xvnc while the Xvnc from Turbovnc was in /usr/local/bin/Xvnc.
The script vncserver expected the the Xvnc in /usr/local/bin/ , so I changed the name of the Xvnc from the Turbovnc:
mv /usr/local/bin/Xvnc /usr/local/bin/XvncTurbo
and then created a sim link to the Xvnc from xf4vnc:
ln -s /usr/X11R6/bin/Xvnc /usr/local/bin/Xvnc
And now it works...
Labels:
Sofware problems
yeah baby Stroke me!!!
A cool application I found recommended by the blog Lifehacker called Launchy. It is very similar to Quicksilver for Mac OsX. It is a really nice way to launch stuff or just opening your favorite folders.
Tip: I created a directory were I put all the links for folders or programs that are not in my Start menu and I like to access frequently. then I set this directory to be indexed by launchy and I have fast access to all I want in my computer.
Note: launchy will also launch directly the stuff found in control panel.
Tip: I created a directory were I put all the links for folders or programs that are not in my Start menu and I like to access frequently. then I set this directory to be indexed by launchy and I have fast access to all I want in my computer.
Note: launchy will also launch directly the stuff found in control panel.
Labels:
Useful Software
Friday, July 14, 2006
Ganhar 30 minutos por dia...
É bastante facil, basta usar relogios cudadosamente sincronizados... mas com 30 minutos de diferença.
Em casa e no carro subtrai-se à hora local 15min, assim garante-se a chegada ao emprego sempre a horas.
É claro que o relógio no emprego encontra-se 15 minutos à frente da hora legal de modo a se poder sair à horinha (se o relógio se emcontrar num sitio bastante publico, como no atrio do edifício, garante-se um melhor funcionamento, pois ninguem estranhará a saída do trabalho ao fim de 8 h(7h30min) de trabalho)....
Em casa e no carro subtrai-se à hora local 15min, assim garante-se a chegada ao emprego sempre a horas.
É claro que o relógio no emprego encontra-se 15 minutos à frente da hora legal de modo a se poder sair à horinha (se o relógio se emcontrar num sitio bastante publico, como no atrio do edifício, garante-se um melhor funcionamento, pois ninguem estranhará a saída do trabalho ao fim de 8 h(7h30min) de trabalho)....
Friday, February 17, 2006
Pequeno esclarecimento...
Gostaria de Referir que o CERN no nome deste blog, como aliás, toda a gente sabe refere-se à ilustre organização "Clube de Engenheiros da Região Norte".
Monday, January 23, 2006
Thursday, January 19, 2006
Subscribe to:
Posts
(
Atom
)
