miércoles, 23 de agosto de 2023

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

Cerrar el git config --global -e


https://stackoverflow.com/questions/13239368/how-to-close-git-commit-editor

jueves, 3 de agosto de 2023

jueves, 30 de marzo de 2023

.NET C# - Dividir un String por '\n'

Ejemplo:
var text = 
  "somet interesting text\n" +
  "some text that should be in the same line\r\n" +
  "some text should be in another line";

string[] stringSeparators = new string[] { "\r\n" };
string[] lines = text.Split(stringSeparators, StringSplitOptions.None);
Console.WriteLine("Nr. Of items in list: " + lines.Length); // 2 lines
foreach (string s in lines)
{
   Console.WriteLine(s); //But will print 3 lines in total.
}


Fuente: https://stackoverflow.com/questions/22185009/split-text-with-r-n

lunes, 20 de marzo de 2023

GIT: Salir de la pantalla de un texto abierto en Prompt

 That means:

  • Press Escape. This should make sure you are in command mode
  • type in :wq
  • Press Return

An alternative that stdcall in the comments mentions is:

  • Press Escape
  • Press shift+Z shift+Z (capital Z twice).

How to save a git commit message from windows cmd?

miércoles, 22 de febrero de 2023

Conflictos GIT

 https://phoenixnap.com/kb/how-to-resolve-merge-conflicts-in-git


https://www.youtube.com/watch?v=H2DuJNWbqLw&t=1s

viernes, 23 de diciembre de 2022