Skip to content

Instantly share code, notes, and snippets.

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

rvvvt rvvvt

💭
hail, traveler.
View GitHub Profile
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 / 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;
@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 / 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)
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 / 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"))
{
@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 / generate-ssh-key.sh
Created March 23, 2021 04:42 — forked from grenade/01-generate-ed25519-ssh-key.sh
Correct file permissions for ssh keys and config.
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/id_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/github_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/mozilla_rsa
@rvvvt
rvvvt / index.js
Created February 2, 2022 03:41 — forked from arnoclr/index.js
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")
@rvvvt
rvvvt / index.html
Created August 25, 2022 06:26
dynamically create form fields based on selection w jquery
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>form</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="manifest" href="site.webmanifest">