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
#include <avr/sleep.h> | |
#include <avr/power.h> | |
#include <Servo.h> | |
#include <ezButton.h> | |
// Constants | |
const int BUTTON_PIN_1 = 7; | |
const int BUTTON_PIN_2 = 6; | |
const int SERVO_PIN = 8; | |
const int LED_PIN = 13; |
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
#include <Servo.h> | |
#include <ezButton.h> | |
// Constants | |
const int BUTTON_PIN_1 = 7; | |
const int BUTTON_PIN_2 = 6; | |
const int SERVO_PIN = 8; | |
const int LED_PIN = 13; | |
ezButton button1(BUTTON_PIN_1); |
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
#!/bin/bash | |
# Tu correo electrónico registrado en Cloudflare | |
CF_EMAIL="[email protected]" | |
# Tu clave de API global de Cloudflare (asegúrate de cambiarla si aún no lo has hecho) | |
CF_API_KEY="api_key" | |
# La IP antigua que deseas actualizar | |
OLD_IP="1.1.1.1" | |
# La nueva IP | |
NEW_IP="1.1.1.1" |
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
#!/bin/sh | |
#script to change ips on a VestaCP server. | |
#usage: | |
# $0 <oldip> <newip> | |
LOG=/var/log/vesta/system.log | |
MYUID=`/usr/bin/id -u` | |
if [ "$MYUID" != 0 ]; then |
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
#include <Servo.h> | |
#include <ezButton.h> | |
// Constants | |
const int BUTTON_PIN_1 = 7; // Arduino pin connected to the first button's pin | |
const int BUTTON_PIN_2 = 6; // Arduino pin connected to the second button's pin | |
const int SERVO_PIN = 8; // Arduino pin connected to servo motor's pin | |
const int LED_PIN = 13; // Arduino pin connected to the LED | |
// Create ezButton objects for both buttons |
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
#include <Servo.h> | |
#include <ezButton.h> | |
// Constants | |
const int BUTTON_PIN_1 = 7; // Arduino pin connected to the first button's pin | |
const int SERVO_PIN = 8; // Arduino pin connected to servo motor's pin | |
const int LED_PIN = 13; // Arduino pin connected to the LED | |
// Create ezButton objects for both buttons | |
ezButton button1(BUTTON_PIN_1); |
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
#include <Servo.h> | |
#include <ezButton.h> | |
// Constants | |
const int BUTTON_PIN_1 = 7; // Arduino pin connected to the first button's pin | |
const int BUTTON_PIN_2 = 1; // Arduino pin connected to the second button's pin | |
const int SERVO_PIN = 9; // Arduino pin connected to servo motor's pin | |
// Create ezButton objects for both buttons | |
ezButton button1(BUTTON_PIN_1); |
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
#!/bin/sh | |
# Obtener la dirección IP pública | |
public_ip=$(curl -s https://ipinfo.io/ip) | |
# URL de destino (reemplaza con la URL a la que deseas enviar la IP) | |
url="https://test.com/dlinkip.php?ip=$public_ip" | |
# Realizar la solicitud GET | |
curl -s "$url" > /dev/null |
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
// ==UserScript== | |
// @name Taringa Notifications Title Update | |
// @namespace https://maag.nibiru.com.uy | |
// @version 1.1 | |
// @description Agrega (1) al título de Taringa si hay notificaciones | |
// @author Maag | |
// @match https://www.taringa.net/* | |
// @grant none | |
// ==/UserScript== |
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
.ast-builder-grid-row.ast-grid-center-col-layout { | |
grid-template-columns: 1fr 2fr 1fr; | |
} | |
.ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-search { | |
min-width: 100%!important; | |
} | |
.ast-search-menu-icon.ast-inline-search { | |
width: 100%; |