This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>AI & Tech Startup Directory</title> | |
| <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet"> | |
| <style> | |
| .dark-mode { | |
| background-color: #1F2937; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import anthropic | |
| import os | |
| import sys | |
| from termcolor import colored | |
| from dotenv import load_dotenv | |
| class ClaudeAgent: | |
| def __init__(self, api_key=None, model="claude-3-7-sonnet-20250219", max_tokens=4000): | |
| """Initialize the Claude agent with API key and model.""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Conditionals in JSX | |
| // https://vasanthk.gitbooks.io/react-bits/content/patterns/18.conditionals-in-jsx.html | |
| // Note: Look at first version of code with TERNARY operator, huge Congitive load , so will cost Brain CPU cycles, Tax on Productivity .. | |
| // My favorite, EARLY Returns to the Rescue ... | |
| // alternatively simply use early returns | |
| const sampleComponent = () => { | |
| const basicCondition = flag && flag2 && !flag3; | |
| if (!basicCondition) return <p>Derp</p>; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| all_tags = []; // init with empty array ; accuumulate all selcted tags here | |
| // ------------------------ | |
| get_all_selected_tags = function (tag) { | |
| // if tag already exists in the list, remove it, otherwise add it to list | |
| if (all_tags.includes(tag)) { | |
| all_tags = all_tags.filter((item) => item != tag); // remove tag | |
| } else { | |
| all_tags.push(tag); // add tag | |
| } | |
| console.log("all tags:", app.all_tags); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Source: https://gist.github.com/vfarcic/c49bd483d350187c9afdf7a6f646ef7b | |
| ################################################## | |
| # Mastering Kubernetes: Dive into Workloads APIs # | |
| ################################################## | |
| # Additional Info: | |
| # - Kubernetes: https://kubernetes.io | |
| # - N/A |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Source: https://gist.github.com/vfarcic/77c63cede031951654d5fea5ce0acb43 | |
| ######################################################################################### | |
| # Say Goodbye to Makefile - Use Taskfile to Manage Tasks in CI/CD Pipelines and Locally # | |
| ######################################################################################### | |
| # Additional Info: | |
| # - Task: https://taskfile.dev | |
| # - Dagger: The Missing Ingredient for Your Disastrous CI/CD Pipeline: https://youtu.be/oosQ3z_9UEM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Source: https://gist.github.com/vfarcic/77c63cede031951654d5fea5ce0acb43 | |
| ######################################################################################### | |
| # Say Goodbye to Makefile - Use Taskfile to Manage Tasks in CI/CD Pipelines and Locally # | |
| ######################################################################################### | |
| # Additional Info: | |
| # - Task: https://taskfile.dev | |
| # - Dagger: The Missing Ingredient for Your Disastrous CI/CD Pipeline: https://youtu.be/oosQ3z_9UEM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/react/17.0.2/umd/react.development.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/react-dom/17.0.2/umd/react-dom.development.js"></script> | |
| <!---this is used to compile on run time---> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/6.26.0/babel.min.js"></script> | |
| </head> | |
| <body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 'use client'; // needed if using Next.js 13 | |
| // This page will demonstrate various ways for filtering and displaying an ARRAY of items. | |
| import React, { useState } from 'react'; | |
| import { SegmentedControl } from '@mantine/core'; | |
| const sportPersonList = [ | |
| { id: 1, name: 'LeBron James', category: 'Basketball' }, | |
| { id: 2, name: 'Serena Williams', category: 'Tennis' }, |
NewerOlder