Install .NET via the following script:
I advise to first do a dry run and to enable verbose mode to review if envvar DOTNET_INSTALL_DIR is set correctly:
Install .NET via the following script:
I advise to first do a dry run and to enable verbose mode to review if envvar DOTNET_INSTALL_DIR is set correctly:
| #!/usr/bin/env python | |
| import os | |
| import re | |
| import daemon | |
| import asyncore | |
| import smtpd | |
| class SimpleRelayService(smtpd.PureProxy): | |
| """Handles processing mail for relay""" |
| <?php | |
| // This file walks you through the most common features of PHP's SQLite3 API. | |
| // The code is runnable in its entirety and results in an `analytics.sqlite` file. | |
| // Create a new database, if the file doesn't exist and open it for reading/writing. | |
| // The extension of the file is arbitrary. | |
| $db = new SQLite3('analytics.sqlite', SQLITE3_OPEN_CREATE | SQLITE3_OPEN_READWRITE); | |
| // Errors are emitted as warnings by default, enable proper error handling. |
| <?php | |
| // This file walks you through the most common features of PHP's SQLite3 API. | |
| // The code is runnable in its entirety and results in an `analytics.sqlite` file. | |
| // Create a new database, if the file doesn't exist and open it for reading/writing. | |
| // The extension of the file is arbitrary. | |
| $db = new SQLite3('analytics.sqlite', SQLITE3_OPEN_CREATE | SQLITE3_OPEN_READWRITE); | |
| // Errors are emitted as warnings by default, enable proper error handling. |
In this Project i provide a simple example how to connect to a LDAP Server from IBM i. I added some Constants and Functions from the LDAP Headerfile provided by IBM, not all Functions are implemented in this example. The Serviceprogramm is written in Fixed Format RPGLE and uses the provided LDAP API written in C, which is included in the OS. The Documentation of the LDAP API can be found here
Thanks to @ScottKlement, who has published an example of a copybook on his site, which I have used as a guide. You can find his example here. Also thanks to @m1h43l for helping me with handling the null-terminated strings in the RPG Code.
| Run "services.msc" and find "Windows Search" then stop the service. | |
| Delete the Windows.edb file. (C:\ProgramData\Microsoft\Search\Data\Applications\Windows\Windows.edb) | |
| Click "Modify" in the Indexing Options panel and click "Delete and Rebuild" for the index. |
| // Based: Croy, Steve (2005) Display-attributes-made-simple/setcolor [Source code]. http://search400.techtarget.com/tip/Display-attributes-made-simple | |
| // -------------------------------------------------- | |
| // Procedure name: RtnDspAtr | |
| // Purpose: Return Display Attribute hex code that can be used on a | |
| // screen to set color, underline, or other attributes. | |
| // Returns: DSPATR hex value | |
| // Parameter: Color Value - Text representing a color 'GRN' (default) | |
| // other values: 'BLU' 'PNK' 'RED' 'TRQ' 'WHT' 'YLW' |
| ctl-opt nomain; | |
| ctl-opt Option(*Srcstmt:*Nodebugio:*NoUnRef) | |
| Debug( *Yes ) Bnddir('QUSAPIBD'); | |
| ********************************************************************** | |
| ********************************************************************** | |
| * Program Id: BL0100M01 | |
| * This program gets the latitude and longitude from the data | |
| * queues from java program JsonDataQueues and sends commands | |
| * to ping and shutdown the java app. | |
| ********************************************************************** |
Beast Mode is a custom chat mode for VS Code agent that adds an opinionated workflow to the agent, including use of a todo list, extensive internet research capabilities, planning, tool usage instructions and more. Designed to be used with 4.1, although it will work with any model.
Below you will find the Beast Mode prompt in various versions - starting with the most recent - 3.1