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
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="." |
#------------------------------------------------------------------------------------------------------------- | |
# 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 "-" |
### | |
### | |
### UPDATE: For Win 11, I recommend using this tool in place of this script: | |
### https://christitus.com/windows-tool/ | |
### https://github.com/ChrisTitusTech/winutil | |
### https://www.youtube.com/watch?v=6UQZ5oQg8XA | |
### iwr -useb https://christitus.com/win | iex | |
### | |
### OR take a look at | |
### https://github.com/HotCakeX/Harden-Windows-Security |
# create an account, create an app | |
# @see https://apps.twitter.com/ | |
# retrieve the access tokens | |
# @see https://dev.twitter.com/oauth/reference/post/oauth2/token | |
# create the file ~/twitter_api | |
nano ~/twitter_api | |
Authorization: OAuth oauth_consumer_key="XXXXXX", oauth_nonce="11111111", oauth_signature="XXXXXX", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1450728725", oauth_token="99999-XXXXXX", oauth_version="1.0" |