Skip to content

Instantly share code, notes, and snippets.

@Emmunaf
Emmunaf / agent loop
Created March 10, 2025 07:34 — forked from jlia0/agent loop
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
@Emmunaf
Emmunaf / AppConfig.java
Created May 13, 2022 16:54 — forked from piyusht007/AppConfig.java
Scheduling a periodic task using ScheduledExecutorService.
@Configuration
public class AppConfig {
@Bean
public ScheduledExecutorService getScheduledExecutorService() {
return Executors.newSingleThreadScheduledExecutor();
}
}
@Emmunaf
Emmunaf / clr_via_native.c
Created December 20, 2019 14:46 — forked from xpn/clr_via_native.c
A quick example showing loading CLR via native code
#include "stdafx.h"
int main()
{
ICLRMetaHost *metaHost = NULL;
IEnumUnknown *runtime = NULL;
ICLRRuntimeInfo *runtimeInfo = NULL;
ICLRRuntimeHost *runtimeHost = NULL;
IUnknown *enumRuntime = NULL;
LPWSTR frameworkName = NULL;