Vai al contenuto


Foto

Ricerca su win7


Questa discussione e' stata archiviata Questo significa che non e' possibile rispondere
31 risposte a questa discussione

#21 trallallero

trallallero

    Schiavo

  • Membri
  • StellettaStellettaStellettaStellettaStellettaStellettaStelletta
  • 16.188 Messaggi:

Inviato 14 ottobre 2013 - 10:38

Delivera allora, please.


Don't worry, faith will come soon, like a recall but,
if you can't wait, just stop thinking at all 

 


#22 ally

ally

    Banned

  • Bannati
  • StellettaStellettaStellettaStellettaStellettaStellettaStelletta
  • 11.498 Messaggi:

Inviato 14 ottobre 2013 - 10:43

...è una merda ricorsiva :

public class JavaSearch {

    static int count = 0;
    static String searchWord = "abuso";
	
	public static void main(String[] args) {
		
		Scanner in = new Scanner("C:/Documents and Settings/ally/pedo/minorenni/cristiane/disabili/");
		File root = new File(in.nextLine());
		if (root != null && root.isDirectory()) {
			listRecursively(root, 0);
		} else {
			System.out.println("Not a directory: " + root);
		}
	}
	
	public static void listRecursively(File fdir, int depth) {
		
	    searchString(fdir);
		
		if (fdir.isDirectory() && depth < 40) {
			for (int i=0;i<fdir.listFiles().length;i++) {  
				File f = fdir.listFiles()[i];
				listRecursively(f, depth+1);
			}
		}
	}
	
	public static void searchString(File file){
		
	    FileInputStream fis = null;
		BufferedInputStream bis = null;
		DataInputStream dis = null;
		int rowCounter = 0;
		if(file.isFile())
		try {
		   fis = new FileInputStream(file.getAbsolutePath());
			bis = new BufferedInputStream(fis);
			dis = new DataInputStream(bis);
			while (dis.available() != 0) {
			    rowCounter++;
			    String line = dis.readLine();
			    if(line.toLowerCase().indexOf(searchWord.toLowerCase())>-1)
			        System.err.println((line+" at row "+rowCounter+" of "+file.getAbsolutePath()).trim());
			}
			fis.close();
			bis.close();
			dis.close();
		} catch (Exception e) {
			e.printStackTrace();
		}
		
	}
}

...usalo su basso numero di file e non sull'intero disco...


... ...le rose son rosse...le viole son blu...io sono schizofrenico...e lo sono anche io...

 

as-shape.gifAthlon Xp 2000+ - MSI K7T266 Pro Raid - 512Mb DDR cas2 - 2xIBM 60Gb - Kyro2 64Mb - FireWire PCI - ATI-TV Wonder - Alice 256 
as-shape.gifPentium 233MMX - 128 MB SDR - 1xMaxtor 40GbGb - 3D Rage - SB16 as-crash.gif Sitolo  hideing_behind_computer_1_.gifCercoScheda Video - V.M.18 :D


#23 ally

ally

    Banned

  • Bannati
  • StellettaStellettaStellettaStellettaStellettaStellettaStelletta
  • 11.498 Messaggi:

Inviato 14 ottobre 2013 - 10:44

...e scaricati searchMyFile...

 

searchmyfiles.gif


... ...le rose son rosse...le viole son blu...io sono schizofrenico...e lo sono anche io...

 

as-shape.gifAthlon Xp 2000+ - MSI K7T266 Pro Raid - 512Mb DDR cas2 - 2xIBM 60Gb - Kyro2 64Mb - FireWire PCI - ATI-TV Wonder - Alice 256 
as-shape.gifPentium 233MMX - 128 MB SDR - 1xMaxtor 40GbGb - 3D Rage - SB16 as-crash.gif Sitolo  hideing_behind_computer_1_.gifCercoScheda Video - V.M.18 :D


#24 SuperMario=ITA=

SuperMario=ITA=

    Lo scemo del forum

  • Moderatori
  • 96.852 Messaggi:

Inviato 14 ottobre 2013 - 10:45

megusta la cartella di search


TghXItr.gif - Amare la Formattazione è la Soluzione al 90% dei Problemi della Vita

#25 trallallero

trallallero

    Schiavo

  • Membri
  • StellettaStellettaStellettaStellettaStellettaStellettaStelletta
  • 16.188 Messaggi:

Inviato 14 ottobre 2013 - 10:45

Si ma togli "cristiane" dai.


Don't worry, faith will come soon, like a recall but,
if you can't wait, just stop thinking at all 

 


#26 ally

ally

    Banned

  • Bannati
  • StellettaStellettaStellettaStellettaStellettaStellettaStelletta
  • 11.498 Messaggi:

