Last updated
April 7, 2025
- Clone disler/aider-mcp-server:
git clone [email protected]:disler/aider-mcp-server.git- Install dependencies using
uv:
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
| 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 |
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
| var _ = Underscore.load(); | |
| /* | |
| * Queries Yahoo finance API for historical prices for a given list of tickers | |
| * | |
| * @param {Array} tickers A list of tickers | |
| * @param {Date} date Date to query for. Must be a date the markets were open | |
| * @return A map of ticker to adjusted close prices | |
| */ |
- Open Telegram application then search for
@BotFather - Click Start
- Click Menu -> /newbot or type
/newbotand hit Send - Follow the instruction until we get message like so
Done! Congratulations on your new bot. You will find it at t.me/new_bot.
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
| // 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 = ""; |
This means, on your local machine, you haven't made any SSH keys. Not to worry. Here's how to fix:
- Open git bash (Use the Windows search. To find it, type "git bash") or the Mac Terminal. Pro Tip: You can use any
*nixbased command prompt (but not the default Windows Command Prompt!) - Type
cd ~/.ssh. This will take you to the root directory for Git (LikelyC:\Users\[YOUR-USER-NAME]\.ssh\on Windows) - Within the
.sshfolder, there should be these two files:id_rsaandid_rsa.pub. These are the files that tell your computer how to communicate with GitHub, BitBucket, or any other Git based service. Typelsto see a directory listing. If those two files don't show up, proceed to the next step. NOTE: Your SSH keys must be namedid_rsaandid_rsa.pubin order for Git, GitHub, and BitBucket to recognize them by default. - To create the SSH keys, type
ssh-keygen -t rsa -C "[email protected]". Th
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 React from "react"; | |
| import { | |
| Text, | |
| View, | |
| Item, | |
| Icon, | |
| Input, | |
| Button | |
| } from 'native-base'; | |
| import { KeyboardAvoidingView } from "react-native"; |
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
| 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'; |
NewerOlder