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
if yes this error probably came out because adb from genymotion conflicted with your adb from android SDK(using same port number), to fix this simply go to settings => choose ADB tab => click on option Use custom Android SDK Tools and set your SDK folder | |
after you configure this, try to restart your adb by going into folder platform-tools which adb placed and do this command: | |
./adb kill-server | |
./adb start-server |
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
adb devices | |
cordova run android --target=ID |
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
delete all files manually and commit it | |
git add -u :/ ----> if not work try just git add -u | |
git commit -m "Deleted files manually" |
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
@echo off | |
set hr=%TIME:~0,2% | |
if %hr% geq 7 ( | |
if %hr% leq 19 ( | |
Msg * "TRABAJA Y NO JUEGUES TANTO!" | |
exit | |
) | |
) |
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
adb devices | |
adb -s device-id install -r packet.apk | |
adb -s device-id logcat |
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
adb shell screencap -p /sdcard/screen.png | |
adb pull /sdcard/screen.png | |
adb shell rm /sdcard/screen.png |
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
Hay que utilizar la cláusula with. Con ella puedes acceder de forma cómoda | |
a las propiedades y variables de cada instancia. | |
Por un lado puedes acceder a una instancia específica de objeto así: | |
with(id_instancia) { | |
// dentro del bloque todo el código afectará como si estuvieras en la instancia | |
show_debug_message(id); // devolverá el id de la instancia | |
speed = 10; // establecerá la velocidad de la instancia | |
} |
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
Proceso SumaImpares | |
Definir n, total, i como Enteros; | |
// Leemos un número entero | |
Leer n; | |
// Si es par le restamos 1 | |
Si (n mod 2 == 0) Entonces | |
n <- n-1; | |
FinSi | |
// Ahora ya tenemos el número impar máximo en n | |
// Hacemos el Para desde el número 1 hasta n de dos en dos |
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
Proceso Promedio | |
Definir i, n_notas, nota, resultado como Numericos; | |
// Iniciamos a cero el resultado donde iremos haciendo los cálculos | |
resultado <- 0; | |
// Preguntamos cuantas notas quiere introducir el usuario | |
Escribir "¿Cuantas notas quieres introducir? Escribe un número"; | |
Leer n_notas; | |
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
Show hidden characters
{ | |
"cmd": ["/home/USUARIO/anaconda3/bin/python3", "-u", "$file"], | |
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", | |
"selector": "source.python" | |
} |