Skip to content

Instantly share code, notes, and snippets.

View yazdipour's full-sized avatar
:shipit:
Vibing

Shahriar yazdipour

:shipit:
Vibing
View GitHub Profile
// Set premium status without reload
localStorage.setItem('isWZPremiumActive', 'true');
// Try to remove any blur/overlay classes that might be hiding content
document.querySelectorAll('[class*="premium"], [class*="locked"], [class*="blur"]').forEach(el => {
el.style.filter = 'none';
el.style.pointerEvents = 'auto';
el.style.opacity = '1';
});
@yazdipour
yazdipour / Daily Düsseldorf Document Status Checker.json
Last active November 15, 2025 12:13
N8N Auto Daily Düsseldorf Document Status Checker With Telegram
{
"name": "Daily Düsseldorf Document Status Checker",
"nodes": [
{
"parameters": {
"rule": {
"interval": [
{
"field": "hours",
"hoursInterval": 3
from notion_client import Client
from typing import List, Optional
import ollama
import json
database_id = "...."
notion_token = "secret_...."
llm_model = 'llama3.2'
llm_model = 'qwen2.5'
# A python scrapper that https://www.einbuergerungstest-online.eu/fragen/{page_number_start_from_1_to_10}/ and scrapes the questions and answers from the page.
# The scrapper should return the questions (class=questions-question-text) and multiple choose options (li elements inside class=list-unstyled question-answers-list and class=question-answer-right is the answer) and progress percentage(class=progress-bar-success) in a json format.
# The scrapper should be able to scrape all the 10 pages and save it in a json file.
# The output should be in the following format:
# {
# "questions": [
# {
# "question_id": "1",
# "question": "In Deutschland dürfen Menschen offen etwas gegen die Regierung sagen, weil …",
# This PowerShell script will prevent your computer from going to sleep by randomly moving the mouse and pressing the Shift key.
# Just run it and enjoy your remote working time at home!
$idleTimeThreshold = 60 # Idle time threshold in seconds
$sleepTime = $idleTimeThreshold / 10 # Sleep time as 1/10th of idle time threshold
if (-not ([System.Management.Automation.PSTypeName]'DoNotSleep').Type) {
Add-Type @"
using System;
using System.Runtime.InteropServices;
import pyautogui
import time
for i in range(20):
pyautogui.click(1888, 1000)
time.sleep(5)
print(i)
function deleteAll() {
$('button[data-cy="Delete"]').each(
function (index, element) {
console.log(index);
$(element).click().delay(200);
$('button[data-cy="delete-confirm"]').click().delay(200);
}
);
}
// Each time you can delete 26 articles in ListView, 21 in GridView.
@yazdipour
yazdipour / watchlater-keyword.js
Created July 14, 2022 22:30
Collected Youtube watchlater based on keyword
var urls = {};
$('ytd-playlist-video-renderer').each(function (index, value) {
var keywords = ["uwp", 'xaml', "xamarin", 'quantum', 'android', 'css', 'tax', 'unity', 'game', 'asp', 'linq', 'graphql', 'c#', 'python', 'canada', 'windows', 'dell'];
var hyperlink = $(value).find('a.ytd-playlist-video-renderer')[0];
var videoTitle = hyperlink.innerText.toLowerCase();
// for all keywords in the array
for (var i = 0; i < keywords.length; i++) {
// if the keyword is in the title
if (videoTitle.includes(keywords[i])) {
// urls.push(hyperlink.href);
@yazdipour
yazdipour / bleu.ipynb
Created February 1, 2022 00:36
bleu.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.