https://stackoverflow.com/questions/6356351/formatting-a-float-to-2-decimal-places
miércoles, 16 de agosto de 2023
jueves, 3 de agosto de 2023
Eliminar Usuarios de Dominio en Windows 10
https://microsofters.com/186243/como-borrar-los-perfiles-de-usuario-de-dominio-en-windows-10-y-windows-11/
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
Set Java Home in Windows 10
https://www.codejava.net/java-core/how-to-set-java-home-environment-variable-on-windows-10
lunes, 3 de octubre de 2022
lunes, 11 de abril de 2022
EXPRESION REGULAR PARA BORRAR LINEAS EN BLANCO DE UN ARCHIVO TXT
En Notepad++
- Vaya a Buscar -> Reemplazar
- Seleccione "Expresión regular" en el modo de búsqueda .
- Use
^\s*
para " Buscar qué " y deje " Reemplazar con " en blanco. - Hacer clic Replace all
Fuente: ¿Eliminar líneas y espacios vacíos en Notepad ++? (qastack.mx)
Expresion regular para numero + tabulacion y espacio
[0-9]+
miércoles, 16 de marzo de 2022
ORACLE Funcion Trunc DATE
Oracle TRUNC Date Function By Practical Examples (oracletutorial.com)
Format | Description |
---|---|
CC, SCC | Century, with or without minus sign (BC) |
[S]YYYY, [S]YEAR, YYY, YY, Y | Year (in various appearances) |
IYYY, IYY, IY, I | ISO year |
Q | Quarter |
MONTH, MON, MM, RM | Month (full name, abbreviated name, numeric, Roman numerals) |
IW, WW (ISO) | week number |
W | Day of the week |
DDD, DD, J | Day (of the year/of the month/Julian day) |
DAY, DY, D | Closest Sunday |
HH, HH12, HH24 | Hours |
MI | Minutes |
miércoles, 5 de enero de 2022
Suscribirse a:
Entradas (Atom)