Skip to content

Instantly share code, notes, and snippets.

View pedrohills's full-sized avatar
😎
Very excited!

Pedro Henrique pedrohills

😎
Very excited!
View GitHub Profile
@pedrohills
pedrohills / exemplo.html
Last active January 20, 2016 23:15 — forked from peas/exemplo.html
Página exemplo do livro de design responsivo
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Layout Fixo</title>
<link href="style.css" rel="stylesheet" />
</head>
<body>
<div class="container">
@pedrohills
pedrohills / rsync_all_media_mounted.sh
Created December 19, 2016 13:42 — forked from samirfor/rsync_all_media_mounted.sh
Rsync incremental + beep when finished
#!/bin/bash
for mount_point in $(find /media/samir/ -mindepth 1 -type d); do
if ! mountpoint -q ${mount_point}/; then
continue
fi
echo ":: ${mount_point}"
rsync --archive --verbose --human-readable --progress \
--delete --delete-excluded --exclude="*Thumbs.db" \
"/home/samir/Downloads/Fortaleza2040/" "$mount_point" &
@pedrohills
pedrohills / quick-race-cryptojetski-trick.js
Last active February 2, 2022 16:57
CryptoJetski Quick Race and Refuel Trick
// When executing this code, the form to fill the captcha will appear. After that, the captcha will be filled in automatically and the race will start.
// Run the code until all your jetskis races are finished. Tip: with the console open, use the up key on the keyboard and press enter to repeat the last code executed.
// At the "Play Game" screen, press F12. Paste the code below in the "Console" tab.
// Na página "Play Game" pressione F12. Cole o código abaixo na aba "Console".
$(".race_button").first().click();
setTimeout(function() {
$("#input_captcha").val($("#raceModal h2").first().html());
$("#race_play").click();
}, 500);