Skip to content

Instantly share code, notes, and snippets.

View NuarkNoir's full-sized avatar
👀
hello there

Andrew NuarkNoir

👀
hello there
View GitHub Profile
// ==UserScript==
// @name HideCommentsOnPinterest
// @namespace http://tampermonkey.net/
// @version 0.4
// @description title is descriptive
// @author nuark
// @match https://pinterest.com/pin/*
// @match https://*.pinterest.com/pin/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=pinterest.com
// @grant none
@NuarkNoir
NuarkNoir / mirrorbg.user.js
Last active October 24, 2023 07:22
MirrorBg
// ==UserScript==
// @name MirrorBg
// @namespace http://tampermonkey.net/
// @version 0.2
// @description make mirror background on any site (very simple so some arent really working)
// @author nuark
// @match https://*/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=stackoverflow.com
// @grant none
// ==/UserScript==
// ==UserScript==
// @name Xuita
// @namespace http://tampermonkey.net/
// @version 0.1
// @description etot ebaniy script delaet kakuuto huinu i ochen neeffectivno, no mne pohui, ya ego napisal za 30 sekund, literaly dolshe seichas sizhu i pishoo etot ebaniy comentariy
// @author nuark
// @match https://abiturient.sfu-kras.ru/entrants-lists-rating*
// @icon https://www.google.com/s2/favicons?sz=64&domain=sfu-kras.ru
// @grant none
// ==/UserScript==
let count = 5;
let magn = 200;
let levels = 8;
function setup() {
createCanvas(600, 600);
strokeWeight(1);
stroke(255, 204, 0);
noFill();
}
SetDefaultMouseSpeed, 0
SetBatchLines, -1
ListLines, Off
$LButton::
While, GetKeyState("LButton", "P")
Click
Return
Numpad5::Suspend
#!/usr/bin/env python3
from http.server import BaseHTTPRequestHandler, HTTPServer
import logging
import json
import youtube_dl
import asyncio
downloading_queue = asyncio.Queue(maxsize=1000)
ydl = youtube_dl.YoutubeDL({'outtmpl': '%(id)s.%(ext)s'})
is_stopping = False
Function Get-Folder($initialDirectory="", $Description="Select a folder") {
[System.Reflection.Assembly]::LoadWithPartialName("System.windows.forms") | Out-Null
$foldername = New-Object System.Windows.Forms.FolderBrowserDialog
$foldername.Description = $Description
$foldername.rootfolder = "MyComputer"
$foldername.SelectedPath = $initialDirectory
if($foldername.ShowDialog() -eq "OK") {
$folder += $foldername.SelectedPath
@NuarkNoir
NuarkNoir / ponyclicker_bot.user.js
Created December 27, 2020 18:40
PonyClicker Bot - yes
// ==UserScript==
// @name PonyClicker Bot
// @namespace http://tampermonkey.net/
// @version 0.1
// @description yes
// @author kirasunnight && nuark
// @match https://erikmcclure.com/PonyClicker/ponyclicker.html
// @grant none
// ==/UserScript==
@NuarkNoir
NuarkNoir / ecrush.user.js
Created December 10, 2020 05:20
ECrash - New eCourses crash screen
// ==UserScript==
// @name ECrash
// @namespace http://tampermonkey.net/
// @version 0.1
// @description New eCourses crash screen
// @author Nuark
// @match https://e.sfu-kras.ru/*
// @grant none
// ==/UserScript==
@NuarkNoir
NuarkNoir / vk_music_export.js
Created July 17, 2020 08:30
Export list of tracks from vk
[...document.querySelectorAll(".audio_row__performer_title")]
.map(e =>
[".audio_row__performers", ".audio_row__title_inner"]
.map(sel => e.querySelector(sel).textContent.trim())
.join(" - ")
)
.join("\n");
// You have to preload all your list
// Then just paste in console and execute