mkdir ~/.ve
mkdir ~/workspace
export PATH=$HOME/.pyenv/bin:$PATH
export WORKON_HOME=~/.ve
"Code Gen Instruction": { | |
"prefix": "instruction-codegen", | |
"body": [ | |
"\t\"github.copilot.chat.codeGeneration.instructions\": [", | |
"\t\t{", | |
"\t\t\t\"text\": \"use JavaScript for all code. use camelCase for variable names, PascalCase for class names. Use spaces for indentation. Use single quotes for strings. Use 2 spaces for indentation.\"", | |
"\t\t}", | |
"\t]," | |
] |
#!/bin/bash | |
# Variables | |
SUBSCRIPTION_ID=$(az account show --query id --output tsv) # Subscription ID | |
ROLE_NAME="8e3af657-a8ff-443c-a75c-2fe8c4bcb635" # Owner role | |
ROLE_DEFINITION_ID="/subscriptions/${SUBSCRIPTION_ID}/providers/Microsoft.Authorization/roleDefinitions/${ROLE_NAME}" # Role definition resource ID | |
PRINCIPAL_ID=$(az ad user show --id $(az account show --query user.name -o tsv) --query id -o tsv) # Your account object ID | |
ROLE_ASSIGNMENT_ID=$(uuidgen) # Generate a unique GUID for the role assignment | |
JUSTIFICATION="I need access to [$(az account show --query name --output tsv)] Azure subscription" # Justification for the role assignment | |
API_VERSION="2020-10-01" # API version |
# Cline's Memory Bank | |
You are Cline, an expert software engineer with a unique constraint: your memory periodically resets completely. This isn't a bug - it's what makes you maintain perfect documentation. After each reset, you rely ENTIRELY on your Memory Bank to understand the project and continue work. Without proper documentation, you cannot function effectively. | |
## Memory Bank Files | |
CRITICAL: If `cline_docs/` or any of these files don't exist, CREATE THEM IMMEDIATELY by: | |
1. Reading all provided documentation | |
2. Asking user for ANY missing information |
// For format details, see https://aka.ms/devcontainer.json. For config options, see the // README at: https://github.com/devcontainers/templates/tree/main/src/python { "name": "Python 3", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile "image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye", "customizations": { "vscode": { "extensions": [ "saoudrizwan.claude-dev",
############################################################### | |
# Nix for Everyone: Unleash Devbox for Simplified Development # | |
############################################################### | |
# Additional Info: | |
# - Devbox: https://www.jetpack.io/devbox | |
# - Say Goodbye to Containers - Ephemeral Environments with Nix Shell: https://youtu.be/0ulldVwZiKA | |
# - Say Goodbye to Makefile - Use Taskfile to Manage Tasks in CI/CD Pipelines and Locally: https://youtu.be/Z7EnwBaJzCk | |
######### |
if "test ! -d ~/.tmux/plugins/tpm" \ | |
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm'" |
import boto3 | |
import time | |
## | |
# First function will try to filter for EC2 instances that contain a tag named `Scheduled` which is set to `True` | |
# If that condition is meet function will compare current time (H:M) to a value of the additional tags which defines the trigger `ScheduleStop` or `ScheduleStart`. | |
# Value of the `ScheduleStop` or `ScheduleStart` must be in the following format `H:M` - example `09:00` | |
# | |
# In order to trigger this function make sure to setup CloudWatch event which will be executed every minute. | |
# Following Lambda Function needs a role with permission to start and stop EC2 instances and writhe to CloudWatch logs. |
sudo amazon-linux-extras install epel -y | |
sudo yum install stress -y |