Skip to content

Instantly share code, notes, and snippets.

View d-oit's full-sized avatar
💭
I may be slow to respond.

Dominik Oswald d-oit

💭
I may be slow to respond.
View GitHub Profile
@d-oit
d-oit / gh-labels-creator.sh
Last active April 17, 2026 13:15
Create Github Labels with GitHub CLI (gh)
#!/bin/bash
# Check if GitHub CLI and jq are installed
if ! command -v gh &> /dev/null || ! command -v jq &> /dev/null; then
echo "Error: GitHub CLI (gh) and jq are required."
echo "Install gh: https://cli.github.com/"
echo "Install jq: https://stedolan.github.io/jq/"
exit 1
fi
@jlia0
jlia0 / agent loop
Last active April 19, 2026 06:47
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@winterlimelight
winterlimelight / EncryptedConfiguration.cs
Last active February 16, 2018 17:41
appsettings encrypted provider
using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
using System.Text.RegularExpressions;
using Newtonsoft.Json.Linq;
using Microsoft.Extensions.Configuration;
namespace Settings
{
@vai
vai / web-rewrite-sample.config
Created October 27, 2015 17:38
Sample Angular rewrites and reverse proxy rules for IIS and Application Request Routing
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<httpProtocol>
<customHeaders>
<remove name="X-Powered-By" />
<add name="Access-Control-Allow-Credentials" value="true" />
<add name="Access-Control-Allow-Methods" value="POST,OPTIONS,GET,PUT" />
<add name="Access-Control-Allow-Headers" value="Cache-Control,Pragma,Origin,Authorization,Content-Type,DNT,X-Requested-With,Accept,Accept-Language,Accept-Encoding" />
</customHeaders>