This file contains 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
#!/bin/bash | |
cd .\Downloads\ | |
# curl https://dl.google.com/android/repository/android_m2repositoey_r47.zip | |
curl https://redirector.gvt1.com/edgedl/android/studio/install/2020.3.1.26/android-studio-2020.3.1.26-windows.exe -o android-studio.exe | |
curl https://downloads.arduino.cc/arduino-1.8.19-windows.exe -o arduino-ide.exe | |
# TODO: EXPORT Android-sdk & Android_HOME | |
.\android-studio.exe | |
cd /d "%ANDROID_SDK_ROOT%/tools/bin" | |
sdkmanager --licenses | |
# TODO: Accept all policy |
This file contains 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
[ | |
{ | |
"experiences": [ | |
{ | |
"id": 0, | |
"initialYear": 2017, | |
"position": "Project Manager And QA Tester", | |
"position_spa": "Administrador de proyectos y aseguramiento de calidad.", | |
"tasks": [ | |
{ |
This file contains 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
#!/bin/bash | |
echo "[+] Sending the Command… " | |
# We send the commands with two modes backtick (`) and semicolon (;) because different models trigger on different devices | |
curl -k -d "XWebPageName=diag&diag_action=ping&wan_conlist=0&dest_host=\`$2\`;$2&ipv=0" $1/GponForm/diag_Form?images/ 2>/dev/null 1>/dev/null | |
echo "[+] Waiting…." | |
sleep 3 | |
echo "[+] Retrieving the ouput…." | |
curl -k $1/diag.html?images/ 2>/dev/null | grep 'diag_result =' | sed -e 's/\\n/\n/g' |
This file contains 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
version: "3" | |
services: | |
samba: | |
network_mode: host | |
container_name: samba | |
image: dperson/samba:rpi | |
restart: always | |
command: '-u "username;password" -s "media;/media;yes;no" -s "downloads;/downloads;yes;no" -s "ssd;ssd;yes;no"' | |
stdin_open: true | |
tty: true |
This file contains 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
<div id="root"></div> |
This file contains 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
let aTextField:UITextField = { | |
let tf = UITextField() | |
tf.placeholder = "Text Field" | |
tf.translatesAutoresizingMaskIntoConstraints = false | |
tf.backgroundColor = UIColor(white:0, alpha:0.03) | |
tf.borderStyle = .roundedRect | |
tf.font = UIFont.systemFont(ofSize: 14) | |
return tf | |
}() |
This file contains 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
typedef void(*punteroAFuncion)(Student**, int); //para no usarse en como void(print_class)(Student**,int) en el argumento de la función | |
typedef void(**FunctionPointerToFunction)(Student**, int); |
This file contains 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
typedef struct { | |
int id; | |
char name[30]; | |
}Student; |
This file contains 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
typedef struct { | |
int id; | |
char nombre[30]; | |
}Student; |
This file contains 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
#include "RGB.h" | |
Color c; | |
void RGB_Function() { //This already works | |
c.value = 0xFF00AA00; | |
c.rgb.Red = 0; | |
c.rgb.Green = 170; | |
//c.rgb.Blue = 0; | |
//c.rgb.Alpha = 255; | |
c.array[2] = 0; |
NewerOlder