Skip to content

Instantly share code, notes, and snippets.

View mskian's full-sized avatar
🦕
Focusing

Santhosh Veer mskian

🦕
Focusing
View GitHub Profile
@mskian
mskian / friendship-day.md
Created July 9, 2024 05:59
Happy Friendship Day ASCII Text Greeting Art - Friendship Day Greeting Generator With Name.
wishes@Your Name:~💚$


 ★─▀██▀▀▀█
 ★──██▄█
 ★──██▀█
 ★─▄██ ANTASTIC Friend ★★★
@mskian
mskian / may.sh
Created April 30, 2024 13:26
May day ASCII Text Art in Linux Terminal and Terminal Emulator 🍵 ⬇ - International Workers' Day
#!/bin/bash
# -----------------------------------------------------------------------------
#
# Info:
# author: Santhosh Veer
# file: may.sh
# created: 30.04.2024
# revision: 30.04.2024
# version: 0.1
@mskian
mskian / mayday.md
Last active April 30, 2024 13:24
Mayday AsCII text art

           =%%-                                                                           
           %@@#:.                                  ..::::::.                              
           %@@@@@@@%#+-:                     :=*#@@@@@@@@@@@@@%#+-.                       
           %@@@##%%@@@@@@#+-.          .:=+%@@@@@@%%########%%@@@@@@#+-.                  
           %@@%++++++*#%@@@@@@@@%%%%%@@@@@@@@%#*++++++++++++++++*#@@@@@@@@@%%%+           
           %@@%++++++++++**#%%%@@@@@@@%%##*+++++++++++++++++++++++++**#%%%@@@@@           
           %@@%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++#@@@           
           %@@%+++++++++++++++++++++++++%@@@@@@@@@+++++++++++++++++++++++++#@@@           
@mskian
mskian / flames.py
Last active February 29, 2024 16:45
Python Script to Calculate the FLAMES value between you and your partner
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
@mskian
mskian / pongal.txt
Last active January 13, 2024 06:05
Happy Pongal ASCII Text Art in Linux Terminal and Terminal Emulator 🍵 ⬇ - Pongal Greeting Card Generator in Tamil and English - https://pongal.tamilwords.net/
@@
@@@@@@@@@@
@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@
/////////@@@@@@*********
*******@@@@@@,,,,,,,
******@@@@@@,,,,,,
/////////@@@@*********
,//////////////**************
@mskian
mskian / active.php
Last active June 5, 2023 10:07
Umami API PHP proxy
<?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');
@mskian
mskian / pihole.php
Last active June 1, 2023 05:15
Pihole API Proxy using PHP cURL for Fetching ads Data
<?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');
@mskian
mskian / .env
Last active May 21, 2023 11:55
Pi-hole - A Simple Bash Script to Update the Home/ISP ip address in UFW Firewall to access port 53
VPSIP=XXX.XX.XX.X
PASSWORD='SERVERPASSWORD'
@mskian
mskian / install.md
Created May 12, 2023 11:55
install Home assistant on Ubuntu 20.04 using the docker
sudo docker run -d --name=homeassistant --restart=always --network=host \
    -v /home/$USER/homeassistant:/config \
    ghcr.io/home-assistant/home-assistant:stable
@mskian
mskian / actions.yml
Created May 3, 2023 06:33 — forked from mcnaveen/actions.yml
On New Tag create, copy the source to the server, build and restart pm2 service
name: Deploy Next.js Site via SSH
on:
push:
tags:
- "*"
jobs:
deploy:
runs-on: ubuntu-latest