Skip to content

Instantly share code, notes, and snippets.

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

rvvvt rvvvt

💭
hail, traveler.
View GitHub Profile
@rvvvt
rvvvt / Engine.cs
Created February 24, 2021 02:21 — forked from andrewpisula/Engine.cs
A Proxy Scraper created by mysterious.
using System;
using System.Net;
using System.Text.RegularExpressions;
namespace Proxy_Scraper
{
class Engine
{
public static string ScrapeProxies()
{
@rvvvt
rvvvt / Method2.cs
Created February 23, 2021 22:43 — forked from vainolo/Method2.cs
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"))
{
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Screenshotter : MonoBehaviour {
public TextMesh text;
public void Awake() {
float r = 1, g = 1, b = 1;
// Read r, g and b parameters passed into the query as <URL>?r=0.5?g=0?b=0.1
@rvvvt
rvvvt / Ava.cs
Created February 23, 2021 18:31 — forked from wildbillcat/Ava.cs
using System;
using System.Collections.Generic;
using System.Net;
using HtmlAgilityPack;
namespace ConsoleApplication
{
class Program
{
static void Main(string[] args)
@rvvvt
rvvvt / Scraper.cs
Created February 23, 2021 18:30 — forked from simonmurdock/Scraper.cs
scraper
using System;
using System.Diagnostics;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net.Http;
using HtmlAgilityPack;
namespace scraper
@rvvvt
rvvvt / iframe.js
Created September 3, 2020 02:02
iframe tweaks and hacks. a js file from a wordpress plugin. some utils in here to pick and choose though for non-wp projects.
/**
* Advanced iframe pro functions v2020.4
*/
/* jslint devel: true, unused: false */
/* globals ai_show_id_only:false, aiIsIe8: false, aiChangeUrl: false, aiResizeIframeHeightId: false, aiShowIframeId: false, findAndReplaceDOMText: false */
var aiEnableCookie=false;
var aiId='';
var aiExtraSpace = 0;
var aiAccTime = 0;
var input = `
Paste list of First and last names here
`;
var names = input.trim().split('\n');
var people = [];
var i = 0;
function loop() {
@rvvvt
rvvvt / unfollow.js
Created February 13, 2020 22:10 — forked from JamieMason/unfollow.js.md
Unfollow everyone on twitter.com
// Unfollow everyone on twitter.com, by Jamie Mason (https://twitter.com/fold_left)
// https://gist.github.com/JamieMason/7580315
//
// 1. Go to https://twitter.com/YOUR_USER_NAME/following
// 2. Open the Developer Console. (COMMAND+ALT+I on Mac)
// 3. Paste this into the Developer Console and run it
(() => {
const followButtonQuery = '[data-testid$="-unfollow"]';
const confirmButtonQuery = '[data-testid="confirmationSheetConfirm"]';
const sleep = ({ seconds }) =>
@rvvvt
rvvvt / auto-twitter-follow.js
Last active September 8, 2022 03:00
run this in your chrome dev tools console to click "follow" in 1 second intervals.
but = $$('[data-testid*="-follow"]')
//for (i in but) {but[i].click()}
for (var i = 0; i < but.length; i++) {
let button = but[i]
setTimeout(() => {
button.click()
}, 1000 * i)
}
@rvvvt
rvvvt / style
Created September 10, 2019 02:43
<style>
body {
margin: 0;
display: grid;
height: 100vh;
place-items: center;
background-color: #000;
font-size: 12px;
}