Skip to content

Instantly share code, notes, and snippets.

View RusseII's full-sized avatar
💰
Love Life

Russell Bookland RusseII

💰
Love Life
View GitHub Profile
{
"lido.fi": [
"jaime.ns.cloudflare.com.",
"nancy.ns.cloudflare.com."
],
"arbitrum.io": [
"arya.ns.cloudflare.com.",
"james.ns.cloudflare.com."
],
"wbtc.network": [
This file has been truncated, but you can view the full file.
[
{
"id": "182",
"name": "Lido",
"address": "0x5a98fcbea516cf06857215779fd812ca3bef1b32",
"symbol": "LDO",
"url": "lido.fi",
"referralUrl": "https://stake.lido.fi/?ref=0x08a3c2A819E3de7ACa384c798269B3Ce1CD0e437",
"description": "Liquid staking for Ethereum and Polygon. Daily staking rewards, no lock ups.",
"chain": "Multi-Chain",
// Open venmo.com and login
// change the `multiplesOf50` variable to how many last people you want to like. This example has it as 20 multiples of 50
// that means it will like the last 1000 requests
// copy paste this command in the command prompt
// RUN PArt 1 wait for it to finish then run PART 2
//PART 1
id = 3129434580348567909 // change to one of the IDS on YOUR page
ids = []
@RusseII
RusseII / token.ts
Last active October 23, 2020 11:41
import { NowRequest, NowResponse } from '@vercel/node';
const AccessToken = require('twilio').jwt.AccessToken;
const VideoGrant = AccessToken.VideoGrant;
const fourHours = 14400;
const MAX_ALLOWED_SESSION_DURATION = fourHours;
const twilioAccountSid = process.env.TWILIO_ACCOUNT_SID;
const twilioApiKeySID = process.env.TWILIO_API_KEY_SID;
const twilioApiKeySecret = process.env.TWILIO_API_KEY_SECRET;
{
"resourceType":"Bundle",
"id":"96bff9cf-bdfc-477f-b338-3c4af4d30a22",
"meta":{
"lastUpdated":"2020-10-04T20:45:46.668-04:00"
},
"type":"searchset",
"total":29,
"link":[
{
netstat: sysctl: net.inet.ip.input_perf_data: No such file or directory
tcp:
0 packet sent
0 data packet (0 byte)
0 data packet (0 byte) retransmitted
0 resend initiated by MTU discovery
0 ack-only packet (0 delayed)
0 URG only packet
0 window probe packet
0 window update packet
z = temp1.map(v => v.createdBy)
q = [...new Set(z)]
// this is the only variable you should edit, pick the times you would like to work. 7 = 7am, 13 = 1pm
const times = [7, 8, 9, 11, 12, 13, 15, 16, 17];
const dates = [1, 2, 3, 4, 5, 6, 7];
const trueTimes = times.map(time => (time * 4) + 1);
dates.forEach(date => {
trueTimes.forEach(time => {
const personSlot = document.querySelector(`body > app-root > app-calendar > mat-sidenav-container > mat-sidenav-content > div > fm-calendar > div > div.fm-scrollable-cal > div.cal-slots > div:nth-child(${date}) > mat-grid-list > div > mat-grid-tile:nth-child(${time}) > figure > app-session-tile > div > div.fm-empty-left-side.ng-star-inserted `);
const emptySlot = document.querySelector(`body > app-root > app-calendar > mat-sidenav-container > mat-sidenav-content > div > fm-calendar > div > div.fm-scrollable-cal > div.cal-slots > div:nth-child(${date}) > mat-grid-list > div > mat-grid-tile:nth-child(${time}) > figure > app-session-tile > div`);
import React, { useEffect, useRef, useState, useCallback } from 'react';
type IframeGoogleDocsProps = {
url: string,
};
export function IframeGoogleDoc({ url }: IframeGoogleDocsProps) {
const [iframeTimeoutId, setIframeTimeoutId] = useState<any>();
const iframeRef: any = useRef(null);