Search found 1546 matches

by BruceSteers
Saturday 13th April 2024 11:19pm
Forum: Lounge
Topic: Playground is broken
Replies: 8
Views: 403

Re: Playground is broken

How complex is the playground code? does it need a docker to be secure? I made something similar http://138.68.116.47/cgi-bin/Scripter.gambas It can use gbs3 or Eval and forbids use of Shell and Exec with only this much code.. ' Gambas class file Export Public p As Process Public Sub WebButton1_Clic...
by BruceSteers
Saturday 13th April 2024 10:28pm
Forum: Lounge
Topic: Playground is broken
Replies: 8
Views: 403

Re: Playground is broken

I think it's broken again. Do the Run/Play buttons on the gambas wiki also use the same system as that's showing the same message... "docker start" requires at least 1 argument. See 'docker start --help'. Usage: docker start [OPTIONS] CONTAINER [CONTAINER...] Start one or more stopped cont...
by BruceSteers
Saturday 13th April 2024 2:21pm
Forum: Beginners
Topic: Background colours in TextEditor
Replies: 3
Views: 222

Re: Background colours in TextEditor

Thank you! You're welcome. You'll see you can set Color , Bold, and many other properties for certain types of text that will show when a TextEditor.Highlight mode like "gambas" or "sh" is used. And that's pretty cool. I have it my ScripEd text editor I can fully customize every...
by BruceSteers
Saturday 13th April 2024 11:52am
Forum: Beginners
Topic: Background colours in TextEditor
Replies: 3
Views: 222

Re: Background colours in TextEditor

The TextEditor uses a TextHighlighterTheme that overrides basic Control properties like Background/Foreground. https://gambaswiki.org/wiki/comp/gb.form.editor/texteditor/theme https://gambaswiki.org/wiki/comp/gb.highlight/texthighlightertheme Change the Background like this.... TextEditor1.Theme[&qu...
by BruceSteers
Saturday 13th April 2024 12:53am
Forum: General
Topic: [solved] can not use gambas repoes to get update
Replies: 15
Views: 513

Re: can not use gambas repoes to get update

grayghost4 wrote: Saturday 13th April 2024 12:25am It did not do that on my Debian system ... I had to make the directory my self
Well that is odd, it works okay here on Deb Bookworm :-\

Maybe it works now i have changed it?

Respects
by BruceSteers
Saturday 13th April 2024 12:14am
Forum: General
Topic: [solved] can not use gambas repoes to get update
Replies: 15
Views: 513

Re: can not use gambas repoes to get update

grayghost4 wrote: Friday 12th April 2024 11:51pm that still does not create the directory ...gambas-stable
It should do!
The last argument of git clone selects the directory name to create and clone into...

git clone --depth=1 https://gitlab.com/gambas/gambas.git --branch=stable gambas-stable
by BruceSteers
Friday 12th April 2024 9:22pm
Forum: General
Topic: [solved] can not use gambas repoes to get update
Replies: 15
Views: 513

Re: can not use gambas repoes to get update

The first command should be : mkdir $HOME/gambas-stable i was thinking along the lines of letting the user choose directory so i changed it to not cd ANY folder but just make the source folder in the working terminal dir. Now it looks more like this... # Run the following commands in a terminal (co...
by BruceSteers
Thursday 11th April 2024 8:29pm
Forum: General
Topic: [solved] can not use gambas repoes to get update
Replies: 15
Views: 513

Re: can not use gambas repoes to get update

Hmm actually it might not lol
I will test it later if using the whole path as a git argument works or not?

I will change it to exclude $HOME in git Args.

Cheers 😁

Glad you figured it out 😊
by BruceSteers
Thursday 11th April 2024 8:27pm
Forum: General
Topic: [solved] can not use gambas repoes to get update
Replies: 15
Views: 513

Re: can not use gambas repoes to get update

Aah yes the first lines of that web page downloads source to that folder. git clone --depth=1 https://gitlab.com/gambas/gambas.git --branch=stable $HOME/gambas-stable cd $HOME/gambas-stable If you already had the source it would have worked if you ran the script "cd" from the existing sour...
by BruceSteers
Thursday 11th April 2024 8:32am
Forum: General
Topic: Suggestions for checking that all array values are unique
Replies: 7
Views: 267

Re: Suggestions for checking that all array values are unique

If you want the check to fail on the first detection of a duplicate, it may be better to do the check with a loop/repeat rather than a For/next so that it drops as soon as it fails rather than running through the entire array. It may shave off some more time in the process. It does exit on first de...