Skip to content

Instantly share code, notes, and snippets.

View Xnuvers007's full-sized avatar
💭
Lily Loly Zyaa ❤️

XnuxersXploitXen Xnuvers007

💭
Lily Loly Zyaa ❤️
View GitHub Profile
This file has been truncated, but you can view the full file.
[
{
"number": 1,
"ayahCount": 7,
"sequence": 5,
"asma": { "ar": { "short": "\u0627\u0644\u0641\u0627\u062a\u062d\u0629", "long": "\u0633\u064f\u0648\u0631\u064e\u0629\u064f\u0020\u0671\u0644\u0652\u0641\u064e\u0627\u062a\u0650\u062d\u064e\u0629\u0650" }, "en": { "short": "Al-Faatiha", "long": "Sura Al-Faatiha" }, "id": { "short": "Al-Fatihah", "long": "Surah Al-Fatihah" }, "translation": { "en": "The Opening", "id": "Pembukaan" } },
"preBismillah": null,
"type": { "ar": "\u0645\u0643\u0629", "id": "Makkiyyah", "en": "Meccan" },
"tafsir": { "id": "Surat Al Faatihah (Pembukaan) yang diturunkan di Mekah dan terdiri dari 7 ayat adalah surat yang pertama-tama diturunkan dengan lengkap diantara surat-surat yang ada dalam Al Quran dan termasuk golongan surat Makkiyyah. Surat ini disebut Al Faatihah (Pembukaan), karena dengan surat inilah dibuka dan dimulainya Al Quran. Dinamakan Ummul Quran (induk Al Quran) atau Ummul Kitaab (induk Al Kitaab) karena dia merupakan induk dari semua isi A
@Xnuvers007
Xnuvers007 / scrape_moni_crypto.py
Last active April 8, 2024 08:22
scraping website coinmarketcap.com for monitoring crypto
import time
import os
try:
import requests
from bs4 import BeautifulSoup
except (ModuleNotFoundError):
os.system('pip install requests beautifulsoup4 --no-cache-dir')
finally:
import requests
from bs4 import BeautifulSoup
@Xnuvers007
Xnuvers007 / love.py
Last active September 18, 2024 16:32
import turtle
from math import pi, sin, cos
def draw_heart(w, h, iteration=0):
if iteration >= len(colors):
return
t = turtle.Turtle()
t.hideturtle()
t.pensize(2.5)
@Xnuvers007
Xnuvers007 / kivyapp-to-apk.ipynb
Created April 21, 2024 16:10 — forked from kaustubhgupta/kivyapp-to-apk.ipynb
KivyApp to APK.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
from flask import Flask, request, jsonify
import requests
from urllib.parse import urlparse
app = Flask(__name__)
def get_highest_quality_images(images_data):
quality_priority = ['2048', '638', '320']
all_slides = images_data.get('all_slides', [])
@Xnuvers007
Xnuvers007 / snake.py
Created May 19, 2024 11:53
this is script game snake build using python
import pygame
import random
# Initialize Pygame
pygame.init()
# Set up the screen
screen_width = 800
screen_height = 600
screen = pygame.display.set_mode((screen_width, screen_height))
og:Type Lists Of Objects
- apps.saves
An action representing someone saving an app to try later.
- article
This object represents an article on a website. It is the preferred type for blog posts and news stories.
- book
This object type represents a book or publication. This is an appropriate type for ebooks, as well as traditional paperback or hardback books. Do not use this type to represent magazines
import matplotlib.pyplot as plt
import networkx as nx
def draw_fsa(G, title):
pos = nx.spring_layout(G)
labels = nx.get_edge_attributes(G, 'label')
plt.figure(figsize=(12, 6))
nx.draw(G, pos, with_labels=True, node_size=2000, node_color='skyblue', font_size=15, font_weight='bold')
nx.draw_networkx_edge_labels(G, pos, edge_labels=labels, font_size=12)
@Xnuvers007
Xnuvers007 / flask_main.py
Created July 26, 2024 17:34
exiftool from scraping website
from flask import Flask, request, jsonify
import requests
from bs4 import BeautifulSoup
from urllib.parse import urlparse, parse_qs
import re
app = Flask(__name__)
# Regular expression to validate URLs
URL_REGEX = re.compile(
@Xnuvers007
Xnuvers007 / cursor
Created July 27, 2024 03:47 — forked from swayducky/cursor
This fixes using "cursor" command in WSL
#!/usr/bin/env sh
# LATEST VERSION OF THIS SCRIPT: https://gist.github.com/swayducky/8ba8f2db156c7f445d562cdc12c0ddb4
# FORKED FROM: https://gist.github.com/ddwang/0046da801bcb29d241869d37ad719394
# 1) No longer has a hard-coded COMMIT
# 2) Auto-symlinks a "code" script to avoid wslCode.sh breaking
# HOW TO INSTALL:
# 1) Remove "c:\Users\<USER_NAME>\AppData\Local\Programs\cursor\resources\app\bin" from Windows Environment Settings
# 2) Modify this script with your Windows <USER_NAME> (NOT your WSL username) in the VSCODE_PATH variable