Archive

Archive for November, 2006

Par uporabnih stvari za Javo

November 27th, 2006 karlosp No comments

Branje iz datoteke

import java.util.*;
FileInputStream fis = new FileInputStream("pot/do/datoteke.txt");
BufferredInputStream bis = new BufferredInputStream(fis);
Scanner sc = new Scanner(bis);
String s = sc.next();    int x = sc.nextInt();
s = sc.nextLine();
while(sc.hasNext());
sc.close();

Pisanje v datoteko

import java.io.*;
PrintWriter pw = new PrintWriter(new FileWriter("to/file.txt"));
p.print("nek niz");
p.printf("nekaj stane %d SIT", znesek);
p.close();

Koristne povezave:

Stran z veliko primeri

Java te?aj [slo]

Categories: Malo mešano Tags:

Moj seznam filtrov pri adblock

November 11th, 2006 karlosp No comments
Categories: Malo mešano Tags:

Rip stream with MPlayer

November 8th, 2006 karlosp No comments

If you still can’t view your video, try to use wget and cat commands. For example:

$ wget "http://www.br-online.de/cgi-bin/ravi?v=alpha/centauri/v/&g2=1&f=041027.rm"
$ cat "ravi?v=alpha%2Fcentauri%2Fv%2F&g2=1&f=041027.rm"

This will show you:

Code: $ cat “ravi?v=alpha%2Fcentauri%2Fv%2F&g2=1&f=041027.rm”
rtsp://ravi.br-online.de:5050/ravi/alpha/centauri/v/041027.rm
--stop--
pnm://ravi.br-online.de/ravi/alpha/centauri/v/041027.rm

Grab the first URL and play it with MPlayer:

$ mplayer rtsp://ravi.br-online.de:5050/ravi/alpha/centauri/v/041027.rm

Ripping

$ mplayer -dumpstream “< http:// >” -dumpfile

More …

			
Categories: Linux, Malo mešano Tags:

Nastavitev interneta & pošte na qtek 9000

November 7th, 2006 karlosp No comments

Za outgoing server je treba napisat smtp.planet.si (za mobitelove uporabnike) -> Outgoing mail requires authentication (yes) -> Use seperate settings (yes) -> Outgoing settings -> User name = “mobitel”; password = “internet”; Domain = prazno; Save password (yes) in stvar dela!

101895 pages viewed, 159 today
53334 visits, 93 today
FireStats icon Powered by FireStats