Last updated
April 7, 2025
- Clone disler/aider-mcp-server:
git clone git@github.com:disler/aider-mcp-server.git- Install dependencies using
uv:
| """ | |
| The most atomic way to train and run inference for a GPT in pure, dependency-free Python. | |
| This file is the complete algorithm. | |
| Everything else is just efficiency. | |
| @karpathy | |
| """ | |
| import os # os.path.exists | |
| import math # math.log, math.exp |
Last updated
April 7, 2025
git clone git@github.com:disler/aider-mcp-server.gituv:| if (new URLSearchParams(window.location.search).get('portal')) { | |
| // <create start portal> | |
| // Create portal group to contain all portal elements | |
| const startPortalGroup = new THREE.Group(); | |
| startPortalGroup.position.set(SPAWN_POINT_X, SPAWN_POINT_Y, SPAWN_POINT_Z); | |
| startPortalGroup.rotation.x = 0.35; | |
| startPortalGroup.rotation.y = 0; | |
| // Create portal effect |
@BotFather/newbot and hit SendDone! Congratulations on your new bot. You will find it at t.me/new_bot.
| import { useCallback, useEffect, useRef, useState } from "react"; | |
| interface UseUndoHook<T> { | |
| value: T; | |
| onChange: (newValue: T) => void; | |
| undo: () => void; | |
| redo: () => void; | |
| clear: () => void; | |
| canUndo: boolean; | |
| canRedo: boolean; |
Content :
| // Inspired by https://github.com/Iku/Google-Forms-to-Discord | |
| const BOT_API = "YOUT_BOT_API"; | |
| const CHAT_ID = "CHAT_ID"; | |
| function onSubmit(e) { | |
| var form = FormApp.getActiveForm(); | |
| var allResponses = form.getResponses(); | |
| var latestResponse = allResponses[allResponses.length - 1]; | |
| var response = latestResponse.getItemResponses(); | |
| var result = ""; |
| app.get('/posts', async (req, res) => { | |
| // destructure page and limit and set default values | |
| const { page = 1, limit = 10 } = req.query; | |
| try { | |
| // execute query with page and limit values | |
| const posts = await Posts.find() | |
| .limit(limit * 1) | |
| .skip((page - 1) * limit) | |
| .exec(); |
| // on Tests tab, enter these | |
| var jsonData = pm.response.json(); | |
| if (jsonData["response_field_key"]) | |
| pm.environment.set("ENV_VARIABLE_KEY", jsonData.access_token); |
| import React from "react"; | |
| import { | |
| Text, | |
| View, | |
| Item, | |
| Icon, | |
| Input, | |
| Button | |
| } from 'native-base'; | |
| import { KeyboardAvoidingView } from "react-native"; |