Last updated
April 7, 2025
- Clone disler/aider-mcp-server:
git clone [email protected]:disler/aider-mcp-server.git- Install dependencies using
uv:
Last updated
April 7, 2025
git clone [email protected]: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"; |
| getGreetingTime = (currentTime) => { | |
| if (!currentTime || !currentTime.isValid()) { return 'Hello'; } | |
| const splitAfternoon = 12; // 24hr time to split the afternoon | |
| const splitEvening = 17; // 24hr time to split the evening | |
| const currentHour = parseFloat(currentTime.format('HH')); | |
| if (currentHour >= splitAfternoon && currentHour <= splitEvening) { | |
| // Between 12 PM and 5PM | |
| return 'Good afternoon'; |