gcov code coverage

$vi hey.c $gcc -fprofile-arcs -ftest-coverage hey.c $./a.out Hey 🙂 $gcov hey.c File ‘hey.c’ Lines executed:100.00% of 3 hey.c:creating ‘hey.c.gcov’ $cat hey.c.gcov -: 0:Source:hey.c -: 0:Graph:hey.gcno -: 0:Data:hey.gcda -: 0:Runs:1 -: 0:Programs:1 -: 1:#include 1: 2:main() -: 3:{ 1: 4:printf(” Hey 🙂 \n”); 1: 5:} $ The “.gcov” files can be examined using a normal editor. …

detex for tex.

detex – a filter to strip TeX commands from a .tex file. $cat resume.tex \documentclass[10pt,a4paper,twocolumn]{article} \date{} \usepackage{amsmath} \setlength\topmargin{0in} \setlength\headheight{0in} \setlength\headsep{0in} \setlength\oddsidemargin{0in} \setlength\evensidemargin{0in} \begin{document} \title {\texttt{R\'{e}sum\'{e}}} \maketitle \section*{\texttt{IDEA}} \texttt{Work for student community} \\ output after detex resume.tex | more [10pt,a4paper,twocolumn]article amsmath 0in 0in 0in 0in 0in Resume *IDEA Work for student community to help acquire knowledge. …

struct keyword and getopt_long

The getopt() function parses the command-line arguments. Its arguments argc and argv are the argument count and array as passed to the main() function on program invocation. An element of argv that starts with ‘-‘ (and is not exactly “-” or “–“) is an option element. The characters of this element (aside from the initial …

gtf . generalized timing formula

$gtf 1024 768 75 # 1024×768 @ 75.00 Hz (GTF) hsync: 60.15 kHz; pclk: 81.80 MHz Modeline “1024x768_75.00” 81.80 1024 1080 1192 1360 768 769 772 802 -HSync +Vsync $ Generalized Timing Formula is a standard by VESA which defines exact parameters of the component video signal for analog VGA display interface. The parameters defined …

signal "expose-event"

g_signal_connect . The second argument for this function is detailed_signal : a string of the form “signal-name::detail”. source :http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html GtkWidget is the base class for all widgets. “expose-event” is an signal and the signal list is available at http://library.gnome.org/devel/gtk/unstable/GtkWidget.html

IP Puzzles +

Amidst the traffic of the Internet is an enormous amount of undesirable communication. Currently there is no significant disincentive for clients who contribute to this flood of undesirable communication. A mechanism for punishing only the malicious is required in order to discourage clients from behaving badly. The standard response has been to disconnect clients exhibiting …