I’ve got an idea; I’ll give you 25%……if you:
- finish it
- and design it
- and build it
- and test it
- and refine it
- and launch it
- and sell it
…for me.
- and market it
Dector's blog
Java, OpenSource and Life
Saturday, 13 April 2013
Idea costs... nothing
Great quote from "T=Machine":
Tuesday, 8 May 2012
Enable auto-completition in bash
To enable autocomplete in bash just add to ~/.bashrc this lines:
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion
fi
Friday, 18 November 2011
Play sound in OSS applications, using ALSA
I just used GTick (metronome). But it supports only Pulseaudio and OSS. So, I configured it to OSS sound output and started with:
It works well. And no more problems like "
From
aoss gtick
It works well. And no more problems like "
/dev/dsp: Device or resource busy
".From
man aoss
: «aoss - Wrapper script to facilitate use of the ALSA OSS compatibility library.
»
Firefox crashes, while opening file downloading dialog
My Firefox crashed, when I pressed Ctrl+Shift+Y. This key combination open "Downloads" dialog. I found, that error message was:
So, I found solution that helped me and, hope, will help you. Just edit file
firefox: symbol lookup error: /usr/lib/gnome-vfs-2.0/modules/libfile.so: undefined symbol: gnome_vfs_unescape_string
So, I found solution that helped me and, hope, will help you. Just edit file
/etc/gnome-vfs-2.0/modules/default-modules.conf
and comment line (write "#
" before it): "file:file"
.
Tuesday, 15 November 2011
Monday, 7 November 2011
Installing wine in Debian Wheezy (Testing)
I was surprised, when I didn't found wine in Debian Wheezy repositories. But I found some solution here.
So, try this:
After you need to delete folder with wine packages if you don't need them:
Ha-ha. It works! Thanks for nicolaselie
So, try this:
ARCH=`uname -m | sed -e s/x86_64/amd64/ -e s/i.86/i386/`
wget -r -A "*_$ARCH.deb" http://dev.carbon-project.org/debian/wine-unstable/
sudo dpkg -i dev.carbon-project.org/debian/wine-unstable/*.deb
sudo apt-get install -f
After you need to delete folder with wine packages if you don't need them:
rm -rf dev.carbon-project.org/
Ha-ha. It works! Thanks for nicolaselie
Wednesday, 2 March 2011
MPD and Volume widget for Awesome
Here are two small and simple widgets for Awesome WM.
MPD State: Shows now playing artist and song. Works with "Pause" and "Stopped" states. Depends on mpc.
Volume State: Shows current volume status. Works with "Mute" status. Depends on amixer.
Sources and setup instructions are on: github.com.
May be, someone need them. Commentaries and proposals are welcome.
MPD State: Shows now playing artist and song. Works with "Pause" and "Stopped" states. Depends on mpc.
Volume State: Shows current volume status. Works with "Mute" status. Depends on amixer.
Sources and setup instructions are on: github.com.
May be, someone need them. Commentaries and proposals are welcome.
Subscribe to:
Posts (Atom)