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 (libbz2.so.1) 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).
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. By Vivek Gite on May 11, 2008 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 $fdone You can also use shell variables: FILES="file1 /path/to/file2 /etc/resolv.conf"for f in $FILESdo 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: Bash - How do I rename the extension for a batch of files? How to Activate Windows XP Without a Genuine Product Key. 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.