23 July 2011
20 July 2011
19 July 2011
18 July 2011
VLC 1.1.11 has been released!
VLC 1.1.11 has been released, this is a security release with some other improvements. according to vlc team, this release was necessary due to two security issues in the real and avi demuxers. It also contains improvements in the fullscreen mode of the Win32 mozilla plugin, the MacOSX Media Key handling and Auhal audio output as well as bug fixes in GUI, decoders and demuxers.
The new release is available in GetDeb repositories, for ubuntu and linuxmint users with getdeb installed in their system, simply update your system to have the latest release of vlc. You can also install it from getdeb page
If you are using Unixmen PPA, this one will be updated in the next few days when pirat9 is back from holidays.
sudo add-apt-repository ppa:unixmen-com/vlc
sudo apt-get update
sudo apt-get install vlc vlc-plugin-pulse mozilla-plugin-vlc
Parcellite is a lightweight GTK+ clipboard manager. This is a stripped down, basic-features-only clipboard manager with a small memory footprint for those who like simplicity.
gtk >= 2.10.0
glib >= 2.14.0
Keeps a clipboard history.
Various view options to display items the way you like it.
Daemon mode; guard your clipboard contents when you close applications.
Global hotkeys to display your items quickly.
Perform custom commands using clipboard contents.
Report a bug
Request a new feature
Submit a patch
to remove the last line:
sed -i '$ d' foo.txt
Create a nifty overview of the hardware in your computer:
lshw -html > hardware.html
17 July 2011
To remove all whitespace (including tabs) from left to first word, enter:
echo " This is a test" | sed -e 's/^[ \t]*//'
To delete trailing whitespace from end of each line, enter:
$ cat input.txt | sed 's/[ \t]*$//' > output.txt
Better remove all leading and trailing whitespace from end of each line:
$ cat input.txt | sed 's/^[ \t]*//;s/[ \t]*$//' > output.txt
In today's tip of the day I'll show how to easily convert an OGV (Theora video) file to FLV (Flash video), for uploading to YouTube or other websites. You will need the ffmpeg audio and video encoder.
To convert an OGV file created by recordMyDesktop for example, all you have to do is issue a command like this:
ffmpeg -i inputfile.ogv outputfile.flv
You can shrink the size of the output file using something like this:
ffmpeg -i inputfile.ogv -s 640x512 outputfile.flv
This also reduces the size of the Flash video file.
To select a certain audio codec you can use something which goes like this:
ffmpeg -i inputfile.ogv -acodec libmp3lame outputfile.flv