Initial.
authorviric@llimona
Sun, 25 Nov 2007 11:41:05 +0100
changeset 0 c66307cca740
child 1 840aebd2e31e
Initial.
bibtex.5.txt
cmake.1.txt
convert.1.txt
cue.1.man
greyc.1.txt
jasper.1.txt
lame.1.txt
latex.1.man
livejournal.1.txt
man.5.man
man.5.txt.old
mobil.1.txt
mpc.1.txt
mplayer.1.txt
mysql.1.txt
postgresql.1.txt
ps.1.txt
torrent.1.txt
webvideo.1.txt
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bibtex.5.txt	Sun Nov 25 11:41:05 2007 +0100
@@ -0,0 +1,19 @@
+Entry types:
+% article.
+%  must: author, title, journal, year
+%  opt: volume, number, pages, month, note
+% book.
+%  must: author or editor, title, publisher, year
+%  opt: volume or number, series, address, edition, month, note
+% misc.
+%  must: none
+%  opt: author, title, howpublished, month, year, note
+@manual{jpegspec,
+    title = "Information Technology -- Digital Compression and Coding of
+        Continuous-Tone Still Images -- Requirements and Guidelines",
+    organization = "ITU",
+    note = "ITU. ISO/IEC 10918-1:1993(E). CCITT Rec. T.81 (1992 E)",
+    month = "September",
+    year = "1992"
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cmake.1.txt	Sun Nov 25 11:41:05 2007 +0100
@@ -0,0 +1,4 @@
+- Add debug
+   cmake -DBUILD_TYPE=Debug ..
+- Compile with verbose:
+   make VERBOSE=1 target
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/convert.1.txt	Sun Nov 25 11:41:05 2007 +0100
@@ -0,0 +1,4 @@
+Scale maintaining aspect ratio, the image to fit in the resize box:
+  convert a.png -resize 50x50% b.png
+  (add a ! after % if you're not interest in aspect ratio.
+  (add -filter lanczos before -resize, if you want a lanczos resizer)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cue.1.man	Sun Nov 25 11:41:05 2007 +0100
@@ -0,0 +1,21 @@
+.TH "Cue files" 1 21/11/2007
+
+.SH INTRO
+How to get the tracks from a big file (maybe APE) of a whole CD
+rip.
+.SH SOFTWARE
+cuetools, shntool, wavpack, mac
+
+.SH COMMANDS
+.SS Get the sound
+.NF
+cuebreakpoints sample.cue | shnsplit -o flac sample.ape
+.FI
+.SS Get the tags
+.NF
+cuetag sample.cue split-track00{1,2,3,4}.flac
+.FI
+.SS Get the file names
+.NF
+`cuerename sample.cue`
+.FI
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/greyc.1.txt	Sun Nov 25 11:41:05 2007 +0100
@@ -0,0 +1,2 @@
+GREYCstoration -restore bus-anvers.ppm -a 1 -p 0.4 -dt 40 -iter 2 -visu 0 -o bus-anvers2.ppm
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jasper.1.txt	Sun Nov 25 11:41:05 2007 +0100
@@ -0,0 +1,9 @@
+jasper -f lena.bmp -F lena.jpc -T jpc -O rate=0.01
+
+Options (with multiple -O)
+rate=0.01
+cblkwidth=64
+cblkheight=32
+nomct - no multicomponent transform to be employed
+numrlvls=4  - number of multiresolution levels
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lame.1.txt	Sun Nov 25 11:41:05 2007 +0100
@@ -0,0 +1,3 @@
+High Quality with average bitrate
+  -h --preset 48
+for 48Kbps
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/latex.1.man	Sun Nov 25 11:41:05 2007 +0100
@@ -0,0 +1,67 @@
+.TH latex 5 19/11/2007
+
+.SH SECTIONS
+.TP 5
+.B \eappendix
+Doesn't print anything, but changes the chapter naming to letters. From now on,
+next \echapter will go on with A, B, ...
+
+.SH PREAMBLE
+.TP 5
+.B \eusepackage[draft]{graphicx}
+Allows \fB\eincludegraphics{}\fR for including EPS, PNG, ... If you use
+.B draft
+then the images are not included, but the page layour kept as if they were.
+.TP
+.B \eusepackage{afterpage}
+Allows \fB\eafterpage{}\fR. This will run a \fB\eclearpage\fR automatically at
+the start of the next page, so LaTeX will have a free page for putting the float
+figures.
+
+.SH PARAGRAPH
+
+.TP 5
+.B \ecentering
+Set up centering from now on
+.TP
+.B \eclearpage
+Finishes the page, and the next lines start in a new page.
+.TP
+.B \einput{file}
+Include a tex file.
+
+.SH ENVIRONMENTS
+
+.TP 5
+.B center
+Centered text
+.TP
+.B enumeration
+1,2,3 with \eitem
+.TP
+.B itemize
+Bullets with \eitem
+.TP
+.B description
+Bullets with "\eitem[entry] description"
+
+.SH MATH
+.SS ENVIRONMENTS
+.TP 5
+.B align
+Aligns equations in multiple lines (\e\e) according to
+characters &
+.TP
+.B cases
+Opens a brace for cases inside an equation, then comes
+cases (separated by \e\e), aligning the conditions after &.
+.SS COMMANDS
+.TP 5
+.B \etext{}
+Writes roman text in math mode.
+.TP
+\fB\efrac{}{}\fR, \fB\edfrac{}{}\fR, \fB\etfrac{}{}\fR
+Normal fractions, displaystyle and textstyle (latter, smaller)
+
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/livejournal.1.txt	Sun Nov 25 11:41:05 2007 +0100
@@ -0,0 +1,1 @@
+logjam
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/man.5.man	Sun Nov 25 11:41:05 2007 +0100
@@ -0,0 +1,53 @@
+.TH "Write man pages" 5 19/11/2007
+.SH PARSER
+.B nroff -man
+.P
+Pipe your input throw this command.
+.SH FORMAT COMMANDS
+.TP 6
+.B .TH title section date
+Title Heading; specify product name, man page section (usually 1), and date, in
+this order.
+.TP
+.B ".SH <Text>"
+Section Heading
+.TP
+.B ".SS <Text>"
+SubSection Heading
+.TP
+.B .P
+Paragraph break
+.TP
+.B ".IP <Item>"
+Starts an indented paragraph where "item" is put to the left of it.
+.TP
+.B .HP
+Starts a paragraph with a hanging indent; i.e. lines after the first are
+indented.
+.TP
+.B .RE
+Defines an indented region
+.TP
+.B ".B <Text>"
+Bold
+.TP
+.B ".I <Text>"
+Italic
+.TP
+.B ".TP <Columns>"
+Term/paragraph format; columns specify how many columns to allocate to the term
+column.
+.TP
+.B .BR
+Break line
+.TP
+.B .NF
+Nofill (used to suppress normal line filling; used for preformatted text)
+.TP
+.B .FI
+Fill (used to resume normal line filling, usually after a .nf)
+.TP
+.B .\``
+Comment line
+.SH FROM
+http://www.fnal.gov/docs/products/ups/ReferenceManual/html/manpages.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/man.5.txt.old	Sun Nov 25 11:41:05 2007 +0100
@@ -0,0 +1,47 @@
+How to write man pages - nrof -man
+.TH title section date extra2 extra3
+.SH $1 (Section Header)
+.SS $1 (Subsection)
+.BR break line
+.P New paragraph (vertical space, point size, font regular, indent)
+.LP $1  (labeled paragraph, label $1)
+.TP $1 (will be at the left column until next line input's newline.)
+       After newline, will be a bit more to the left($1), as in html's <DL>.
+       Subsequent .TP, without parameter, will keep the later parameter.
+       The .TP indent value is reset after .PP. (?)
+.IP $1 (Starts an indented paragraph where "item" is put to the left of it; if
+        no blanks in "item", quotes are not needed.)
+.HP (Starts a paragraph with a hanging indent; i.e. lines after the first are
+        indented)
+.RE Defines an indented region
+.NF Nofill (used to suppress normal line filling; used for preformatted text)
+.FI Fill (used to resume normal line filling, usually after a .nf)
+.\" Comment line
+
+.B (bold)
+.I (Italic)
+.SM (Small)
+.SB (Small bold)
+.IR $1 $2  (first italic, second regular, ...)
+.RI $1 $2  (first regular, second italic, ...)
+.IB $1 $2  as above, italic bold.
+.BI $1 $2  as above, bold italic
+.RB $1 $2  as above, regular bold.
+.BB $1 $2  as above, bold regular
+.RS Store indents
+.RE Restore indents
+.R  Register sign (R)
+
+\fX change font (B, R)
+\-  char -
+\`  char `
+
+
+.AT (settings for Unix)
+.UC (settings for BSD)
+.DT (tabs every .5 inches)
+.PD ?
+
+.LP  ??
+
+.IP
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mobil.1.txt	Sun Nov 25 11:41:05 2007 +0100
@@ -0,0 +1,17 @@
+- Device:
+  /dev/mobilephone -> ircomm0
+- Turn on/off:
+  gsmctl -o <on|off>
+
+- Download Phonebook.
+  SIM:
+    gsmpb -p SM -s /dev/mobilephone -d phonebook-SM.txt
+  Phone memory:
+    gsmpb -p ME -s /dev/mobilephone -d phonebook-ME.txt
+
+- Download SMS:
+  gnokii --getsms ME 1 <big number> -f mysms
+
+- Someday may work. I don't know how to make it work with IrDA:
+  - multisync-gui
+  (which uses libopensync) www.opensync.org
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mpc.1.txt	Sun Nov 25 11:41:05 2007 +0100
@@ -0,0 +1,1 @@
+mppdec a.mpc a.wav
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mplayer.1.txt	Sun Nov 25 11:41:05 2007 +0100
@@ -0,0 +1,11 @@
+- Output wav:
+   mplayer -ao pcm:file=myfile.wav file.avi
+
+- Play dvd:
+   mplayer -slang ca -alang ca -vf lavcdeint dvd://1
+
+- File subtitles:
+   mplayer -utf8 -sub file.stt a.avi
+
+- Play a broken AVi:
+   mplayer -forceidx
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mysql.1.txt	Sun Nov 25 11:41:05 2007 +0100
@@ -0,0 +1,22 @@
+MYSQL
+* Create a database
+  CREATE DATABASE dbname;
+* Add a new user
+  - Connect to the database:
+    mysql -u root -p mysql
+  - Add the user:
+    GRANT ALL PRIVILEGES ON *.* TO 'monty'@'localhost' IDENTIFIED BY 'some_pass' WITH GRANT OPTION;
+    (*.* can be database.table)
+    (omit WITH GRANT OPTION, if it should not grant)
+    Other privileges:
+       RELOAD,PROCESS,USAGE
+  - Flush privileges:
+    FLUSH PRIVILEGES;
+
+* Change the password of a user:
+  - SQL:
+    UPDATE mysql.user SET Password=PASSWORD('newpwd')
+     WHERE User='username';
+     FLUSH PRIVILEGES;
+  - Shell:
+    mysqladmin -u username -h hostname password 'new-password'
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/postgresql.1.txt	Sun Nov 25 11:41:05 2007 +0100
@@ -0,0 +1,12 @@
+Set your database path:
+  export PGDATA=/tmp/mydata
+Init the database:
+  initdb
+Start the server:
+  postgres
+
+Create a database:
+  createdb <dbname>
+
+Access it:
+  psql <dbname>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ps.1.txt	Sun Nov 25 11:41:05 2007 +0100
@@ -0,0 +1,2 @@
+Parameters:
+l - Show nice values
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/torrent.1.txt	Sun Nov 25 11:41:05 2007 +0100
@@ -0,0 +1,7 @@
+Seeder/Seed    - Els que tenen serveixen el fitxer sencer
+Initial Seeder - El primer que serveix un fitxer
+Super Seeder   - El seeder procura enviar només parts que no s'han enviat abans.
+Leecher        - Que baixa molt més del que envia
+Swarm          - Tots els que comparteixen un fitxer (no exclusivament seeders)
+Snubbed        - Si un client A que baixa d'un B veu que el B no li envia res
+                 durant 60 segons, el marca com ignorat.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/webvideo.1.txt	Sun Nov 25 11:41:05 2007 +0100
@@ -0,0 +1,3 @@
+youtube-dl
+clive (youtube and dailymotion)
+http://www.hermann-uwe.de/blog/download-videos-from-youtube-google-video-and-others-using-linux