[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

ruby-a-day: admin tip: sharing files/folder

Peña, Botp

8/7/2006 12:32:00 PM

Hi,

many times, we share files across different platforms (unix, windows, mac) and accross the net. no probs; w just ruby, you can publish your folder in a few seconds. try it like this,

1 go to the folder you want to publish
2 run the ff ruby script:

#-----start----
require 'webrick'

port=rand(2000)+60000;

server=WEBrick::HTTPServer.new(
:Port => port,
:DocumentRoot => Dir::pwd,
:BindAddress => '0.0.0.0',
:Logger => WEBrick::Log.new(nil,nil)
)

trap "INT" do server.shutdown end
server.start
#-----end----



this will publish your current folders/file(Dir::pwd) at a random port (60000-62000). Press ctrl-c to stop your mini web server.

To access your file/folder, just use any browser or wget..

happy rubying,
-botp

4 Answers

mirjam

1/19/2009 4:36:00 PM

0

On Jan 19, 2:10 pm, "Heinrich" <Heinr...@Ruhrgasnet.De> wrote:
> <mir...@actcom.co.il> schreef in berichtnews:d4a873f2-0c60-4e97-852b-d94e9586bbd7@b38g2000prf.googlegroups.com...
>
> > I am walking in the streets speaking with neighbours NO WHERE did i
> > see anyone , applaud the War , only thing you hear is the RIGHT of
> > people to live Within the borders of our country WITHOUT ROCKETS and
> > Without Terror acts ,,
>
> > If you have such Pictures , you should show them ,,,
> > mirjam
>
>  GAZA, (PIC)-- A report issued by the Saudi Al-Watan news paper revealed
> Saturday that Jewish rabbis in the Zionist entity have issued a religious
> edict allowing the killing of Palestinian women and children and exonerating
> every Jew doing such horrible thing.
>
> According to the paper, the rabbis opined that the Israeli massacres in Gaza
> Strip falls in line with Jewish teachings that consider such killing as
> "mass punishment to the enemies".
>
> The paper also added that one of the rabbis opined that there would be no
> problem at all in exterminating the Palestinian people even if one million
> or more of them were killed at the hands of the occupation troops.
>
> Citing verses from the Book of Geneses, Jewish rabbi Mordachi Elyaho, who is
> the religious reference of the popular religious current in the Zionist
> entity sent outgoing Israeli premier Ehud Olmert a weekly leaflet containing
> articles allowing the Jews to carryout the idea of massive punishment
> against the enemies in accordance with the ethics of war in the Torah, the
> paper pointed out.
>
> "This standard could also be applied to the case of Gaza as all Gaza
> inhabitants bear the responsibility because they didn't do anything to stop
> the firing of Qassam Brigades" said Elyaho in his letter to Olmert, urging
> him to continue the military aggression on the Palestinians because "harming
> innocent Palestinians was a legitimate matter."
>
> Yesrael Rozin, another fanatic rabbi, was also quoted as saying that law of
> the Torah stipulates the killing of men, children, women, elderly, infants,
> and animals [of the enemy], the paper furthermore added.
>
> For his part, Safad rabbi Sholomo Elyaho underlined, "If we kill 100 of them
> but they refuse to halt this [firing of rockets] them we should kill 1000;
> and if we kill 1000 of them but they didn't stop, then we should kill 10000
> of them, and we must continue killing them even if they reach one million
> and despite the time spent in killing them".
>
> "The Psalms says "I should continue chasing my enemies and arrest them, and
> I won't cease till I finish them completely", the rabbi said according to
> the report.

You yourself write that this are some fanatics, Alas some fanatics and
Fundmenatalists are to be found everywhere , but those are not the
Main stream nore most people ,,,
Those Fundamenatl Fanatics don`t serve in the army ,,
mirjam

Ben Cramer

1/20/2009 9:51:00 AM

0


<mirjam@actcom.co.il> wrote in message
news:d4a873f2-0c60-4e97-852b-d94e9586bbd7@b38g2000prf.googlegroups.com...
>
> I am walking in the streets speaking with neighbours NO WHERE did i
> see anyone , applaud the War , only thing you hear is the RIGHT of
> people to live Within the borders of our country WITHOUT ROCKETS and
> Without Terror acts ,,

There are no so blind as those who do not want to see.


Ben Cramer

1/20/2009 9:52:00 AM

0


"Heinrich" <Heinrich@Ruhrgasnet.De> wrote in message
news:6tj8u5Fb2ns5U1@mid.individual.net...
>
> <mirjam@actcom.co.il> schreef in bericht
> news:d4a873f2-0c60-4e97-852b-d94e9586bbd7@b38g2000prf.googlegroups.com...
>>
>> I am walking in the streets speaking with neighbours NO WHERE did i
>> see anyone , applaud the War , only thing you hear is the RIGHT of
>> people to live Within the borders of our country WITHOUT ROCKETS and
>> Without Terror acts ,,
>>
>> If you have such Pictures , you should show them ,,,
>> mirjam
> GAZA, (PIC)-- A report issued by the Saudi Al-Watan news paper revealed
> Saturday that Jewish rabbis in the Zionist entity have issued a religious
> edict allowing the killing of Palestinian women and children and
> exonerating every Jew doing such horrible thing.
>
> According to the paper, the rabbis opined that the Israeli massacres in
> Gaza Strip falls in line with Jewish teachings that consider such killing
> as "mass punishment to the enemies".
>
> The paper also added that one of the rabbis opined that there would be no
> problem at all in exterminating the Palestinian people even if one million
> or more of them were killed at the hands of the occupation troops.
>
> Citing verses from the Book of Geneses, Jewish rabbi Mordachi Elyaho, who
> is the religious reference of the popular religious current in the Zionist
> entity sent outgoing Israeli premier Ehud Olmert a weekly leaflet
> containing articles allowing the Jews to carryout the idea of massive
> punishment against the enemies in accordance with the ethics of war in the
> Torah, the paper pointed out.
>
> "This standard could also be applied to the case of Gaza as all Gaza
> inhabitants bear the responsibility because they didn't do anything to
> stop the firing of Qassam Brigades" said Elyaho in his letter to Olmert,
> urging him to continue the military aggression on the Palestinians because
> "harming innocent Palestinians was a legitimate matter."
>
> Yesrael Rozin, another fanatic rabbi, was also quoted as saying that law
> of the Torah stipulates the killing of men, children, women, elderly,
> infants, and animals [of the enemy], the paper furthermore added.
>
> For his part, Safad rabbi Sholomo Elyaho underlined, "If we kill 100 of
> them but they refuse to halt this [firing of rockets] them we should kill
> 1000; and if we kill 1000 of them but they didn't stop, then we should
> kill 10000 of them, and we must continue killing them even if they reach
> one million and despite the time spent in killing them".
>
> "The Psalms says "I should continue chasing my enemies and arrest them,
> and I won't cease till I finish them completely", the rabbi said according
> to the report.

That should shut the whining old bitch up, but I suspect it will not.


>
>
>

Ben Cramer

1/20/2009 9:53:00 AM

0


<mirjam@actcom.co.il> wrote in message
news:5d48379f-6228-4295-943b-b17d19736aee@d36g2000prf.googlegroups.com...
On Jan 19, 2:10 pm, "Heinrich" <Heinr...@Ruhrgasnet.De> wrote:
> <mir...@actcom.co.il> schreef in
> berichtnews:d4a873f2-0c60-4e97-852b-d94e9586bbd7@b38g2000prf.googlegroups.com...
>
> > I am walking in the streets speaking with neighbours NO WHERE did i
> > see anyone , applaud the War , only thing you hear is the RIGHT of
> > people to live Within the borders of our country WITHOUT ROCKETS and
> > Without Terror acts ,,
>
> > If you have such Pictures , you should show them ,,,
> > mirjam
>
> GAZA, (PIC)-- A report issued by the Saudi Al-Watan news paper revealed
> Saturday that Jewish rabbis in the Zionist entity have issued a religious
> edict allowing the killing of Palestinian women and children and
> exonerating
> every Jew doing such horrible thing.
>
> According to the paper, the rabbis opined that the Israeli massacres in
> Gaza
> Strip falls in line with Jewish teachings that consider such killing as
> "mass punishment to the enemies".
>
> The paper also added that one of the rabbis opined that there would be no
> problem at all in exterminating the Palestinian people even if one million
> or more of them were killed at the hands of the occupation troops.
>
> Citing verses from the Book of Geneses, Jewish rabbi Mordachi Elyaho, who
> is
> the religious reference of the popular religious current in the Zionist
> entity sent outgoing Israeli premier Ehud Olmert a weekly leaflet
> containing
> articles allowing the Jews to carryout the idea of massive punishment
> against the enemies in accordance with the ethics of war in the Torah, the
> paper pointed out.
>
> "This standard could also be applied to the case of Gaza as all Gaza
> inhabitants bear the responsibility because they didn't do anything to
> stop
> the firing of Qassam Brigades" said Elyaho in his letter to Olmert, urging
> him to continue the military aggression on the Palestinians because
> "harming
> innocent Palestinians was a legitimate matter."
>
> Yesrael Rozin, another fanatic rabbi, was also quoted as saying that law
> of
> the Torah stipulates the killing of men, children, women, elderly,
> infants,
> and animals [of the enemy], the paper furthermore added.
>
> For his part, Safad rabbi Sholomo Elyaho underlined, "If we kill 100 of
> them
> but they refuse to halt this [firing of rockets] them we should kill 1000;
> and if we kill 1000 of them but they didn't stop, then we should kill
> 10000
> of them, and we must continue killing them even if they reach one million
> and despite the time spent in killing them".
>
> "The Psalms says "I should continue chasing my enemies and arrest them,
> and
> I won't cease till I finish them completely", the rabbi said according to
> the report.

>You yourself write that this are some fanatics, Alas some fanatics and
>Fundmenatalists are to be found everywhere , but those are not the
>Main stream nore most people ,,,
>Those Fundamenatl Fanatics don`t serve in the army ,,
>mirjam

Now you're trying to defuse the issue and dilute the facts as posted by
Heinrich. Facts you called him a liar over, you digusting old bitch. You
have yet to apologise to him for that.