sudo apt install nano
sudo pacman -S nano
# For Eventify Blogger Template # | |
# Add This after 13th line In Your Blogger Template Html | |
<link href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css' rel='stylesheet'/> | |
# Code For The Widget | |
<div class="wrapper"> | |
<div class="icon instagram"> |
{"id":"eb9777220b6c9e6318a230e6e768b3fd", | |
"type":"movies", | |
"title":"Watch Sarrainodu Dubbed in Hindi 2016 Movie Online | Sarrainodu Telugu Movie in Hindi - MX Player", | |
"description":"Watch Sarrainodu in Hindi Online on MX Player \nSarrainodu is a 2016 Telugu movie which you can now watch in Hindi online. The movie is directed by Boyapati Srinu and is produced by Allu Aravind. The Sarrainodu features an ensemble cast including Allu Arjun, Rakul Preet Singh, Pradeep Rawat, Srikanth, Sai Kumar, Aadhi Pinisetty and Jayaprakash. Drama, romance, action, comedy, Sarrainodu has something for all kinds of audiences and will be enjoyed by the full family. Watch Sarrainodu in Hindi online on MX Player. ", | |
"releaseDate":"2016-04-21T18:30:00.000Z", | |
"duration":"7539 seconds", | |
"actors":[{"name":"Allu Arjun","type":"actor"},{"name":"Rakul Preet Singh","type":"actor"},{"name":"Aadhi Pinisetty","type":"actor"},{"name":"Catherine Tresa","type":"actor"},{"name":"Anjali","type":"actor"},{"name":"Joy Badlani","type":"actor" |
var zp = document.getElementById("r2"); | |
zp.addEventListener('click', Lunc); | |
var zo = document.getElementById("expa"); | |
zo.addEventListener('click', unc); | |
function unc(){ | |
var x = document.getElementById("r1"); | |
if (x.style.display === "none") { | |
x.style.display = "block"; |
# Simple Plugin to Remove Forward tag From a Message. Powered by Pyrogram | |
# Idea by - https://github.com/lntechnical2 | |
from pyrogram import Client, filters | |
from pyrogram.types import Message | |
@Client.on_message(filters.command("rm_tag") & ~filters.edited & filters.private) | |
async def rmforwdtag(client: Client, message: Message): | |
replied_msg = message.reply_to_message | |
rmtag_chat = message.chat.id |
======= In Ubuntu ======= | |
apt install ffmpeg |
import requests | |
def translate_text(text, dest): | |
req = requests.get(f"https://nexa-apis.herokuapp.com/tr?text={text}&dest_lang={dest}").json() | |
if req["status"] == "Ok": | |
return req["data"] | |
else: | |
return None | |
trans = translate_text("Hi!", "es") |
import requests | |
def get_random_anime_wallpaper(q=None): | |
""" | |
q - The name (query) you want to search about | |
""" | |
if q: | |
req = requests.get(f"https://nexa-apis.herokuapp.com/anime_wall?query={q}").json() | |
else: | |
req = requests.get("https://nexa-apis.herokuapp.com/anime_wall").json() |
import requests | |
def search_reddit_posts(q, sub_reddit=None): | |
if sub_reddit: | |
req = requests.get(f"https://nexa-apis.herokuapp.com/reddit?query={q}&subreddit={sub_reddit}").json() | |
else: | |
req = requests.get(f"https://nexa-apis.herokuapp.com/reddit?query={q}").json() | |
if req["status"] == "Ok": | |
return req["data"] | |
else: |
import requests | |
def search_and_get_wallpapers(q="aesthetic"): | |
""" | |
q - The name (query) you want to search about | |
""" | |
if q: | |
req = requests.get(f"https://nexa-apis.herokuapp.com/wallpaper?query={q}").json() | |
else: | |
req = requests.get("https://nexa-apis.herokuapp.com/wallpaper").json() |