<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-18803251</id><updated>2011-04-22T05:05:08.131+02:00</updated><category term='linux'/><category term='mp4'/><category term='bluetooth'/><category term='vspd'/><category term='p2p'/><category term='mirc'/><category term='avi'/><category term='telnet'/><category term='qt4'/><category term='tux'/><category term='Xacti'/><category term='irc'/><category term='mp3'/><category term='aac'/><category term='busybox'/><category term='mkv'/><category term='qt'/><category term='vlc'/><category term='netcat'/><category term='serial port'/><category term='null modem'/><title type='text'>Schegge</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://darebux.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18803251/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://darebux.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>darebux</name><uri>http://www.blogger.com/profile/08361495847378932541</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-18803251.post-4680452083063593936</id><published>2008-01-08T23:57:00.000+01:00</published><updated>2008-01-09T08:39:29.106+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Xacti'/><category scheme='http://www.blogger.com/atom/ns#' term='vlc'/><category scheme='http://www.blogger.com/atom/ns#' term='mp4'/><title type='text'>How to fix the bad resolution of Sanyo Xacti videos</title><content type='html'>Vlc 0.8.6c version displays video recorded with my Sanyo Xacti C4 with a 320X240 resolution, instead of the correct 640X480.&lt;br /&gt;The older versions of Vlc have not this problem that is related to a wrong information in the file. This information is used by the new version of Vlc, and not by the older versions.&lt;br /&gt;To fix the problem I found some instructions here:&lt;br /&gt;&lt;a href="http://www.blogger.com/img/gl.link.gif"&gt;http://www.gnurou.org/blog/gnurou/2007/01/13/how_fix_bad_resolution_sanyo_xacti_videos&lt;/a&gt;&lt;br /&gt;&lt;a href="http://forum.videolan.org/viewtopic.php?f=2&amp;amp;t=33196"&gt;http://forum.videolan.org/viewtopic.php?f=2&amp;amp;t=33196&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;the better solution for me is:&lt;br /&gt;Settings&lt;br /&gt;Preferences&lt;br /&gt;Input/Codecs&lt;br /&gt;Demuxers&lt;br /&gt;Tick the Advanced Options checkbox&lt;br /&gt;Select FFmpeg demuxer in the dropdown&lt;br /&gt;&lt;br /&gt;I had also another problem with the audio not working using the RPM packet in mandriva repository, I solved it using the packet in the PLF repository.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18803251-4680452083063593936?l=darebux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://darebux.blogspot.com/feeds/4680452083063593936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18803251&amp;postID=4680452083063593936' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18803251/posts/default/4680452083063593936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18803251/posts/default/4680452083063593936'/><link rel='alternate' type='text/html' href='http://darebux.blogspot.com/2008/01/how-to-fix-bad-resolution-of-sanyo.html' title='How to fix the bad resolution of Sanyo Xacti videos'/><author><name>darebux</name><uri>http://www.blogger.com/profile/08361495847378932541</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18803251.post-7818522128261938559</id><published>2007-12-08T23:33:00.000+01:00</published><updated>2007-12-09T00:28:36.028+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='serial port'/><category scheme='http://www.blogger.com/atom/ns#' term='null modem'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='vspd'/><title type='text'>Linux Virtual Serial Port</title><content type='html'>When programming with Serial Ports, is often useful to have 2 Virtual Serial Ports communicating each other for debugging, without the need of a Null Modem serial cable connected to phisical serial ports of the same Pc, or connected to a second Pc.&lt;br /&gt;What you need is VSPD!&lt;br /&gt;Download the RPM or tar.gz packet from &lt;a href="http://www.tibbo.com/vspdl.php"&gt;http://www.tibbo.com/vspdl.php&lt;/a&gt;&lt;br /&gt;Install it following the instructions, then you should find the vspd.conf file in /usr/local/vspd/etc/ folder.&lt;br /&gt;Open it and edit as follow (modify the IP 192.168.1.3 with your IP address):&lt;br /&gt;&lt;br /&gt;&amp;lt;!-- **** VIRTUAL SERIAL PORT DRIVER FOR LINUX (VSPDL) CONFIGURATION FILE **** --&amp;gt;&lt;br /&gt;&amp;lt;!-- Copyright (C) 2003-2004, Tibbo Technology Inc. --&amp;gt;&lt;br /&gt;&amp;lt;vspdconfig&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;root dir="/usr/local/vspd"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;devprefix value="/dev/vspd"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;bind host="192.168.1.3"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;timeout exec="10000" priority="10"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;log type="file" level="EMR" path="var/vspd.log"/&amp;gt;&lt;br /&gt;&amp;lt;log type="file" level="ALR" path="var/vspd.log"/&amp;gt;&lt;br /&gt;&amp;lt;log type="file" level="CRT" path="var/vspd.log"/&amp;gt;&lt;br /&gt;&amp;lt;log type="file" level="ERR" path="var/vspd.log"/&amp;gt;&lt;br /&gt;&amp;lt;log type="file" level="WRN" path="var/vspd.log"/&amp;gt;&lt;br /&gt;&amp;lt;log type="file" level="NTC" path="var/vspd.log"/&amp;gt;&lt;br /&gt;&amp;lt;log type="file" level="INF" path="var/vspd.log"/&amp;gt;&lt;br /&gt;&amp;lt;log type="file" level="DBG" path="var/vspd.log"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;vsp num="0"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;bind host="" port="3500"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;connection rmode="server/client" proto="tcp" conmode="ondata" timeout="5" onthefly="outofband"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;destination ip="192.168.1.3" port="3501" cport="65535"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;packets maxlen="255" maxdelay="0" starton="any"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;log type="file" level="EMR" path="var/dev.0.log"/&amp;gt;&lt;br /&gt;&amp;lt;log type="file" level="ALR" path="var/dev.0.log"/&amp;gt;&lt;br /&gt;&amp;lt;log type="file" level="CRT" path="var/dev.0.log"/&amp;gt;&lt;br /&gt;&amp;lt;log type="file" level="ERR" path="var/dev.0.log"/&amp;gt;&lt;br /&gt;&amp;lt;log type="file" level="WRN" path="var/dev.0.log"/&amp;gt;&lt;br /&gt;&amp;lt;log type="file" level="NTC" path="var/dev.0.log"/&amp;gt;&lt;br /&gt;&amp;lt;log type="file" level="INF" path="var/dev.0.log"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/vsp&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;vsp num="1"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;bind host="192.168.1.3" port="3501"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;connection rmode="server/client" proto="tcp" conmode="ondata" timeout="5" onthefly="outofband"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;destination ip="192.168.1.3" port="3500" cport="65535"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;packets maxlen="255" maxdelay="0" starton="any"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;log type="file" level="EMR" path="var/dev.1.log"/&amp;gt;&lt;br /&gt;&amp;lt;log type="file" level="ALR" path="var/dev.1.log"/&amp;gt;&lt;br /&gt;&amp;lt;log type="file" level="CRT" path="var/dev.1.log"/&amp;gt;&lt;br /&gt;&amp;lt;log type="file" level="ERR" path="var/dev.1.log"/&amp;gt;&lt;br /&gt;&amp;lt;log type="file" level="WRN" path="var/dev.1.log"/&amp;gt;&lt;br /&gt;&amp;lt;log type="file" level="NTC" path="var/dev.1.log"/&amp;gt;&lt;br /&gt;&amp;lt;log type="file" level="INF" path="var/dev.1.log"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/vsp&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/vspdconfig&amp;gt;&lt;br /&gt;&lt;br /&gt;Now you can start the service with&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#/etc/rc.d/init.d/vspd start&lt;br /&gt;&lt;/span&gt;or, if the service was already running:&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;#/etc/rc.d/init.d/vspd reloadconf&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;To test the communication I used minicom on two different consoles, setting first to the port /dev/vsps0, and second to /dev/vsps1&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_2G41yoTGpuw/R1smBBQuijI/AAAAAAAAABg/__eNq1Xa7Yo/s1600-h/minicom.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp3.blogger.com/_2G41yoTGpuw/R1smBBQuijI/AAAAAAAAABg/__eNq1Xa7Yo/s320/minicom.png" alt="" id="BLOGGER_PHOTO_ID_5141745198533872178" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18803251-7818522128261938559?l=darebux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://darebux.blogspot.com/feeds/7818522128261938559/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18803251&amp;postID=7818522128261938559' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18803251/posts/default/7818522128261938559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18803251/posts/default/7818522128261938559'/><link rel='alternate' type='text/html' href='http://darebux.blogspot.com/2007/12/linux-virtual-serial-port.html' title='Linux Virtual Serial Port'/><author><name>darebux</name><uri>http://www.blogger.com/profile/08361495847378932541</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp3.blogger.com/_2G41yoTGpuw/R1smBBQuijI/AAAAAAAAABg/__eNq1Xa7Yo/s72-c/minicom.png' height='72' width='72'/><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18803251.post-8424861466626403996</id><published>2007-11-25T21:50:00.000+01:00</published><updated>2007-11-27T08:49:35.193+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mkv'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='mp3'/><category scheme='http://www.blogger.com/atom/ns#' term='avi'/><category scheme='http://www.blogger.com/atom/ns#' term='aac'/><title type='text'>MKV to AVI under Linux</title><content type='html'>You need:&lt;a href="http://www.bunkus.org/videotools/mkvtoolnix/"&gt;&lt;br /&gt;MKVtoolnix&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;1. MKV is a container, to see what the file contains:&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;$ mkvinfo movie.mkv&lt;/span&gt;&lt;br /&gt;Ex:&lt;br /&gt;+ EBML head&lt;br /&gt;|+ Doc type: matroska&lt;br /&gt;|+ Doc type version: 1&lt;br /&gt;|+ Doc type read version: 1&lt;br /&gt;+ Segment, size 736993124&lt;br /&gt;|+ Seek head (subentries will be skipped)&lt;br /&gt;|+ EbmlVoid (size: 4027)&lt;br /&gt;|+ Segment information&lt;br /&gt;| + Timecode scale: 1000000&lt;br /&gt;| + Muxing application: libebml v0.7.3 + libmatroska v0.7.4&lt;br /&gt;| + Writing application: mkvmerge v1.0 ('Soul Food To Go') built on Nov 17 2004 15:06:35&lt;br /&gt;| + Duration: 3682.987s (01:01:22.987000000)&lt;br /&gt;| + Date: Wed Dec  8 15:42:45 2004 UTC&lt;br /&gt;| + Title: Il Coraggioso - The Brave&lt;br /&gt;| + Segment UID: 0x84 0xad 0xc1 0x0b 0x8e 0x9b 0x06 0x84 0xef 0x2a 0xf9 0xa6 0xf4 0x94 0x07 0x5d&lt;br /&gt;| + Next segment UID: 0xeb 0x46 0x75 0xb4 0x7a 0x71 0xc2 0x7f 0xc7 0x36 0x44 0x06 0x9b 0xe4 0x90 0x76&lt;br /&gt;|+ Segment tracks&lt;br /&gt;| + A track&lt;br /&gt;|  + Track number: 1&lt;br /&gt;|  + Track UID: 38700354&lt;br /&gt;|  + Track type: video&lt;br /&gt;|  + Default flag: 1&lt;br /&gt;|  + Lacing flag: 0&lt;br /&gt;|  + MinCache: 1&lt;br /&gt;|  + Timecode scale: 1.000000&lt;br /&gt;|  + Codec ID: V_MS/VFW/FOURCC&lt;br /&gt;|  + CodecPrivate, length 40 (FourCC: XVID, 0x44495658)&lt;br /&gt;|  + Default duration: 40.000ms (25.000 fps for a video track)&lt;br /&gt;|  + Language: und&lt;br /&gt;|  + Name: Il Coraggioso - the Brave&lt;br /&gt;|  + Video track&lt;br /&gt;|   + Pixel width: 608&lt;br /&gt;|   + Pixel height: 336&lt;br /&gt;|   + Display width: 608&lt;br /&gt;|   + Display height: 336&lt;br /&gt;| + A track&lt;br /&gt;|  + Track number: 2&lt;br /&gt;|  + Track UID: 3348909422&lt;br /&gt;|  + Track type: audio&lt;br /&gt;|  + Default flag: 1&lt;br /&gt;|  + Lacing flag: 1&lt;br /&gt;|  + MinCache: 0&lt;br /&gt;|  + Timecode scale: 1.000000&lt;br /&gt;|  + Codec ID: A_AAC/MPEG2/LC/SBR&lt;br /&gt;|  + Default duration: 42.667ms (23.438 fps for a video track)&lt;br /&gt;|  + Language: ita&lt;br /&gt;|  + Name: Ita aac 5.1&lt;br /&gt;|  + Audio track&lt;br /&gt;|   + Sampling frequency: 24000.000000&lt;br /&gt;|   + Channels: 6&lt;br /&gt;|   + Output sampling frequency: 48000.000000&lt;br /&gt;|+ EbmlVoid (size: 1024)&lt;br /&gt;|+ Cluster&lt;br /&gt;&lt;br /&gt;2. select the numbers of the trucks you want to extract and type:&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;$ mkvextract tracks "/mnt/common/Film/movie.mkv" 1:/mnt/common/Film/movie.avi 2:/mnt/common/Film/movie.aac&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;3. If the audio file has the aac format you need also:&lt;br /&gt;faad&lt;br /&gt;lame&lt;br /&gt;&lt;br /&gt;4. To convert the file audio in mp3 format:&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;$ faad -d /mnt/common/Film/movie.aac&lt;br /&gt;$ lame /mnt/common/Film/movie.wav&lt;/span&gt;&lt;span style="font-family:monospace;"&gt;&lt;br /&gt;&lt;span style=";font-family:georgia;font-size:130%;"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;5. Let's put all toghether:&lt;span style="font-family:monospace;"&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;$ mencoder -audiofile movie.wav.mp3 -oac mp3lame -ovc copy movie.avi -o movie_complete.avi&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18803251-8424861466626403996?l=darebux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://darebux.blogspot.com/feeds/8424861466626403996/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18803251&amp;postID=8424861466626403996' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18803251/posts/default/8424861466626403996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18803251/posts/default/8424861466626403996'/><link rel='alternate' type='text/html' href='http://darebux.blogspot.com/2007/11/mkv-to-avi-under-linux.html' title='MKV to AVI under Linux'/><author><name>darebux</name><uri>http://www.blogger.com/profile/08361495847378932541</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18803251.post-4716196131739498268</id><published>2007-10-08T00:39:00.000+02:00</published><updated>2007-11-27T08:38:26.643+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='qt4'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='tux'/><category scheme='http://www.blogger.com/atom/ns#' term='qt'/><title type='text'>Qt4 Tux Example</title><content type='html'>&lt;span style="font-weight: bold;font-family:georgia;" &gt;main.cpp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;#include "console883.h"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;#include &lt;qtgui qwidget=""&gt;&lt;qtgui&gt;&lt;/qtgui&gt;&lt;/qtgui&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;#include &lt;qmouseevent&gt;&lt;qapplication&gt;&lt;/qapplication&gt;&lt;/qmouseevent&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;stdlib.h&gt;&lt;/stdlib.h&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;int main(int argc, char *argv[])&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    QApplication a(argc, argv);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    QString fn = "tux.png";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    if ( ! QFile::exists( fn ) )&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    exit( 1 );&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    Console883 w(0,Qt::FramelessWindowHint); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    QPixmap pixmap(fn);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    QPalette palette;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    palette.setBrush(w.backgroundRole(), QBrush(pixmap));&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    w.setPalette(palette);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    w.setFixedSize( pixmap.size() );&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    w.setMask(pixmap.mask());    &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    w.show();&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    a.connect(&amp;amp;a, SIGNAL(lastWindowClosed()), &amp;amp;a, SLOT(quit()));&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    return a.exec();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;--------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:georgia;" &gt;console883.h&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;br /&gt;#ifndef CONSOLE883_H&lt;br /&gt;#define CONSOLE883_H&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;#include &lt;qtgui qwidget=""&gt;&lt;br /&gt;#include &lt;qmouseevent&gt;&lt;br /&gt;#include "ui_console883.h"&lt;br /&gt;&lt;br /&gt;class Console883 : public QWidget&lt;br /&gt;{&lt;br /&gt;Q_OBJECT&lt;br /&gt;&lt;br /&gt;public:&lt;br /&gt;Console883(QWidget *parent = 0, Qt::WFlags f = 0);&lt;br /&gt;~Console883();&lt;br /&gt;void show();&lt;br /&gt;&lt;br /&gt;protected:&lt;br /&gt;void mousePressEvent( QMouseEvent *);&lt;br /&gt;void mouseMoveEvent( QMouseEvent *);&lt;br /&gt;&lt;br /&gt;private:&lt;br /&gt;Ui::Console883Class ui;&lt;/qmouseevent&gt;&lt;/qtgui&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;qtgui qwidget=""&gt;&lt;qmouseevent&gt;&lt;span style="font-family:courier new;"&gt;  QPoint clickPos;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;};&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;#endif // CONSOLE883_H&lt;/span&gt;&lt;/qmouseevent&gt;&lt;/qtgui&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;qtgui qwidget=""&gt;&lt;qmouseevent&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;----------------------------------------------------------------------------------------------------------------&lt;br /&gt;&lt;/qmouseevent&gt;&lt;/qtgui&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;console883.cpp&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-family:courier new;"&gt;#include "console883.h"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Console883::Console883(QWidget *parent, Qt::WFlags f)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;: QWidget(parent, f)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;{&lt;br /&gt;//ui.setupUi(this);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Console883::~Console883()&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void Console883::show()&lt;br /&gt;{&lt;br /&gt;ui.setupUi(this);&lt;br /&gt;QWidget::show();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void Console883::mousePressEvent( QMouseEvent *e )&lt;br /&gt;{&lt;br /&gt;clickPos = e-&gt;pos();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void Console883::mouseMoveEvent( QMouseEvent *e )&lt;br /&gt;{&lt;br /&gt;move( e-&gt;globalPos() - clickPos );&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;span style="font-family:courier new;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_2G41yoTGpuw/RwlhvF4-wAI/AAAAAAAAAA8/D5z9uhgZ_os/s1600-h/schermata2.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp1.blogger.com/_2G41yoTGpuw/RwlhvF4-wAI/AAAAAAAAAA8/D5z9uhgZ_os/s320/schermata2.png" alt="" id="BLOGGER_PHOTO_ID_5118729913146195970" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18803251-4716196131739498268?l=darebux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://darebux.blogspot.com/feeds/4716196131739498268/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18803251&amp;postID=4716196131739498268' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18803251/posts/default/4716196131739498268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18803251/posts/default/4716196131739498268'/><link rel='alternate' type='text/html' href='http://darebux.blogspot.com/2007/10/qt4-tux-example.html' title='Qt4 Tux Example'/><author><name>darebux</name><uri>http://www.blogger.com/profile/08361495847378932541</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_2G41yoTGpuw/RwlhvF4-wAI/AAAAAAAAAA8/D5z9uhgZ_os/s72-c/schermata2.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18803251.post-7734858631209723102</id><published>2007-09-26T10:57:00.000+02:00</published><updated>2007-11-27T08:38:58.442+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='irc'/><category scheme='http://www.blogger.com/atom/ns#' term='p2p'/><category scheme='http://www.blogger.com/atom/ns#' term='mirc'/><title type='text'></title><content type='html'>Istruzioni per scaricare con mirc:&lt;br /&gt;&lt;br /&gt;1-avviare mirc&lt;br /&gt;2-prima di collegare il mirc andare su &lt;b&gt;impostazioni, server, nuovo server&lt;/b&gt;:&lt;br /&gt;  -nome canale = nome di fantasia, metti ad esempio _oltreirc in modo che ti venga fuori come primo nella lista, altrimenti li ordina per nome.&lt;br /&gt;  -&lt;b&gt;indirizzo = &lt;/b&gt;&lt;a href="http://irc.oltreirc.net/" target="_blank"&gt;&lt;b&gt;irc.oltreirc.net&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;  -porta : lascia quella che c'è (6667)&lt;br /&gt;2A- Configurare quali file il mirc puo ricevere. Dovrebbe esserci sulle impostazioni un menu con indicato &lt;b&gt;dcc, &lt;/b&gt;in quel menu dovresti trovare la cartella dove mirc salva i file ed un menu a tendina nel quale &lt;b&gt;configurare le estensioni dei file che mirc deve ricevere&lt;/b&gt; (inserisci li le estensioni piu note e digli che deve ricevere solo quelle, accept only! ). Sempre in quel menu devi &lt;b&gt;configurare che se scarica un file inizi in automatico senza chiedere conferma e che se sta scaricando un file già esistente faccia il resume.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;3-clicca ok e vai sempre nelle impostazioni nella prima schermata di connessione.&lt;br /&gt;4-seleziona server ALL e successivamente a finaco nel menu a tendina selezione il servere che hai appena creato, lo troverai con il nome che gli hai dato, _oltreirc&lt;br /&gt;5- seleziona quel server e clicca su connetti. Puoi impostare anche il nick come in una normale chat.&lt;br /&gt;6- a questo punta mirc si collegherà alla rete. Dopo una decina di secondi quanto ti conferma il collegamento, digita il commando &lt;b&gt;/list. Questo ti permetterà di visualizzare tutti i canali disponibili.&lt;br /&gt;&lt;/b&gt;7- a questo punto prendi in considerazione i primi 4-5 canali quelli con piu utenti. Tra i primi dovrebbe essereci &lt;b&gt;OCEAN. &lt;/b&gt;Doppio clic su quel canale e ti si aprirà una nuova finestra. Ora sei dentro.&lt;br /&gt;8- Per evitare di farti calciare fuori a pedate &lt;b&gt;saluta sempre il canale e non chiedere mai informazioni nel canale dove si scarica.&lt;/b&gt; Se ti servono info scorri la schermata dei canali ed alla fine troverai sempre i canali di help dedicati ad ogni canale specifico.&lt;br /&gt;9- quando sei dentro nel canale digita il conamndo &lt;b&gt;!list e successivamente ti verrà visualizzato nella finestra del canale un link internet.&lt;br /&gt;&lt;/b&gt;10- Apri il link e ti verrà visualizzato una lista con in testa un campo di ricerca. Cerca quello che vuoi e il risultato sarà una pagina con i file disponibili nei vari BOT.&lt;br /&gt;11-Ora vedi che il file è sul bot ad esempio &lt;b&gt;"Oceanlnewsl001" e viene identificato dal pack #5.&lt;/b&gt; A questo punto ritorna in mirc e sul canale ocean scorri il menu dove ci sono tutti gli utenti collegati fino a trovare il bot &lt;b&gt;"Oceanlnewsl001". Doppio clic sopra e si apre una finestra. &lt;/b&gt;A questo punto inserisci il comando per scaricare &lt;b&gt;xdcc send #numeropack, in questo caso xdcc send #5.&lt;br /&gt;&lt;/b&gt;12-se il bot a porte libere ti lascia scaricare e ti apparirà una finestra di inizio download, altrimenti se non parte niente o hai sbagliato a configurare quali file il mirc può ricevere oppure vuol dire che ti sei messo in coda per scaricare! per vedere se sei in coda va nella pagina del canale e ti dovrebbe comparire "sei in posizione 15" o un'altro numero che definisca la tua posizione in cosa!&lt;br /&gt;13- se vuoi eliminarti dalla coda vai nel bot e scrivi il comando &lt;b&gt;xdcc remove.&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;span class="sg"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18803251-7734858631209723102?l=darebux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://darebux.blogspot.com/feeds/7734858631209723102/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18803251&amp;postID=7734858631209723102' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18803251/posts/default/7734858631209723102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18803251/posts/default/7734858631209723102'/><link rel='alternate' type='text/html' href='http://darebux.blogspot.com/2007/09/istruzioni-per-scaricare-con-mirc-1.html' title=''/><author><name>darebux</name><uri>http://www.blogger.com/profile/08361495847378932541</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18803251.post-5678482284675426937</id><published>2007-06-21T10:21:00.000+02:00</published><updated>2007-11-27T08:39:40.582+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='busybox'/><category scheme='http://www.blogger.com/atom/ns#' term='telnet'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='netcat'/><title type='text'>Netcat &amp; Busybox</title><content type='html'>Configurazione di netcat su busybox per fare reverse telnet su una console remota e avere accesso ad un database sqlite. Questo permette di avere accesso al database di una macchina di cui non si conosce l'ip e che è sotto firewall.&lt;br /&gt;&lt;br /&gt;Utilizzata Busybox 1.2.1.  Entrare in "&lt;span style="font-style: italic;"&gt;Networking Utilities&lt;/span&gt;"e attivare "&lt;span style="font-style: italic;"&gt;nc"&lt;/span&gt; e "&lt;span style="font-style: italic;"&gt;gaping security hole&lt;/span&gt;" (altrimenti l'opzione &lt;span style="font-style: italic;"&gt;-e&lt;/span&gt; non viene attivata).&lt;br /&gt;&lt;br /&gt;Sul server da cui si vuole accedere alla console digitare:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#nc -vv -l -p 80&lt;br /&gt;&lt;/span&gt;Sulla console creare il comando eseguibile opendb.sh:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#!/bin/sh&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;sqlite /usr/secure/database/manager994.db&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;quindi eseguire il comando&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#nc -e opendb.sh xxx.xxx.xxx.xxx 80&lt;/span&gt;&lt;br /&gt;dove xxx.xxx.xxx.xxx è l'ip del server&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18803251-5678482284675426937?l=darebux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://darebux.blogspot.com/feeds/5678482284675426937/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18803251&amp;postID=5678482284675426937' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18803251/posts/default/5678482284675426937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18803251/posts/default/5678482284675426937'/><link rel='alternate' type='text/html' href='http://darebux.blogspot.com/2007/06/netcat-busybox.html' title='Netcat &amp; Busybox'/><author><name>darebux</name><uri>http://www.blogger.com/profile/08361495847378932541</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18803251.post-114026744986551374</id><published>2006-02-18T13:09:00.000+01:00</published><updated>2007-11-27T08:40:17.979+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bluetooth'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>T610 bluetooth connection under Linux</title><content type='html'>Compenents:&lt;br /&gt;&lt;ol&gt;   &lt;li&gt;Acer laptop&lt;/li&gt;   &lt;li&gt;Bluetooth usb pen&lt;/li&gt;   &lt;li&gt;Sony-Ericsson T610 cell-phone&lt;/li&gt;   &lt;li&gt;Mandriva 2006&lt;/li&gt; &lt;/ol&gt; I followed the instructions in &lt;a href="http://www.teaparty.net/technotes/blue-gprs.html"&gt;http://www.teaparty.net/technotes/blue-gprs.html&lt;/a&gt;&lt;br /&gt;Commands:&lt;br /&gt;#hcitool scan&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Scanning ...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        00:0E:07:63:E6:B3       T610 David&lt;/span&gt;&lt;br /&gt;#rfcomm bind 0 00:0E:07:63:E6:B3 1&lt;br /&gt;#minicom&lt;br /&gt;Serial Port Setup&lt;br /&gt;Serial Device: /dev/rfcomm0&lt;br /&gt;Bps/Par/Bits: 8N1&lt;br /&gt;Hardware Flow Control: OFF&lt;br /&gt;Software Flow Control: ON&lt;br /&gt;Save Setup as dfl&lt;br /&gt;Exit&lt;br /&gt;#minicom&lt;br /&gt;AT&lt;br /&gt;OK&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18803251-114026744986551374?l=darebux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://darebux.blogspot.com/feeds/114026744986551374/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18803251&amp;postID=114026744986551374' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18803251/posts/default/114026744986551374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18803251/posts/default/114026744986551374'/><link rel='alternate' type='text/html' href='http://darebux.blogspot.com/2006/02/t610-bluetooth-connection-under-linux.html' title='T610 bluetooth connection under Linux'/><author><name>darebux</name><uri>http://www.blogger.com/profile/08361495847378932541</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18803251.post-113155456759818622</id><published>2005-11-09T17:30:00.000+01:00</published><updated>2005-11-09T17:42:47.606+01:00</updated><title type='text'>apertura</title><content type='html'>Dai cervello fatti venire in mente qualcosa di più originale del solito trito e ritrito "Hello World" che vorresti farmi scrivere per inaugurare questo "non so ancora bene cosa sia" che viene comunemente chiamato Blog.&lt;br /&gt;...&lt;br /&gt;...&lt;br /&gt;niente, stai solo pensando come fare per convincermi a farmi spegnere questo PC e portarti a casa a rilassarti sul divano.&lt;br /&gt;Tanto lo sai che anche lì saremo  irrimediabilmente attratti dalla blogosfera  che ormai  ci pervade e ci ritroveremo a dover leggere (e come ora scrivere)  blog per dare un senso alla nostra esistenza.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18803251-113155456759818622?l=darebux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://darebux.blogspot.com/feeds/113155456759818622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18803251&amp;postID=113155456759818622' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18803251/posts/default/113155456759818622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18803251/posts/default/113155456759818622'/><link rel='alternate' type='text/html' href='http://darebux.blogspot.com/2005/11/apertura.html' title='apertura'/><author><name>darebux</name><uri>http://www.blogger.com/profile/08361495847378932541</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
