Skip to content

Instantly share code, notes, and snippets.

View rvvvt's full-sized avatar
💭
hail, traveler.

rvvvt rvvvt

💭
hail, traveler.
View GitHub Profile
@phpenterprise
phpenterprise / linkedin-auto-connect.js
Last active December 2, 2024 00:28
Linkedin Auto Connect/Invite Script
(Linkedin = {
release: '1.0.5 stable',
data: {},
config: {
autoStart: true,
inspectorSpeed: 5000,
sendSpeed: 4000,
pagerSpeed: 10000,
scrollDownAuto: 600,
debug: true,
@beatobongco
beatobongco / scrape.js
Created September 3, 2019 09:30
Scraping a webpage via console
// Create an interval which will keep scrolling downwards
const interval = setInterval(() => {
window.scrollTo(0, document.body.scrollHeight)
}, 250)
// If there are no more items, you can call `clearInterval(interval)` to stop scrolling
// Now copy the below code to scrape data and download a file containing the data
;(() => {
// Define a function to scrape elements we want
@judero01col
judero01col / Service KMS
Last active May 9, 2025 13:14
Volume License Activation Key Service - KMS
## Find Available Target Editions
DISM.exe /Online /Get-TargetEditions
## Convert Server Standard 2019 Evaluation to Server Standard 2019
DISM /online /Set-Edition:ServerStandard /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula
## How To Activate
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr /skms [server]:[port]
slmgr /ato
@vainolo
vainolo / Method2.cs
Last active February 23, 2021 22:43
public static void Scrape()
{
var scraper = new HtmlWeb();
var page = scraper.Load("https://vainolo.z14.web.core.windows.net/WebScraping.html");
var nodes = page.DocumentNode.Descendants().SkipWhile(e => e.Id != "Techniques").Skip(1).TakeWhile(e => e.Name != "h2");
foreach (var currNode in nodes)
{
if(currNode.GetClasses().Contains("mw-headline"))
{
@KMurphs
KMurphs / scrappe.js
Last active February 16, 2023 16:00
Save JS Object as file from DevTools
/**
* Given some Javascript object, the function will have the browser download it as a
* json file (exactly like if it was downloaded from some server).
* The content of the file downloaded by the browser would be the "data" object input.
* One could also pass a name for the file to be downloaded to the function.
* References:
* - https://www.freecodecamp.org/news/how-to-use-the-browser-console-to-scrape-and-save-data-in-a-file-with-javascript-b40f4ded87ef/
* - https://github.com/edubey/browser-console-crawl/blob/master/single-story.js
* @date 2021-06-18
* @param {object} data
@arnoclr
arnoclr / index.js
Last active February 2, 2022 03:41
Instagram JS images scraper by tag
const IMAGES_NUM = 250
let imgSrcs = new Set()
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
function appendImages() {
var imgs = document.getElementsByTagName("img")