• [ADCES] Marti,10 noiembrie,ora 19:30

    Miine la ora 19:30 va fi o noua prezentare ADCES.  Vor fi doua prezentari 1. Claudiu Constantin,https://claudiu.blog/ – despre cum e sa treci de la programator la primar 2. Andrei Ignat ( ok,eu …) despre ce ar trebui sa contina orice proiect de WebAPI. O gasiti la adresa https://www.meetup.com/Bucharest-A-D-C-E-S-Meetup/events/273919756/ Va astept!

  • Friday Links 396

    probot/configurer: Pull Requests for GitHub repository settings facebook/WebDriverAgent: A WebDriver server for iOS that runs inside the Simulator. How to use NuGet packages even with PowerShell projects with Visual Studio 2015 | rostacik.net Daily chart: Measuring the cost of living worldwide | The Economist ProxiFy – Automatic Proxy DLL Generation – CodeProject Howto: (Almost) Everything…

  • SideCarCLI- console to dot net tool

    To create a .NET Tool,please read first https://docs.microsoft.com/en-us/dotnet/core/tools/global-tools-how-to-create  Of course,all the  nuget additional formats for csproj apply: read https://docs.microsoft.com/en-us/dotnet/core/tools/csproj . Of course,the easy way to in Visual Studio to right click the project,properties,Package. This is the final xml from .csproj: <PropertyGroup>     <OutputType>Exe</OutputType>     <TargetFramework>netcoreapp3.1</TargetFramework>     <RuntimeIdentifiers>win-x64;linux-x64</RuntimeIdentifiers>     <PackAsTool>true</PackAsTool>     <ToolCommandName>sidecarcli</ToolCommandName>     <Title>SideCarCLI</Title>          <PackageOutputPath>./nupkg</PackageOutputPath>     <PackageId>sidecarcli</PackageId>     <Version>2020.111.104</Version>     <Authors>Andrei Ignat</Authors>     <Company>AOM</Company>     <Product>sidecarcli</Product>    …

  • SideCarCLI–looking at past and at future

    It was interesting to develop the project for command line same as for cloud design pattern,https://docs.microsoft.com/en-us/azure/architecture/patterns/sidecar . The problem were more about architecture organizing features to be easy understandable ,testing the application writing about   rather than  technical,about how to make the application. Other,it was a pretty simple project,that can be useful in  CI /…

  • SideCarCLI- diagram for how it is working

    Usually,a picture is better than words . So,I can explain how SideCarCLI works – or I can draw an image. The easiest way to draw an image is with  https://mermaidjs.github.io/ –  that has also a live editor at https://mermaid-js.github.io/mermaid-live-editor . The code for generating the picture is sequenceDiagram participant S as SideCar participant R as…

  • My GITHUB integrations / apps

    Github has integrations apps – means bots that automatically interacts with your repository. Those are the bots most used by me:   No Name Description 1 All Contributors https://github.com/settings/installations/7389985 Add contributions to the repository. Example at https://github.com/ignatandrei/netcoreblockly,see contributions added automatically 2 Img Bot https://github.com/settings/installations/310858 Automatically optimizes the images and creates a PR for them .…

  • Friday Links 395

    Google Cloud Platform Blog: Your favorite languages,now on Google App Engine timelion/FUNCTIONS.md at master · elastic/timelion Data | The World Bank timelion/FUNCTIONS.md at master · elastic/timelion Fasting for three days can regenerate entire immune system,study finds 2016 JavaScript Rising Stars Module Bundling and Webpack in Simple Terms AppSec Europe 2017: Web Application Security Essentials Troy…

  • SideCARCLI–Finish process after some time

    One of the feature is to let the original process execute just a limited amount of time. For this,I have defined an option var maxSeconds = app.Option(“-mS|–maxSeconds”,”max seconds for the StartApp to run”,CommandOptionType.SingleOrNoValue); and the code for waiting is Process p = new Process() { StartInfo = pi }; //code var res=p.WaitForExit(this.MaxSeconds); //code if (res)…

  • SideCarCLI – Line interceptors

    For the SideCarCLI I have the concept of Line Interceptors. That means for each line from the original program another program will be start . The json looks like this “LineInterceptors”: [ { “Name”: “WindowsStandardWindowsOutputInterceptor”, “Arguments”: “/c echo \”{site} {line}\””, “FullPath”: “cmd.exe”, “FolderToExecute”: null, “InterceptOutput”: true }, { “Name”: “NextInterceptor”, “Arguments”: “/c echo {line}”, “FullPath”:…

  • SideCarCLI-send arguments to interceptors

    For the SideCarCLI I want the interceptors ( line,finish,timer) to receive parts of the command line of the original application. But how to parse the command line and how to pass to the interceptors ?  RegEx to the rescue! I will let the user define the command line of the starting application and parse the…

I am ok , you are ok