new file: README.md~

new file:   c/ff~
	modified:   c/main.rb
	renamed:    c/ff -> fichier/ff
	new file:   fichier/index.html
	modified:   m/ReadFile.rb
	new file:   m/ReadFolder.rb
This commit is contained in:
Quentin
2013-12-20 10:27:54 +01:00
parent 0ad36db9a5
commit 761e1e53cb
7 changed files with 45 additions and 4 deletions

4
c/ff
View File

@ -1,4 +0,0 @@
fdfsdjkfdjskljfldks http://www.google.fr fodfkljskljsd
dqdjqdjodzzd http://www.ndqjkdjqdkjz.com hdqhdkjqdqzdq
dqdqdkdpqzdd dqzdqzdkqlzndlkqdhqlkhdlkqhlkdkql djqlojdqkzjdmq
dqljdqjdmoljqdj http://www.a.com

1
c/ff~ Normal file
View File

@ -0,0 +1 @@
fdfsdjkfdjskljfldks http://www.google.fr/jbhddzd/zddz"></a> fodfkljskljsd

View File

@ -6,10 +6,11 @@ require 'net/ping' #lib netwotk
#include
require '../m/ReadFile'
require '../m/ReadFolder'
require '../v/Vue1'
require '../v/VueError'
"../fichier/".liste_rep
Gtk.init
v1 = Vue1.new
@ -20,6 +21,7 @@ v1.listenerDestroy
v1.getWindow.show_all
Gtk.main
str = v1.getEntry
str = "../fichier/" + str
if(File.exist?(str))
f = ReadFile.new(str)
@ -33,7 +35,7 @@ end
url.each { |n|
p = Net::Ping::HTTP.new n , 80
if p.ping?
puts n + "is alive and kicking"
puts n + "est vivant"
else
puts n + "est mort"
end