/* Source Installer, Copyright (c) 2005,2006,2007 Claudio Fontana preferences.c – user choices saved in the preferences file This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) …
Monthly Archives: January 2010
fc-scan
fc-scan scans file(s) recursively and prints out font pattern for each face found. http://www.freedesktop.org/wiki/Software/fontconfig
install.1 [ multiple files ]
[latex] \sum_{n=1}^{\infty} \ f \ (x_{n},y_{n},z_{n}) \; \; \longrightarrow \; \; \sum_{n=1}^{\infty} (x_{n^{‘}},y_{n^{‘}},z_{n^{‘}}) [/latex] http://www.ies.co.jp/math/java/misc/sum/sum.html http://reference.wolfram.com/mathematica/tutorial/SummationOfSeries.html
install [ single file ]
[latex] File \;\;\; (z) \;\;\; directory \;\;\; (x,y) \\ (x1,y1,z1) \; (x2,y2,z2) \\ source \; directory \; and \; file \; (x1,y1,z1) \\ destination \; directory \; and \; file \; (x2,y2,z2) \\ A \;\; function \;\; \ f \ (x1,y1,z1) \;\; \longrightarrow \;\; (x2,y2,z2) [/latex]
average finder
#include <stdio.h> main() { float real,user,sys,addition,entry,average; float entries; int i; addition=0; printf(“\n Entries\n”); scanf(“%f”,&entries); for (i=0;i<entries;i++) { printf("\n Entry\n"); scanf("%f",&entry); addition=addition+entry; } average=addition/entries; printf ("\nAverage Equals %f",average); }
sourceinstall tune.1
1. libX11-1.1.5 2. windowswmproto-1.0.3 3. libWindowsWM-1.0.0 4. xvidcap-1.1.7 5. libXmu-1.0.4 6. libXext-1.0.4 7. libXt-1.0.5 Average Equals 11.868286 seconds [system time]
free.c
/* Work around incompatibility on older systems where free (NULL) fails. Copyright (C) 2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later …
flock [-sxon] [-w timeout] lockfile [-c] command…
http://en.wikipedia.org/wiki/File_locking#Linux http://www.thinkage.ca/english/gcos/expl/c/lib/fileno.html
flock
http://en.wikipedia.org/wiki/File_locking#Linux http://www.thinkage.ca/english/gcos/expl/c/lib/fileno.html
Create the DIRECTORY(ies), if they do not already exist
source code /* On some systems, mkdir (“foo/”, 0700) fails because of the trailing slash. On those systems, this wrapper removes the trailing slash. Copyright (C) 2001, 2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published …
Continue reading “Create the DIRECTORY(ies), if they do not already exist”