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 / 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 / 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">