Posted in April 28, 2012 ¬ 11:52h.Piotr
After one of the Ubuntu 11.10 updates I was affected by some really weird colors in the embedded flash player. Basically, every movie looked similar to the one below (notice the dominance of the bluish color): The solution is to disable hardware acceleration in Flash Player settings (RMB -> Settings) just as shown here: After [...]
Read the rest of this entry »
Posted in February 27, 2012 ¬ 21:30h.Piotr
Some time ago I’ve had a problem with SVN on my VirtualBox guest Ubuntu machine. When the machine was hibernated (it’s state was saved – without shutting it down) there was a time synchronization issue. When I checked out the SVN repository on the guest machine, I couldn’t see any actual changes or new files [...]
Read the rest of this entry »
Posted in February 27, 2012 ¬ 14:58h.Piotr
Some time ago I’ve posted about using multiple -exec options for find command which can be used to find in what JARs particular class lies. Below you can find enriched and more intuitive/detailed solution for finding your class in a bunch of JARs: Be the first to like. Like Unlike
Read the rest of this entry »
Posted in August 19, 2011 ¬ 10:47h.Piotr
If you want to execute a GUI based application on the remote server through SSH, you can achieve it quite easily using the ssh command. Just type ssh -X username@server The -X flag is used to define the DISPLAY environmental variable on the remote host, so each X11 executed application will be forwarded to your [...]
Read the rest of this entry »
Posted in August 19, 2011 ¬ 10:40h.Piotr
Recently I needed to find out what GNU/Linux a terminal-only server is using. The most obvious thing I could think of was to use: uname -a Unfortunately, it will return the kernel information only – no details about the distribution though. The distribution info is located in a different file which is dependent on… the [...]
Read the rest of this entry »
Posted in April 24, 2011 ¬ 14:03h.Piotr
I was trying to execute several commands on a single record found by the GNU/Linux find command. The first attempt was to create something like: find . -name “*.pdf” -exec echo ‘test’ && echo ‘test2′ \; But it’s not the way the find command works. 1 person likes this post. Like Unlike
Read the rest of this entry »
Posted in April 22, 2011 ¬ 17:56h.Piotr
I was trying to find a way to capture the network interface traffic on a remote server, just to see what (or who!) messed up the Web Services based communication. I didn’t have to search too long, because my favorite capturing software, Wireshark, can listen on a named pipe. So, below you can find the [...]
Read the rest of this entry »
Posted in April 1, 2011 ¬ 15:57h.Piotr
It’s at least the third time I try to find a solution for the unavailable codecs proclem during rendering video project in Kdenlive. This time, I’ll write it down and link to this great site to make sure I’ll be able to easily find it next time ;-) The process is quite simple (I’m using [...]
Read the rest of this entry »
Posted in January 15, 2011 ¬ 18:31h.Piotr
I wondered why the same word has different MD5 checksum if I use the PHP md5(-) method and BASH md5sum command. What I mean is: PHP <?php echo md5(“sol”); ?> The result is: 12313a3d28f802e3a22b07d2e01c6dcf BASH $ echo “sol”|md5sum The result is: 56717d999058f0e053d4b580c9396a92 It seems that echo command is, by default, adding a newline character after [...]
Read the rest of this entry »
Posted in January 15, 2011 ¬ 17:59h.Piotr
If you want to create every possible word or combination of letters (or any other characters) you can use very simple BASH function: $ echo {a..c} This command will print all possible letters starting with a and ending on c (inclusive), so the result is: a b c You can get every possible combination of [...]
Read the rest of this entry »