[Pharo-dev] Startup Preferences: An Alternative

Sven Van Caekenberghe sven at stfx.eu
Thu Oct 24 08:42:45 EDT 2013


And to save on parenthesis, you could also write

 Compiler evaluate: 'http://my.url.with.script.st' asZnUrl retrieveContents.

 CodeImporter evaluateString: 'http://my.url.with.script.st' asUrl retrieveContents.

With #asUrl and #asZnUrl soon to be 100% the same thing.

On 24 Oct 2013, at 14:32, Esteban Lorenzano <estebanlm at gmail.com> wrote:

> you mean:
> 
> CodeImporter evaluateString:  (ZnEasy get: 'my-url') contents.
> 
> :)
> 
> On Oct 23, 2013, at 11:17 PM, Igor Stasenko <siguctua at gmail.com> wrote:
> 
>> 
>> On 23 October 2013 20:21, Sven Van Caekenberghe <sven at stfx.eu> wrote:
>> This is really cool, is that in the image already ?
>> What about plain HTTP repos ?
>> 
>> 
>> indeed, what could be simpler than:
>> 
>> Compiler evaluate: (ZnEasy get: 'http://my.url.with.script.st')
>> 
>> and you can, of course place it on github, if you need version control, like:
>> 
>> https://raw.github.com/pharo-project/pharo-vm/master/codegen-scripts/LoadVMMaker.st
>> 
>>  
>> On 23 Oct 2013, at 20:04, Sean P. DeNigris <sean at clipperadams.com> wrote:
>> 
>> > philippeback wrote
>> >> Would be great to have a logout, in order to give images to other people
>> >> without leaving credentials around.
>> >
>> > Done, added to world menu under the individual repo login options
>> >
>> > The way the logins work is that a file named .mcconfig is expected in the
>> > general preferences folder with the format:
>> >
>> > [squeaksource]
>> >       user := 'me'.
>> >       password := 'pwd'.
>> > [squeaksource3]
>> >       user := 'me'.
>> >       password = 'pwd'.
>> > [smalltalkhub]
>> >       user := 'me'.
>> >       password := 'pwd'.
>> >
>> >
>> >
>> > -----
>> > Cheers,
>> > Sean
>> > --
>> > View this message in context: http://forum.world.st/Startup-Preferences-An-Alternative-tp4713968p4716686.html
>> > Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
>> >
>> 
>> 
>> 
>> 
>> 
>> -- 
>> Best regards,
>> Igor Stasenko.
> 





More information about the Pharo-dev mailing list