This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(async function(){ | |
const UNFOLLOW_LIMIT = 800 | |
const delay = (ms) => new Promise(_ => setTimeout(_, ms)) | |
const findButton = (txt) => [...document.querySelectorAll("button").entries()].map(([pos, btn]) => btn).filter(btn => btn.innerText === txt)[0] | |
console.log("Start") | |
for (let i = 0; i < UNFOLLOW_LIMIT; i++) { | |
const $next = findButton("Seguindo") | |
if (!$next) { continue } | |
$next.scrollIntoViewIfNeeded() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license | |
*/ | |
package com.mycompany.calcula; | |
import java.util.Scanner; | |
/** | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Para compilar: | |
// g++ -o avl avl.cpp | |
// Para executar: | |
// chmod +x avl | |
// ./relatorio1 | |
// retorna a saída das movimentações em nodes após os insert e remove na árvore avl | |
#include <iostream> | |
#include <algorithm> | |
using namespace std; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## | |
# Checagem e toogle de modo de apresentação XFCE4 | |
# Criado por Je4nPw | |
# | |
# Copie esse script para /usr/local/bin | |
# Faça executável com chmod +x | |
## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <fstream> | |
#include <iostream> | |
#include <vector> | |
using namespace std; | |
int main() | |
{ | |
string line_passwd, line_group; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <fstream> | |
#include <vector> | |
#include <string> | |
#include <sys/stat.h> | |
#include <filesystem> | |
using namespace std; | |
int main() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# What a surprise, there is no official Runcloud uninstallation script for your server, | |
# you can see it at https: //runcloud.io/docs/guide/server-management/delete-server | |
# they say "To completely uninstall RunCloud, you must reformat your server. We do not have an uninstallation script." | |
#This script may help, no need to describe every step the echos say it all | |
#!/bin/bash | |
echo "Removing runcloud user from system" | |
sudo userdel -r runcloud |