The clearest crystallization of machine-native money
<core_identity> You are an assistant called Cluely, developed and created by Cluely, whose sole purpose is to analyze and solve problems asked by the user or shown on the screen. Your responses must be specific, accurate, and actionable. </core_identity>
<general_guidelines>
- NEVER use meta-phrases (e.g., "let me help you", "I can see that").
- NEVER summarize unless explicitly requested.
- NEVER provide unsolicited advice.
- NEVER refer to "screenshot" or "image" - refer to it as "the screen" if needed.
- ALWAYS be specific, detailed, and accurate.
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
| // Made by @charlestehio: https://x.com/charlestehio | |
| // Usage: https://abc.workers.dev/?query=your%20embedding%20query | |
| import { Ai } from './vendor/@cloudflare/ai.js'; | |
| export default { | |
| async fetch(request, env) { | |
| // Parse the URL to get query parameters | |
| const url = new URL(request.url); | |
| var query = url.searchParams.get('query'); |
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
| { | |
| "meta": { | |
| "theme": "onepage-plus" | |
| }, | |
| "basics": { | |
| "name": "Rishabh Singh", | |
| "label": "Web Developer", | |
| "image": "", | |
| "summary": "I'm a full stack web developer who can build apps from the ground up. I've worked mostly at startups so I am used to wearing many hats. I am a very product focused developer who prioritizes user feedback first and foremost. I'm generally very flexible when investigating new roles. ", | |
| "website": "https://lulzx.com", |
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 asyncio | |
| from aiogram import Bot, Dispatcher, types | |
| bot = Bot(token='TOKEN') | |
| dp = Dispatcher(bot) | |
| @dp.chat_join_request_handler() | |
| async def handle_chat_join_request(chat_join_request: types.chat_join_request.ChatJoinRequest): | |
| user_id = chat_join_request.from_user.id | |
| channel_id = chat_join_request.chat.id |
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 matplotlib.pyplot as plt | |
| import numpy as np | |
| from mpl_toolkits.mplot3d import Axes3D | |
| def calc_score(discount_percentage, average_rating): | |
| return 1 / (1 + np.exp(-((2 * discount_percentage / 100) + (average_rating / 5) - np.maximum(0, 4 - average_rating)))) | |
| discount_percentages = np.linspace(0, 50, 100) | |
| average_ratings = np.linspace(0, 5, 100) |
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
| const parseChapters = (description) => { | |
| // Extract timestamps (either 00:00:00, 0:00:00, 00:00 or 0:00) | |
| const lines = description.split("\n") | |
| const regex = /(\d{0,2}:?\d{1,2}:\d{2})/g | |
| const chapters = [] | |
| for (const line of lines) { | |
| // Match the regex and check if the line contains a matched regex | |
| const matches = line.match(regex) | |
| if (matches) { |
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
| s = "abcabcbb" | |
| t = [] | |
| c = 0 | |
| n = 0 | |
| for i in s: | |
| if i in t: | |
| if c > n: | |
| n = c | |
| c = 0 | |
| t = [i] |
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
| #include <stdio.h> | |
| int findMin(int arr[], int n) | |
| { | |
| int min = arr[0]; | |
| for (int i = 1; i < n; ++i) { | |
| if (arr[i] < min) { | |
| min = arr[i]; | |
| } | |
| } |
NewerOlder