The Implementing Cisco IP Routing (CCNP Route 642-902). Materials for efficient preparation to the exam.

A few days ago I have successfully passed 642-902 exam (CCNP ROUTE v6) and would like to share the list of materials I have been using to prepare to that exam. To get prepared I was using official Cisco Press training resourses, lab simulations and cheat sheets (before actually to go an take the exam). In this post I’d like to share this staff with you. A few words about […]

Read more →

 

16 GB encrypted candy file

Update: as far as cryptoloop is vulnerable and is not maintained I don’t recommend using below approach for creating encrypted for for those of you who require strong security. Use truecrypt to create encrypted filesystem within a file instead. Today it came to my mind that it is time to make sensitive information stored on my usb flash drive encrypted but still transportable and easy to use. But I don’t want […]

Read more →

 

Sort CLI output by line length

Want to sort file contents by each line’s lenght? No problems: artemn@artemn-laptop:~$ cat /etc/passwd | awk ‘{print length, $0}’ | sort -n | awk ‘{$1=”"; print $0 }’

Read more →

 

Watching HD Media on Linux made easy

h1_camcorder_1

This article is presented to you by LaptopLogic.com. Go there to read the latest info on the top rated laptops and the best laptop accessories.

The High Definition (HD) content is everywhere these days, from HD and Blue Ray Discs to streaming HD media. Although HD content gives best picture quality, it also uses a lot of computational power to decode and play.

This was made easy for Windows by the introduction of new drivers from graphics card manufacturers, Nvidia and ATI, which allowed the whole media to be decoded on the dedicated graphics card, saving cost in computational power, and the need to have a stronger processor.

nvidia graphicsNvidia recently released a new set of drivers for Linux supporting PureVideo technology for its line of graphics hardware, enabling full hardware HD-decoding, and giving smooth HD content playback, even on less powerful computers. The 180 series supports PureVideo decode acceleration. These drivers adds a new VDPAU API, which provides PureVideo like features on Linux, adds CUDA support, X Render optimizations, new workstation performance optimizations and some other improvements. The new versions offer optimizations and support for a wide range of Nvidia hardware, and is expected to improve with future releases.

Linux uses X-Video (Xv) as output extensions, where as X-Video MotionCompensation (XvMC) is an X-Video extension which offers some video decoding on GPU. With the new drivers, Nvidia implements VDPAU (Video Decode and Presentation API for UNIX).

VDAPU is capable of hardware acceleration and the decoding of MPEG-1, MPEG-2, VC-1 and H.264 bit streams. It also provides an API for post-processing of decoded video in order to apply operations such as noise reduction and temporal and spatial de-interlacing, timestamp-based presentation of final video frames, and compositing of sub-picture elements.

amd-4800-series-graphic-cardAMD also supports hardware acceleration through X-Video Bit stream Acceleration or XvBA API. The recent drivers can take advantage of Unified Video Decoder (UVD2).

These new technologies are also supported by new video playback softwares, which can fully utilize the Graphics Hardware for video playback, providing smooth frames in HD and Blue-Ray movies. The VDPAU supported players include libavcodec, mplayer and ffmpeg.

CUDA support is also provided with 180 series drivers for Linux, and it can also be used to accelerate videos, and also to do any processing involved, like CoreAVC 1.9.0 is the first media player to offer this decoding.

The video acceleration on Linux came late, but certainly, with these new advancements by Graphics chips manufacturers, Linux users will be able to experience HD media playback, even on less powerful systems.

Read more →

 

Mount remote filesystem via ssh protocol using sshfs and fuse [Fedora/RedHat/Debian/Ubuntu way]

Imagine the following situation: you have to compile some Linux/Unix application or kernel module that requires kernel source present at your hard drive, say, in /usr/src/kernels/kernel-2.6.21-i386/ or elsewhere. But there is not enough disk space to copy these sources or install kernel-devel or linux-source packages (in Fedora/RedHat or Ubuntu/Debian distros respectively)… Sounds familiar? Believe me, sometimes it happens As a solution you can mount the directory of some remote PC […]

Read more →