Inviato 14 ottobre 2013 - 10:46

Si ma togli "cristiane" dai.

 

...crstiane è sinonimo di anal...deve essere per quella questione di arrivare caste al matrimonio...


... ...le rose son rosse...le viole son blu...io sono schizofrenico...e lo sono anche io...

 

as-shape.gifAthlon Xp 2000+ - MSI K7T266 Pro Raid - 512Mb DDR cas2 - 2xIBM 60Gb - Kyro2 64Mb - FireWire PCI - ATI-TV Wonder - Alice 256 
as-shape.gifPentium 233MMX - 128 MB SDR - 1xMaxtor 40GbGb - 3D Rage - SB16 as-crash.gif Sitolo  hideing_behind_computer_1_.gifCercoScheda Video - V.M.18 :D


#27 trallallero

trallallero

    Schiavo

  • Membri
  • StellettaStellettaStellettaStellettaStellettaStellettaStelletta
  • 16.188 Messaggi:

Inviato 14 ottobre 2013 - 10:46

...e scaricati searchMyFile...

 

searchmyfiles.gif

 

Meglio va, sicuramente non è in java.


Don't worry, faith will come soon, like a recall but,
if you can't wait, just stop thinking at all 

 


#28 ally

ally

    Banned

  • Bannati
  • StellettaStellettaStellettaStellettaStellettaStellettaStelletta
  • 11.498 Messaggi:

Inviato 14 ottobre 2013 - 10:49

...in qt/c++ lo scrivi in un minuto...


... ...le rose son rosse...le viole son blu...io sono schizofrenico...e lo sono anche io...

 

as-shape.gifAthlon Xp 2000+ - MSI K7T266 Pro Raid - 512Mb DDR cas2 - 2xIBM 60Gb - Kyro2 64Mb - FireWire PCI - ATI-TV Wonder - Alice 256 
as-shape.gifPentium 233MMX - 128 MB SDR - 1xMaxtor 40GbGb - 3D Rage - SB16 as-crash.gif Sitolo  hideing_behind_computer_1_.gifCercoScheda Video - V.M.18 :D


#29 trallallero

trallallero

    Schiavo

  • Membri
  • StellettaStellettaStellettaStellettaStellettaStellettaStelletta
  • 16.188 Messaggi:

Inviato 14 ottobre 2013 - 10:52

...in qt/c++ lo scrivi in un minuto...

 

Anche meno, uso l'example :asd:

 

http://qt-project.or...-findfiles.html


Don't worry, faith will come soon, like a recall but,
if you can't wait, just stop thinking at all 

 


#30 darkdroid

darkdroid

    ABBIAMO DELLE MENTI ECCELSE QUA SUL DS

  • Membri
  • StellettaStellettaStellettaStellettaStellettaStellettaStelletta
  • 26.474 Messaggi:

Inviato 14 ottobre 2013 - 11:07

gagliardo l'ho preso


Avete cartongessato i maron glace' con Lost. Non è altro che il risultato di un superproteugenetor in versione Serial. Immaginate la scena di Pele in fuga per la vittoria. il suo punto di partenza sono le prime stagioni di lost, il goal è la stagione finale. tutti i giocatori avversari driblati sono le stagioni mandate a puttane.

#31 Xile

Xile

    Grullino di merda che guarda il GF. Mi manca solo essere frocio.

  • GRULLINO
  • 9.390 Messaggi:

Inviato 14 ottobre 2013 - 11:42

È troppo o poco ?

Troppo

 

Ma le QT sono ancora usate? Mi sembrava che dopo l'acquisizione di Nokia e il fallimento del suo OS tutto stasse andando a remengo...


Messaggio modificato da Xile il 14 ottobre 2013 - 11:44

l44fee-2.png "Non sono d'accordo con quello che dici ma sono pronto a picchiarti finché non capisci che ho ragione io." Antifa4ever

#32 ally

ally

    Banned

  • Bannati
  • StellettaStellettaStellettaStellettaStellettaStellettaStelletta
  • 11.498 Messaggi:

Inviato 16 ottobre 2013 - 12:40

...in ambito embedded sono molto usate...


... ...le rose son rosse...le viole son blu...io sono schizofrenico...e lo sono anche io...

 

as-shape.gifAthlon Xp 2000+ - MSI K7T266 Pro Raid - 512Mb DDR cas2 - 2xIBM 60Gb - Kyro2 64Mb - FireWire PCI - ATI-TV Wonder - Alice 256 
as-shape.gifPentium 233MMX - 128 MB SDR - 1xMaxtor 40GbGb - 3D Rage - SB16 as-crash.gif Sitolo  hideing_behind_computer_1_.gifCercoScheda Video - V.M.18 :D