background preloader

Solved Problems

Facebook Twitter

Read eval print loop - Is there a REPL for C programming? C++ - Correct format specifier for double in printf. Java - Are hexadecimal numbers ever negative? Where is installed library ( Linux: Find Out Video Card Memory RAM Size Using Command Line Utility. By Vivek Gite on April 18, 2007 I have a quick question for you, Vivek: I'm trying to find out my NVDIA display card memory size. I’m using Fedora Core Linux.

How do I find out my VIDEO Card Memory size? You need to use the following commands to find out graphics card memory. lspci command - It is a utility for displaying information about all PCI buses in the system and all devices connected to them. lspci Command Example To Find Out Graphics Card Memory Size Open a terminal and type the lspci command $ lspci Output: You need to use string called devices in the specified domain - 00:02.0 VGA (highlighted in red color to display memory info): $ lspci -v -s 00:02.0 Sample outputs: This listing shows an Intel video card with 128 MB of video RAM. Xorg Log File Open a command-line terminal (select Applications > Accessories > Terminal), and then type: $ grep -i --color memory /var/log/Xorg.0.log Sample outputs: The above output indicate that my Nvidia card has 1024MB ram.

How do you hit modifier keys when touch typing? How do you trim the audio file's end using SoX? Windows - Systematic approach for taking electronic notes (with cross references and links)? - Personal Productivity Stack Exchange. For my work I'm trying to take notes electronically, to easiser sort, search, find and cross-refrence them. I'm using Emacs org-mode for that purpose. My problem: I'm struggling to find a systematic and universal approach for organizing those notes. In general, my software allows to create a hierarchical tree structures with nodes and sub-nodes, which at the same time can be tasks. Are there instructions, how to build a structure for storing and cross-linking such notes in a concise way? EDIT: to make my question more clear: I do not search for a(nother) specific software that helps me organizing my stuff - I am happy with Emacs org-mode (I'm still learning how to use it, but it is already very powerful and useful for me).

I'm searching for instructions, For example: I can organize information in a hierarchical "tree" structure like: Project 1 - sub-project 1.1 - task 1.1.1 - task 1.1.2 - sub project 1.2 - meeting notes .... Project 2 - sub project 2.1 ... Donald Knuth, Volume 4 A. Ubuntu - How to find X11/extensions/XTest.h. Shell - How do I split a string on a delimiter in bash? Bash Shell Loop Over Set of Files. How do I run shell loop over set of files stored in a current directory or specified directory? You can use for loop easily over a set of shell file under bash or any other UNIX shell using wild card character. Syntax The general syntax is as follows: for f in file1 file2 file3 file5 do echo "Processing $f" # do something on $f done You can also use shell variables: FILES="file1 /path/to/file2 /etc/resolv.conf" for f in $FILES do echo "Processing $f" done You can loop through all files such as *.c, enter: $ for f in *.c; do echo "Processing $f file Sample Shell Script To Loop Through All Files #!

Filename Expansion You can do filename expansion in loop such as work on all pdf files in current directory: for f in *.pdf do echo "Removing password for pdf file - $f" done However, there is one problem with the above syntax. . #! Using A Shell Variable And While Loop You can read list of files from a text file. File1 file2 file3 #! Processing Command Line Arguments #! #! Bash - How do I rename the extension for a batch of files? How to Activate Windows XP Without a Genuine Product Key. Edit Article Three Methods:Changing the Windows XP Product Key ManuallyUsing the Windows Key FinderFixing the Windows Activation LoopCommunity Q&A This wikiHow teaches you how to bypass the trial version of Windows XP, either by using a stock product key or by using software to display your own product key.

Note that you should only use the following information if you are unable to activate even though you have a legally-purchased copy of Windows XP. Note: The three methods presented here may need to be used together depending on the situation: Changing the Windows XP Product Key Manually - includes instructions for how to use a stock product key to activate Windows XP.Using the Windows Key Finder - provides the detailed steps to get the product key from your device using Windows Key Finder.Fixing the Windows Activation Loop - is only required if you have already reached the time limit for activation and need to reset the loop. Steps Changing the Windows XP Product Key Manually Community Q&A. How to Resize, Rename, Sort and Proof Photos from the Command Line. Today's ImageMagick lesson covers how to resize images, change case on file extensions, convert file formats, construct a proof sheet of thumbnails, and search and sort photos by their Exif data.

The ImageMagick suite of image processing and manipulating commands has been around forever, and lurks in all kinds of places: it is the image-processing backend in Drupal, Lyx, OpenShot, and many more. ImageMagick is über-powerful, and because it is a command-line program you can build clever scripts with it and automate routine tasks. You can flip, mirror, resize, distort, shear, and rotate images; do special effects, edit colors, and draw lines and shapes; create thumbnails, galleries, and proof sheets. It supports a skillion image formats and has APIs for a horde of programming languages, such as MagickCore (C), MagickWand (C), Magick++ (C++), JMagick (Java), RMagick (Ruby), TclMagick (Tcl/TK), and several more. man imagemagick lists all the commands.

Stop Shouting Convert Formats Proof Sheet. How to Resize, Rename, Sort and Proof Photos from the Command Line. Bbatsov/projectile. Fdisk - Finding the sector size of a partition. Ten minutes of white noise, pink noise and Brownian noise. Java - JavaFX and OpenJDK. In Emacs, edit multiple lines at once.