Important Resources:
The tsx
documentation includes the following points about what makes it a better option than ts-node
:
#!/usr/bin/env node | |
const axios = require('axios'); | |
const FormData = require('form-data'); | |
const fs = require('fs'); | |
const filePath = __dirname + '/../accept-http-post-file/cookie.jpg'; | |
fs.readFile(filePath, (err, imageData) => { | |
if (err) { | |
throw err; | |
} |
import requests | |
import json | |
from typing import Dict | |
# ==== CONFIGURATION ==== | |
CLIENT_ID = '####' | |
CLIENT_SECRET = '####' | |
REFRESH_TOKEN = '####' | |
FOLDER_ID = '####' | |
UPLOAD_FILE = 'my-upload-test.zip' # Change this to your file |
import PushNotificationIOS from '@react-native-community/push-notification-ios'; | |
import { Platform } from 'react-native'; | |
import PushNotification from 'react-native-push-notification'; | |
class NotificationManager { | |
configure = () => { | |
PushNotification.configure({ | |
onRegister: function (token: any) { | |
console.log('TOKEN:', token); | |
}, |
import { createContext, ReactNode, useEffect, useState } from 'react' | |
type Theme = 'light' | 'dark'; | |
type ThemeContextProviderProps = { | |
children: ReactNode; | |
} | |
type ThemeContextType = { | |
theme: Theme; |
// Full code - https://github.com/jackbkennedy/stitches-spinner | |
import { styled, keyframes } from "../stitches.config"; | |
const spinner = keyframes({ | |
to: { | |
transform: "rotate(360deg)", | |
}, | |
}); | |
export const Spinner = styled("div", { |
Important Resources:
The tsx
documentation includes the following points about what makes it a better option than ts-node
:
Beast Mode is a custom chat mode for VS Code agent that adds an opinionated workflow to the agent, including use of a todo list, extensive internet research capabilities, planning, tool usage instructions and more. Designed to be used with 4.1, although it will work with any model.
Below you will find the Beast Mode prompt in various versions - starting with the most recent - 3.1