Parts for: Electronics_Compartment/DIN_Brackets
[ ] [ ] duet_duex_bracket_x2.stl
[ ] lrs_psu_bracket_clip.stl
[ ] [ ] [ ] pcb_din_clip_x3.stl
[ ] [ ] ramps_bracket_x2.stl
| /** | |
| * 🤖 Automated Instagram Poster — Node.js + Dropbox + instagram-private-api | |
| * | |
| * This script: | |
| * - Pulls a random image from your Dropbox `/Public` folder | |
| * - Posts it to Instagram using instagram-private-api | |
| * - Adds a random emoji-only caption | |
| * - Deletes the file from Dropbox after posting | |
| * - Runs daily with PM2 cron scheduling | |
| * |
| #!/bin/sh | |
| # Scrapes documentation from a URL and converts it to Markdown suitable for aider convention files | |
| # to provide context to the LLM. | |
| if [ $# -eq 0 ]; then | |
| echo "Usage: $(basename "$0") <URL> [URL...]" | |
| echo | |
| echo "Generate aider 'convention' Markdown context from documentation URLs." | |
| echo "suitable for providing LLM context about a project's conventions and style." |
| llmc() { | |
| local system_prompt='Output a command that I can run in a ZSH terminal on macOS to accomplish the following task. Try to make the command self-documenting, using the long version of flags where possible. Output the command first enclosed in a "```zsh" codeblock followed by a concise explanation of how it accomplishes it.' | |
| local temp_file=$(mktemp) | |
| local capturing=true | |
| local command_buffer="" | |
| local first_line=true | |
| local cleaned_up=false # Flag to indicate whether cleanup has been run | |
| cleanup() { | |
| # Only run cleanup if it hasn't been done yet |
| # this needs to be on the *remote* machine. | |
| if [ ! -z "$SSH_CLIENT" ] | |
| then | |
| function code() { | |
| local ssh_client_host=$(echo $SSH_CLIENT | cut -d ' ' -f1) | |
| if [ -z "$1" ] | |
| then | |
| local argpath="." |
| sudo apt-get purge bcmwl-kernel-source | |
| sudo apt update | |
| sudo update-pciids | |
| sudo apt install firmware-b43-installer | |
| sudo reboot #note that this will restart your computer | |
| sudo iwconfig wlp3s0 txpower 10dBm | |
| #sudo iwconfig wlp2s0 txpower 10dBm |
| #------------------------------------------------------------------------------------------------------------- | |
| # Copyright (c) Microsoft Corporation. All rights reserved. | |
| # Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information. | |
| #------------------------------------------------------------------------------------------------------------- | |
| FROM openjdk:8-jdk | |
| # This Dockerfile adds a non-root user with sudo access. Use the "remoteUser" | |
| # property in devcontainer.json to use it. On Linux, the container user's GID/UIDs | |
| # will be updated to match your local UID/GID (when using the dockerFile property). |
| CREATE USER NOME_USUARIO_AQUI IDENTIFIED BY SENHA_USUARIO_AQUI DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP ACCOUNT UNLOCK; | |
| GRANT CREATE SESSION TO NOME_USUARIO_AQUI; | |
| GRANT CREATE TABLE TO NOME_USUARIO_AQUI; | |
| ALTER USER NOME_USUARIO_AQUI QUOTA UNLIMITED ON USERS; | |
| GRANT EXP_FULL_DATABASE TO NOME_USUARIO_AQUI; | |
| GRANT CONNECT TO NOME_USUARIO_AQUI; | |
| GRANT create session, alter session TO NOME_USUARIO_AQUI; | |
| GRANT create procedure to NOME_USUARIO_AQUI; | |
| GRANT execute any procedure to NOME_USUARIO_AQUI; | |
| GRANT create table TO NOME_USUARIO_AQUI; |
| # Rsync based backup for Mac. | |
| # . | |
| # Usage: bk ~/path/to/backup/ | |
| # E.g. bk ~/Documents/Audio will create /Volumes/AhmadAwais.com/Z-BACKUPS/Users/Documents/Audio backup. | |
| function bk() { | |
| # Halt the script on any errors. | |
| set -e | |
| echo "-" |