Iam having a hard time setting up the Oxygen Pro Mini. It does limited function on VST instruments but no DAW control. Have tried mapping myself but cannot figure it out. Does any one have a script that works?
I'd like to write a couple of scripts to extend Geany, but I can't find the documentation for it. I've looked at the half-dozen scripts you can download, but none of them do what I want, which is to do multiple finds and replaces quickly. Where can I find that information? (Or do I misunderstand the purpose of Mini-Script plug-in?)
Sometimes a few of mine becomes unresponsive, even when talking directly to them, and restarting seems to fix the problem. It would be great to create a script to send a restart command to all of them.
Why I created this script:
The BR1 mini is an excellent priced router, however it lacks out of box capability to connect to ic2 via wan or wwan (wifi as wan). You may not have pre-activated sims, or you may be deploying them in one region and shipping it to another. You may also not want to use cellular data just for the deployment.
I also wanted to be able to change variables during different deployments which makes it impractical to use a config file or the bulk config tool.
Log file attached: deployment.txt (2.1 KB)
script attached. remove .pdf it is a zip archive.deploy-mini-scripts.zip.PDF (1.9 MB)
script zip password is pepwave
Extract to a folder, and run the script from the folder.
usage:
deploymini STANDARD (Standard deployment include firmware upgrade)
deploymini NOFW (Standard install exiting early without FW upgrade)
deploymini GETSN (Just gets serial number and exits)
deploymini GETFW (Gets FW version and exits)
deploymini GETCELLULAR (Just gets cellular checks status and exits)
deploymini GETCELLULARICCIDONLY (Just gets cellular iccid and exits)
deploymini RESET (This would factory reset leaving current fw)
deploymini RESET-REVERT (This would factory reset and downgrade fw)
deploymini CELLRESET (Reboots only cellular module.)
A huge shout out to my friend John Scully @jmpfas from Pizza Cloud, that helped write the management scripts and spent countless hours helping test to perfection.
v2 of this script has been designed in house with a peplink poe switch, and the docking ports.
In the coming weeks I plan on releasing a community edition of this script, a single version to run on a raspberry pi.
Thank you peplink and frontier Us for your support!
Video, docking peplinks
Video, undocking peplinks
Video, screen recording pi peplink deployment management start __XHp7gvFE
Video, screen recording pi peplink deployment management finish (see cellular state)
In Mini Micro, you can set text.delimiter = "" and then print without line breaks as much as you like. But that's a Mini Micro thing, not a standard MiniScript thing. In standard MiniScript, currently, the best you can do is build up a string or list and then print it out all at once.
Many other languages have two print functions just to deal with this issue, usually called print and println. But I hate that. You'd be using println for the vast majority of cases, and that doesn't meet MiniScript standards of elegance. It's not even readily pronouncable!
MiniScript doesn't have variable-length parameter lists, nor named parameters. We're certainly not going to add them just for this, and we may well not add them ever; those features aren't particularly Mini. But we might want to add them someday; I can't be sure that will never happen.
Ignoring that issue, the obvious solution is to add a second (optional) parameter to print, which is the delimiter to use (thing to print after). This would default to char(13), which means "line break" (whatever that is on the host platform). But you could specify null or "" to avoid the usual line break. Or specify ", " if you want to print a bunch of things separated by commas, or char(9) for a tab, or whatever.
I had to skip several of the Rosetta Code tests because of this issue, as they specifically stated not to build up strings for the output. But then the Rosetta Code examples are very contrived, so whether it's ever an issue in a real situation, I'm not sure.
Having the optional parameter is probably the cleanest solution as you can ignore it if you don't need it, and also provides some flexibility for other solutions if other terminators can be specified. My only concern is that in isolation, the null at the end of the statement is quite unintuitive.
Basic does not include the \n if the end of the printed data ends in a comma or semi-colon.
print "no \n here",
print "but there is a \n here"
You could use the comma, but not the semi-colon, since semi-colon is a statement separator.
Note that the trailing comma still results in a space being printed at the end of the new line , i.e. it's equivalent to using Python 3.x end=" ". To suppress the space character as well, you can use:
__future__ is a pseudo-module which programmers can use to enable new language features which are not compatible with the current interpreter. Also, it needs to be the first line of code in your script.
Well it definitely would, because the asset includes several sample scenes that do exactly that. This includes the source code for this demo as well as a (slightly older/simpler) version of Robo Reindeer Rumble.
I have a request myself: if you are using MiniScript in a product, and there is any published article, blog post, press release, etc. about that product, could you please let me know? If it mentions MiniScript then I will want to include it in this wiki page, and eventually it may become a citation in Wikipedia.
Is there any chance you might eventually migrate ValMap away from the Dictionary type in C#?
I tried to set up some simple Unity bots controlled by miniscript (using the Asset Store version) and found it had regular major Garbage Collection hitches making it unsuitable for my concept. After some deep profiling I kept coming back to the ValMap use of Dictionary as the probable cause.
I wrote overloads to reuse existing Dictionary objects where possible, but this only reduced the frequency.
Unfortunately, when using Unity objects ValMap seems like the only suitable option for Vector3 and Quaternion data exchanges.
For ValWrapper, look at the source code to the Farmtronics plugin, specifically the very bottom of M1API.cs at Farmtronics/Farmtronics/M1/M1API.cs at main JoeStrout/Farmtronics GitHub . Mini Micro uses the same ValWrapper to wrap things like AudioClip and Texture2D (presented to the user as Sound and Image, respectively).
Welcome to this week's Roundup, and welcome to the festive season! Here's what's been happening in MiniScript this week.There are a couple of major events happening for MiniScript coders in line with the season. The first is the Advent of Code...
Welcome to Issue #9 of MiniScript Roundup. It was my last week at my real job for the year, so I've been fully preoccupied there, but have a few things of note in the MiniScript world this week.I reported last week the annual Robo Reindeer Rumble...
Welcome to the Christmas edition of this weeks MiniScript News. It's been a fairly quiet week as I'm sure everyone is busy with holiday preparations, including me, so let's get to it.Big news of the week is an amazing Christmas present from Marc...
Welcome to the final MiniScript Roundup for 2023. I hope you all had a wonderful Christmas. Despite the holidays, there still been some MiniScript activity.Joe has put up his release candidate for Mini Micro 1.2.1 in Discord, for testing. So...
Welcome to this weeks round up of MiniScript NewsSeb has written a Mini Micro Web Runner CLI blog post on his Mini Micro Web Runner project about powering it with some CLI tools. This is rapidly becoming a full fledged environment for web...
Hi everyone. I take a week off and things go crazy! It's going to be a big one, so lets go!Trey Tomes is powering through with all sorts of interesting things, so I'll just list them all here for you to check out.Micro-Hack updates, episode...
Welcome to another week of MiniScript NewsThe Trey Tomes show continues as he's been spitting out a bunch of new Mini Micro videos as he works on various components of his Micro hack game. I'll just list all the YouTube links here, check out the...
I can't believe one month of 2024 is already gone. I'm juggling too many projects at the moment, and there's just not enough hours in the day to work on all of them. So time to get moving with this weeks MiniScript news.Trey Tomes is powering on...
No mucking about today, on with this weeks MiniScript news...Starting this week off is a great article from Joe providing an overview of all the Language Ports of MiniScript, with at least six different full or partial language versions so far. ...
Welcome to another week of MiniScript news. Let's get to it.Episode #2, Attack of the Cl..... oh wait, wrong saga... Episode #2 of Joe's Base Defender Live Coding session has been released. You too, can watch a grown make up stuff as he goes...
Another week gone already? Where does the time go? Here's the week's MiniScript news.Big news of the week is the release of Command-Line MiniScript 1.3. This includes a very useful exec function to call system commands from within MiniScript. Be...
Welcome to another week of MiniScript news, or actually another two weeks news, as I was busy with family last weekend. I have another busy weekend this weekend, but not before I get some news out. I think it's the Joe Show this edition, but let's...
Secondly, if it is possible to load multiple sequences scripts directly onto the Maestro, can the script be modified to execute for example repeat walk1 sequence 5 times, then turn1 sequence 2 times etc? or does this need to be controlled from the micro controller which leads me to my final query.
3a8082e126