https://www.enmimaquinafunciona.com/pregunta/100025/eliminar-el-texto-despues-del-signo
miércoles, 24 de enero de 2024
miércoles, 22 de noviembre de 2023
JAVA | Crear nuevos Enlace Simbólicos en el directorio "javapath"
Eliminar el Enlace Simbólico Existente:
- Abre la carpeta "javapath" (por ejemplo, "C:\Program Files\Common Files\Oracle\Java\javapath").
- Encuentra el enlace simbólico existente, por ejemplo,
java.exe
. - Haz clic derecho sobre el enlace simbólico y selecciona "Eliminar".
Crear un Nuevo Enlace Simbólico:
- Abre un símbolo del sistema o terminal con privilegios de administrador. Puedes hacer clic con el botón derecho en el menú de inicio y seleccionar "Símbolo del sistema (Admin)" o "Windows PowerShell (Admin)".
- Navega a la carpeta "javapath". Puedes usar el comando
cd
para cambiar de directorio."C:\Program Files\Common Files\Oracle\Java\javapath"
- Crea un nuevo enlace simbólico usando el comando
mklink
. Por ejemplo, si deseas apuntar a la versión 11 de Java, podrías hacer algo como:mklink java.exe "C:\Program Files\Java\jdk-11.x.x\bin\java.exe" - Repite el proceso para otros ejecutables como
javac.exe
, si es necesario.
Verificar el Cambio:
- Abre una nueva ventana de línea de comandos o terminal y ejecuta
java -version
para asegurarte de que la versión correcta de Java se está utilizando.
- Abre una nueva ventana de línea de comandos o terminal y ejecuta
lunes, 20 de noviembre de 2023
AZURE CLI | Instalación
Instalación de la CLI de Azure para Windows | Microsoft Learn
32 BITS
https://aka.ms/installazurecliwindows
64 BITS
https://aka.ms/installazurecliwindowsx64
viernes, 20 de octubre de 2023
AZURE - LOGIN WITH TENANT
SOLUCION:
az login --tenant 75fb3a5b-2add-4c27-8dfd-1e8d7a8166ff
VIDEO:
https://www.youtube.com/watch?v=yGWpKw059E4
jueves, 5 de octubre de 2023
AZURE cambiar de Supscripcion
# change the active subscription using the subscription name az account set --subscription "My Demos" # change the active subscription using the subscription ID az account set --subscription "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" # change the active subscription using a variable subscriptionId="$(az account list --query "[?name=='my case sensitive subscription full name'].id" --output tsv)" az account set --subscription $subscriptionId
https://learn.microsoft.com/es-es/cli/azure/manage-azure-subscriptions-azure-cli
jueves, 14 de septiembre de 2023
SSH - PUBLIC KEY Y PRIVATE KEY
Instalar open SSL en Windows 10
https://www.ssl.com/es/c%C3%B3mo/instalar-openssl-en-windows-con-cygwin/
openssl genrsa -out clave_privada.pem 3072
openssl rsa -in clave_privada.pem -pubout -out clave_publica.pem
Fuente:
https://parzibyte.me/blog/2022/11/24/generar-par-claves-rsa-openssl-privada-publica/
miércoles, 23 de agosto de 2023
GIT ALIAS
[alias]
ec = config --global -e
co = checkout
br = branch
cm = commit -am
st = status
up = !git pull --rebase --prune $@ && git submodule update --init --recursive
save = !git add -A && git commit -m 'SAVEPOINT'
wip = commit -am "WIP"
undo = reset HEAD~1 --mixed
amend = commit -a --amend
wipe = !git add -A && git commit -qm 'WIPE SAVEPOINT' && git reset HEAD~1 --hard
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
lds = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short
ld = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative
decorate=git log --all --decorate --oneline --graph
lg=log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)' --all
lg2=log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'
f = "!git ls-files | grep -i"
grep = grep -Ii
gr = grep -Ii
gra = "!f() { A=$(pwd) && TOPLEVEL=$(git rev-parse --show-toplevel) && cd $TOPLEVEL && git grep --full-name -In $1 | xargs -I{} echo $TOPLEVEL/{} && cd $A; }; f"
la = "!git config -l | grep alias | cut -c 7-"
lasttag = describe --tags --abbrev=0
lt = describe --tags --abbrev=0
ours = "!f() { git co --ours $@ && git add $@; }; f"
theirs = "!f() { git co --theirs $@ && git add $@; }; f"
cob = checkout -b Checkouts a new not yet existing branch.
f = fetch -p Fetches from a repository and prune any remote-tracking no longer existed references on the remote.
p = push Push the changes to a remote.
bd = branch -d Deletes a branch only if it has been merged.
ba = branch -a Lists both remote-tracking and local branches.
bD = branch -D Force to delete a branch.
dc = diff --cached Displays the staged changes.
https://www.w3docs.com/learn-git/git-alias.html#:~:text=A%20git%20alias%2C%20also%20known%20as%20a%20shortcut%2C,git%20config%20command%20and%20the%20git%20configuration%20files.
https://elbauldelprogramador.com/21-aliases-utiles-para-git/
GIT: Ver todos los git alias
git config --list |grep alias
git config -l | grep alias
https://platzi.com/discusiones/1557-git-github/27607-hay-alguna-forma-de-ver-el-listado-de-todos-los-alias-que-he-creado/
LIMPIAR CACHE de Office
Borre manualmente la memoria caché en Excel, Word y PowerPoint
Para quitar todos los complementos instalados de prueba de Excel, Word y PowerPoint, elimine el contenido de la carpeta siguiente.
%LOCALAPPDATA%\Microsoft\Office\16.0\Wef\
https://learn.microsoft.com/es-es/office/dev/add-ins/testing/clear-cache