Skip to content

Instantly share code, notes, and snippets.

View CodeLeom's full-sized avatar
🎯
Building

Ayodele Aransiola CodeLeom

🎯
Building
View GitHub Profile
@CodeLeom
CodeLeom / GmailToSheet.js
Created March 1, 2024 20:03
This is a demo of a simple appScript to get an email message and push the data into a google sheet file
function logEmailsToSheet() {
// Specify the subject line to search for in Gmail
var query = 'subject:"Feedback Submission"';
// Access the active spreadsheet and the first sheet
var sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
// Search Gmail with the given query
var threads = GmailApp.search(query);
for (var i = 0; i < threads.length; i++) {
var messages = threads[i].getMessages();
@CodeLeom
CodeLeom / beautiful.rest.api.docs.in.markdown.md
Created October 7, 2024 12:53 — forked from azagniotov/beautiful.rest.api.docs.in.markdown.md
Example to create beautiful REST API docs in Markdown, inspired by Swagger API docs.
@CodeLeom
CodeLeom / dockerSheet.md
Last active October 15, 2024 21:59
Docker cheat sheet

Docker Cheat Sheet for Developers

1. Basic Docker Commands

  • docker --version: Check Docker version.
  • docker help: Show Docker commands and options.
  • docker info: Display system-wide information about Docker.

2. Images

  • docker images: List all local images.
@CodeLeom
CodeLeom / push.md
Created June 10, 2025 13:03
how to enable push notification on electron

Integrate Push notification via Firebase Cloud Messaging (FCM) or WebSocket

Firebase Cloud Messaging (FCM)

Use electron-push-receiver

npm install electron-push-receiver
@CodeLeom
CodeLeom / AGENT.𝗺𝗱
Last active June 22, 2026 23:20
Best practices and workflows to use with an AI agent on any project
## Workflow Orchestration
### 1. Plan Mode Default
- Enter plan mode for ANY non-trivial task (3+ steps or architectural decisions)
- If something goes sideways, STOP and re-plan immediately
- Don't keep pushing.
- Use plan mode for verification steps, not just building
- Write detailed specs upfront to reduce ambiguity
### 2. Subagent Strategy