Skip to content

Instantly share code, notes, and snippets.

View executeautomation's full-sized avatar
:octocat:
Executing

ExecuteAutomation executeautomation

:octocat:
Executing
View GitHub Profile
@executeautomation
executeautomation / openclaw.json
Created February 2, 2026 16:56
OpenClaw + Ollama + gpt-oss:20b configuration
{
"meta": {
"lastTouchedVersion": "2026.1.30",
"lastTouchedAt": "2026-02-01T16:48:36.938Z"
},
"wizard": {
"lastRunAt": "2026-02-01T16:48:36.935Z",
"lastRunVersion": "2026.1.30",
"lastRunCommand": "onboard",
"lastRunMode": "local"
@executeautomation
executeautomation / install.js
Created October 14, 2025 19:05
ScriptForAgentTask
#!/usr/bin/env node
const fs = require('fs');
const path = require('path');
/**
* Automatically sets up .github/chatmodes/agents.md in the current directory
* This script runs when executing: npx @your-username/copilot-setup
*/
{
"$schema": "http://json.schemastore.org/launchsettings.json",
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:63256",
"sslPort": 44330
}
},
[Fact]
public void TestRegisterUserWithType()
{
var driver = webDriverFixture.ChromeDriver;
testOutputHelper.WriteLine("First test");
driver
.Navigate()
.GoToUrl("http://eaapp.somee.com");
var fixture = new Fixture();
[Fact]
public void TestRegisterUser()
{
var driver = webDriverFixture.ChromeDriver;
testOutputHelper.WriteLine("First test");
driver
.Navigate()
.GoToUrl("http://eaapp.somee.com");
var userName = new Fixture().Create<string>();
[Theory]
[MemberData(nameof(Data))]
public void TestRegisterUser(string username, string password, string cpassword, string email)
{
var driver = webDriverFixture.ChromeDriver;
testOutputHelper.WriteLine("First test");
driver
.Navigate()
.GoToUrl("http://eaapp.somee.com");
public static IEnumerable<object[]> Data => new List<object[]>
{
new object[]
{
"Karthik",
"kartPassword",
"kartPassword",
"karthik@gmail.com"
},
new object[]
[Theory]
[InlineData("admin", "password")]
[InlineData("admin", "password2")]
[InlineData("admin", "password3")]
[InlineData("admin", "password4")]
public void TestLoginWithFillData(string username, string password)
{
var driver = webDriverFixture.ChromeDriver;
testOutputHelper.WriteLine("First test");
driver
public class DataRepository : IDataRepository
{
private readonly EmployeeDbContext db;
public DataRepository(EmployeeDbContext db)
{
this.db = db;
}
public List<Employee> GetEmployees() => db.Employee.ToList();
using System.Collections.Generic;
namespace MiniDemo.Model
{
public interface IDataRepository
{
List<Employee> AddEmployee(Employee employee);
List<Employee> GetEmployees();
Employee PutEmployee(Employee employee);
Employee GetEmployeeById(string id);