Skip to content

Instantly share code, notes, and snippets.

View fhavrlent's full-sized avatar
🤔
Is this real life, or is this just Fanta Sea?

Filip Havrlent fhavrlent

🤔
Is this real life, or is this just Fanta Sea?
View GitHub Profile
@fhavrlent
fhavrlent / app.jsx
Created March 27, 2023 13:18
zadanie
import React from "react";
import { render } from "react-dom";
import App from "./App";
// You have users object reference from previous exercise.
// Write functions what will get various data from users object.
const users = [
{ id: 1, name: "c", role: "admin", score: 20 },
{ id: 2, name: "b", role: "user", score: 10 },
@fhavrlent
fhavrlent / linkedin-accepter.js
Last active June 6, 2020 20:53
Accept all linkedin invitation at once 🤩
/**
* Step 1: Open https://www.linkedin.com/mynetwork/invitation-manager/?invitationType=CONNECTION
* Step 2: See all the pending requests you are too lazy to accept
* Step 3: Open the console in your browser
* Step 4: Paste in this script and run it, ignore any warnings (don't worry, just enter your credit card info when asked, it's totaly safe... 😎)
* Step 5: Profit
*/
const buttons = document.getElementsByClassName("invitation-card__action-btn artdeco-button artdeco-button--2 artdeco-button--secondary ember-view")
for (button of buttons) {
button.click()