wishes@Your Name:~💚$
★─▀██▀▀▀█
★──██▄█
★──██▀█
★─▄██ ANTASTIC Friend ★★★
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 | |
# ----------------------------------------------------------------------------- | |
# | |
# Info: | |
# author: Santhosh Veer | |
# file: may.sh | |
# created: 30.04.2024 | |
# revision: 30.04.2024 | |
# version: 0.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
import re | |
import sys | |
import time | |
def validate_name(name): | |
name = ' '.join(name.split()) | |
if not re.match("^[a-zA-Z ]+$", name): | |
print("\nInvalid input! Name should contain only alphabets and spaces.\n") | |
return False | |
return 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
@@ | |
@@@@@@@@@@ | |
@@@@@@@@@@@@@@@@@@ | |
@@@@@@@@@@@@@@@@@@@@ | |
/////////@@@@@@********* | |
*******@@@@@@,,,,,,, | |
******@@@@@@,,,,,, | |
/////////@@@@********* | |
,//////////////************** |
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
<?php | |
header('X-Frame-Options: DENY'); | |
header('X-XSS-Protection: 1; mode=block'); | |
header('X-Content-Type-Options: nosniff'); | |
header('Strict-Transport-Security: max-age=63072000'); | |
header('Content-type:application/json; charset=utf-8'); | |
header('Access-Control-Allow-Origin: *'); | |
header('Access-Control-Allow-Methods: GET,POST'); | |
header('Access-Control-Allow-Headers: Access-Control-Allow-Headers,Content-Type,Access-Control-Allow-Methods, Authorization, X-Requested-With'); |
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
<?php | |
header('X-Frame-Options: DENY'); | |
header('X-XSS-Protection: 1; mode=block'); | |
header('X-Content-Type-Options: nosniff'); | |
header('Strict-Transport-Security: max-age=63072000'); | |
header('Content-type:application/json; charset=utf-8'); | |
header('Access-Control-Allow-Origin: *'); | |
header('Access-Control-Allow-Methods: GET'); | |
header('Access-Control-Allow-Headers: X-Requested-With'); |
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
VPSIP=XXX.XX.XX.X | |
PASSWORD='SERVERPASSWORD' |
sudo docker run -d --name=homeassistant --restart=always --network=host \
-v /home/$USER/homeassistant:/config \
ghcr.io/home-assistant/home-assistant:stable
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
name: Deploy Next.js Site via SSH | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest |
NewerOlder