Description | Command |
---|---|
Start a new session with session name | screen -S <session_name> |
List running sessions / screens | screen -ls |
Attach to a running session | screen -x |
Attach to a running session with name | screen -r |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Búsqueda binaria (Binary Search): Implementación de ejemplo. | |
Recibe un array ordenado y el elemento a buscar. Si encuentra el elemento | |
devolverá el índice del elemento encontrado, si no se encuentra devolverá `-1`. | |
*/ | |
function binarySearch(array, item) { |