563 reputation
1615
bio website jcubic.pl
location Poland
age 34
visits member for 3 years, 10 months
seen Jul 13 at 13:07

I'm coding mostly in dynamic languages like LISP, JavaScript, Python, Ruby.

I love Lisp Macros, jQuery library, CSS3, HTML5, SVG, GNU/Linux, GNU Emacs and Inkscape.

My profiles: twitter, google+, github, facebook, linkedin, goldenline


Apr
7
comment Find font file from font name on Linux
Didn't know about fc-* commands. Thanks.
Apr
1
comment List files, directories and executables in current directory
symlink to dir should be dir, but all other can be just files. How can I test if symlink point to directory, does your command do that?
Apr
1
comment List files, directories and executables in current directory
This work for all find . -mindepth 1 -maxdepth 1 \( -type f -executable -printf 'X%p\0' \) -o -type d -printf 'D%p\0' -o -not -type d -printf 'F%p\0'
Mar
31
comment List files, directories and executables in current directory
Great, too bad it don't show special files.
Mar
27
comment How to change locale to English?
I've try LANG=C x
Mar
26
comment How to change locale to English?
LANG x return localized message but LANG=C bash -c "x" give english one. LC_ALL=C bash -c "x" also work.
Mar
26
comment How to change locale to English?
Also LC_ALL=en_US.UTF-8 xxx give localized file not found message. But when I run eval $(locale | sed -e 's/\(.*\)=.*/export \1=en_US.UTF-8/') it give me english one, maybe you need to use different variable for that too, I've tried LC_MESSAGES=en_US.UTF-8 xxx and it also give Polish not found message.
Mar
25
comment How to change locale to English?
It's strange, I think someting is wrong with type command because it's keep showing me translated message.
Mar
24
comment Error loading shared library libSDL-1.2
that file wasn't there, so I need to install sudo apt-get install libsdl1.2-dev:i386 libglu1-mesa-dev:i386 libglu-dev:i386 bump into this: bugs.launchpad.net/ubuntu/+source/alsa-lib/+bug/1296474 then also install libsdl-mixer1.2-dev:i386 and libsdl-net1.2-dev:i386 to make it work.
Mar
23
comment Error loading shared library libSDL-1.2
How to compile it using 64bit?
Mar
23
comment Error loading shared library libSDL-1.2
It show libSDL-1.2.so.0 => not found; libSDL_net-1.2.so.0 => not found; libSDL_mixer-1.2.so.0 => not found but all other point to files in /usr/lib/i386-linux-gnu
Mar
23
comment List all binaries from $PATH
@vonbrand I'm working on the shell in javascript/php and I'm executing shell in non interactive mode.
Mar
22
comment List all binaries from $PATH
I didn't mention that I'm using bash.
Mar
21
comment List all binaries from $PATH
Good to know this command, and I actually need executables for completion. Maybe I use this command instead.
Mar
21
comment List all binaries from $PATH
@manatwork didn't know that you can do that. need to read more about IFS.
Mar
21
comment List all binaries from $PATH
@manatwork will it work for non existing paths?
Mar
8
comment What is the name of the formatting output from man?
most terminals speak ANSI they display colors and stuff, so I thought that this have a name from some old terminal type.
Mar
8
comment What is the name of the formatting output from man?
But this backspace and next character need to be processed by terminal, it need to be called somehow.
Feb
27
comment Emacs temp dot hash file don't exist
@vonbrand no, they stay until you save a file in Emacs.
Feb
26
comment Emacs temp dot hash file don't exist
@Gilles yes, I just ask on SO why Emacs create this file, and there was already such question, so it was mark as duplicate.