Skip to content

Instantly share code, notes, and snippets.

View guianzollin's full-sized avatar

Guilherme Anzollin guianzollin

View GitHub Profile
@prasofty
prasofty / margin_padding_helper.css
Last active April 10, 2023 17:29
Margin Padding Helper CSS
.p-0 {
padding: 0px;
}
.p-3 {
padding: 3px;
}
.p-5 {
padding: 5px;
@fredericogg
fredericogg / playlist_time.js
Last active December 30, 2023 16:16
Calcula o tempo total de uma playlist no Youtube. É só colar no console na página da playlist. Fiz esse script porque não achei o tempo total da playlist 😅.
(function() {
var timeSeconds = 0;
var timestampDivList = document.querySelectorAll(".timestamp");
for(var i = 0; i < timestampDivList.length; i++) {
var timestampDiv = timestampDivList[i];