File .vscode/lauch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
import docx | |
import os | |
def extract(input_files, output_dir, words): | |
# Create the output directory if it doesn't exist | |
if not os.path.exists(output_dir): | |
os.makedirs(output_dir) | |
# Iterate through the input files |
const axios = require('axios'); | |
const YOUR_RESOURCE_NAME = ''; // Replace with your Azure OpenAI Resource name | |
const YOUR_DEPLOYMENT_NAME = ''; // Replace with your deployment id | |
const YOUR_API_KEY = ''; // Replace with your API key | |
const endpoint = `https://${YOUR_RESOURCE_NAME}.openai.azure.com/openai/deployments/${YOUR_DEPLOYMENT_NAME}/chat/completions?api-version=2023-05-15`; | |
async function getChatCompletions() { | |
try { |
File .vscode/lauch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
Visual Studio Code (VS Code) is a widely used code editor that provides a range of features to aid developers in writing efficient code. However, not all developers are aware of the various keyboard shortcuts and hidden features that can significantly enhance their productivity. One such feature is the ability to navigate and edit code without using a mouse, which can save time and streamline workflow.
These articles aims to highlight the advantages of not using a mouse while using VS Code and provide tips and tricks to navigate and edit code without one. Whether you're a novice or an experienced developer, learning these techniques can improve your efficiency and productivity in using VS Code.
build-essential
)sudo apt --purge remove "cublas*" "cuda*" | |
sudo apt --purge remove "nvidia*" | |
sudo apt update | |
sudo apt install -y cuda |