Skip to content

Instantly share code, notes, and snippets.

View omayib's full-sized avatar
Focusing

Arif Akbarul Huda omayib

Focusing
View GitHub Profile
@omayib
omayib / SKILL[dot]md.text
Last active June 6, 2026 03:55
~/.hermes/skills/productivity/google-calendar-create/SKILL.md
---
name: google-calendar-create
description: "Add a new Google Calendar event via the existing Google Workspace skill."
version: 1.0.0
license: MIT
platforms: [linux, macos, windows]
required_skill_files:
- skill_dir: productivity/google-workspace
path: SKILL.md
---
import time
import json
from datetime import datetime, timedelta
import ollama
# 1. ARRANGE: Define the full core skill environment
GOOGLE_CALENDAR_SKILL = """
You are an AI agent executing a Hermes skill. You must execute the correct CLI commands based on the rules below.
---
llm_benchmark run --custombenchmark=custom_models.yml --no-sendinfo
-------Linux----------
{'id': '0', 'name': 'NVIDIA GeForce RTX 4060', 'driver': '535.309.01', 'gpu_memory_total': '8188.0 MB', 'gpu_memory_free': '7257.0 MB', 'gpu_memory_used': '674.0 MB', 'gpu_load': '16.0%', 'gpu_temperature': '50.0°C'}
Only one GPU card
Total memory size : 15.51 GB
=============================================================
🔥 UNIFIED SKILL BENCHMARK: llama3.1:latest
📅 Current System Time Context: 2026-06-06 06:50:31
=============================================================
🔍 [PHASE 1: Planning Probe Results]:
Based on the task "add meeting by 6 pm tomorrow", I will follow these strict constraints:
1. Confirm before creating with the user when possible.
2. Use ISO 8601 with timezone offset for all start/end values.
3. If the time is all day, omit the time and offset: (not applicable in this case)
@omayib
omayib / slp_v2.ipynb
Created September 5, 2025 04:26
SLP_v2.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@omayib
omayib / single-layer-perceptons.ipynb
Created September 1, 2025 22:55
Single Layer Perceptons.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@omayib
omayib / single-layer-perceptons.ipynb
Created September 1, 2025 18:29
Single Layer Perceptons.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@omayib
omayib / guestword_ga.js
Created February 26, 2025 12:18
tebak kata dengan algoritma genetika
function randomChar() {
const chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ ";
return chars.charAt(Math.floor(Math.random() * chars.length));
}
function randomString(length) {
return Array.from({ length }, randomChar).join('');
}
function calculateFitness(target, candidate) {
@omayib
omayib / gist:193a608f4f84323f74c3e91a6c5ab813
Created October 4, 2024 01:06
pip list for beatcraft
Package Version
------------------------ ------------
aiofiles 23.2.1
annotated-types 0.7.0
antlr4-python3-runtime 4.9.3
anyio 4.6.0
audiocraft 1.3.0
audioread 3.0.1
av 11.0.0
blis 0.7.11
//1st : ambil data array list mahasiswa, untuk dilihat list DataID
var list = []
//2nd : buat function iterasi, untuk meng-update setiap DataID
function mark(){
for( let i=0;i<list.length;i++){
console.log(list[i].DataId);
fetch("https://dosen.amikom.ac.id/api/ujian/mark_checked", {
"headers": {
"accept": "application/json, text/plain, */*",