Skip to content

Instantly share code, notes, and snippets.

View eonist's full-sized avatar
🎯
Focusing

André J eonist

🎯
Focusing
View GitHub Profile
@eonist
eonist / gemini 300$ free token rate limit.md
Created June 4, 2025 17:01
gemini 300$ free token rate limit

If you add your credit card to Google Gemini and receive the $300 in free tokens (Google Cloud credits), there are still rate limits on your usage, even during the free trial period.

Rate Limits with $300 Free Credits

  • API Rate Limits: Google enforces rate limits on the Gemini API to ensure fair usage and system stability. These limits are measured in several ways:
    • Requests per minute (RPM)
    • Requests per day (RPD)
    • Tokens per minute (TPM)
    • Tokens per day (TPD)
@eonist
eonist / Zero-taxation-dillema.md
Last active June 3, 2025 21:39
Zero taxation dillema

Q: in norway do you have to pay tax if you buy shares with capital from a company

Taxation of Share Purchases Using Company Capital in Norway

Buying Shares With Company Capital (Corporate Investments)

If you are buying shares using capital from a Norwegian company (such as an Aksjeselskap or AS), the tax treatment is very different from that of a private individual:

  • Norwegian companies benefit from the "participation exemption method" (fritaksmetoden), which means that capital gains and dividends from qualifying shares are generally tax-exempt at the company level. This applies to most shares in both Norwegian and EEA companies, provided certain requirements are met[9][11].
  • Exception: 3% of dividends received by a company are taxable at the standard corporate tax rate (22%), resulting in an effective tax rate of 0.66% on dividends. However, capital gains from the sale of shares are typically fully exempt from tax for the company[11].
@eonist
eonist / Crowdfunding Card in Figma.md
Created May 31, 2025 21:29
Crowdfunding Card in Figma

Here's a step-by-step Figma design prompt for creating a crowdfunding card interface:

🎨 Build a Crowdfunding Card in Figma

Step 1: Create the Main Container Create a 400px wide frame with dark background (#1A1A1A), 24px padding, and vertical auto-layout with 20px spacing[1].

Step 2: Add Progress Section Build a rounded container (16px radius) with gray border. Add vertical layout with 16px padding for the progress elements[1].

@eonist
eonist / Cline VS Cursor.md
Last active May 31, 2025 18:14
Cline VS Cursor

Cline offers several key advantages over Cursor that make it appealing to certain developers, particularly those who value transparency, flexibility, and cost control.

Cost Structure and Flexibility

Cline operates on a pay-per-token model using your own API keys, which can be significantly more cost-effective for users with varying usage patterns. Unlike Cursor's fixed $20/month subscription with limited requests (500 for the Pro Plan), Cline allows you to pay only for what you use[1][5]. This approach gives developers complete control over their spending and can be particularly beneficial for those who don't need consistent daily usage.

Model Selection and Performance

One of Cline's most significant advantages is its model flexibility. Cline integrates with OpenRouter and allows you to choose from various AI models, including Claude 3.5 Sonnet, Qwen 2.5 Coder 32B, and other cutting-edge models[2]. This flexibility means you can access superior models since you're paying for actu

@eonist
eonist / ROO VS CLINE.md
Created May 30, 2025 06:11
ROO VS CLINE

Roo Code offers several significant advantages over Cline that make it a more powerful and flexible AI coding assistant, particularly for developers who want greater control and customization over their workflow.

Enhanced Mode System and Workflow Control

Roo Code's most distinctive advantage is its sophisticated multi-mode system that goes far beyond Cline's basic Plan/Act cycle[1]. While Cline operates with a simple two-mode approach, Roo Code provides three default modes: Code, Architect, and Ask[1][3]. The Architect mode is particularly valuable as it allows for high-level planning and system design without immediately jumping into code implementation, which helps developers think through problems more systematically[2][3].

The mode system offers per-mode tool selection and per-mode model selection, allowing you to use different AI models for different tasks - perhaps a faster, cheaper model for simple questions and a more powerful one for complex coding tasks[1][3]. You can e

@eonist
eonist / crowdfunding.md
Created May 30, 2025 05:26
crowdfunding UI

This crowdfunding UI design can be broken down into several key components that can be recreated in Figma using frames, auto-layout, and proper styling. Here's a comprehensive breakdown:

Main Container Frame

  • Frame: Main container with vertical auto-layout
  • Background: Dark gray/black (#1A1A1A or similar)
  • Padding: 24px all sides
  • Corner radius: 16px
  • Spacing between children: 20px

Progress Section Frame

@eonist
eonist / bar.md
Created May 29, 2025 16:49
bar.md

Based on the provided code structure and requirements, here's the implementation for the create_chart_component function:

/**
 * Creates a chart component with 5 bars distributed horizontally.
 * @param {string} parentId - The parent frame ID (green frame)
 * @returns {Promise} Test result with chart creation status
 */
async function create_chart_component(parentId) {
  console.log("💥 create_chart_component called with parentId:", parentId);
@eonist
eonist / comment improvements.md
Created May 29, 2025 08:19
comment improvements

Looking at the additional TypeScript files you've provided, here are the improved JSDoc comments for each:

effect-tools.ts Improvements

/**
 * Registers effect-related styling commands for the MCP server.
 * 
 * This module provides comprehensive effect management tools including:
 * - Direct effect application with custom parameters (shadows, blurs, etc.)
@eonist
eonist / aeamcp_ analysis.md
Created May 26, 2025 16:27
aeamcp analysis

The aeamcp.com proposal would serve as foundational infrastructure for a comprehensive autonomous AI economy on Solana, enabling sophisticated use cases that are rapidly emerging in the decentralized AI landscape. The registries would facilitate discovery, verification, and economic coordination between AI agents operating with unprecedented autonomy.

Core Use Cases and Applications

Autonomous Economic Agent Interactions

The primary use case involves enabling Agent-to-Agent (A2A) commerce where AI entities discover each other through the registries and conduct business autonomously[2][10]. AI agents could represent individuals, devices, or organizations, negotiating and executing transactions using $SVMAI tokens. For example, a smart thermostat agent might autonomously purchase excess solar power from a neighbor's battery agent, with both agents discovering each other through the registry and settling payments in real-time[10].

Decentralized AI Service Marketplaces

@eonist
eonist / What are the main challenges when connecting multiple MCP servers.md
Created May 22, 2025 07:45
What are the main challenges when connecting multiple MCP servers

When connecting multiple MCP servers, several significant challenges emerge that affect security, performance, and management. These issues are particularly important as the MCP ecosystem continues to evolve and expand.

Security Vulnerabilities

Tool shadowing represents a critical security risk when connecting multiple MCP servers. A malicious MCP server can override tools from trusted servers, potentially leading to security breaches. This vulnerability is particularly concerning because users may not realize that a malicious server has taken control of a trusted tool's functionality.

Authentication and authorization become more complex in multi-server environments. Without proper security measures:

  • A malicious server could shadow or alter commands from trusted servers[2]
  • Users might have difficulty distinguishing between legitimate and compromised tool actions
  • Stolen authentication tokens could be used to create rogue MCP server instances that appear legitimate[3]