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/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 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 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 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 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 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 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%; |
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
// move this file into <...>/Counter-Strike Global Offensive/csgo/cfg/ | |
// | |
// Startup parameters for CS:GO, add these using steam | |
//-high -nod3d9ex -nojoy -noforcemparms -noforcemaccel -novid -refresh 240 -freq 240 +mat_queue_mode 2 +exec autoexec.cfg -tickrate 128 | |
// more info: https://steamcommunity.com/sharedfiles/filedetails/?id=379782151 | |
//~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~-- | |
//Writes in config that autoexec.cfg is being executed | |
echo "Maag's autoexec.cfg started executing" |
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
//Remove WooCommerce Tabs - this code removes all 3 tabs - to be more specific just remove actual unset lines | |
add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 ); | |
function woo_remove_product_tabs( $tabs ) { | |
unset( $tabs['description'] ); // Remove the description tab | |
unset( $tabs['reviews'] ); // Remove the reviews tab | |
unset( $tabs['additional_information'] ); // Remove the additional information tab |
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
Flexbox big 4: | |
- display: flex; | |
- flex-direction | |
- align-items | |
- justify-content |