Skip to content

Instantly share code, notes, and snippets.

View groseler's full-sized avatar

Guilherme Röseler de Carvalho groseler

View GitHub Profile
@groseler
groseler / spotihosts
Created May 7, 2017 23:04
The hosts file entries to block Spotify audio ad servers.
127.0.0.1 media-match.com
127.0.0.1 adclick.g.doublecklick.net
127.0.0.1 www.googleadservices.com
127.0.0.1 open.spotify.com
127.0.0.1 pagead2.googlesyndication.com
127.0.0.1 desktop.spotify.com
127.0.0.1 googleads.g.doubleclick.net
127.0.0.1 pubads.g.doubleclick.net
127.0.0.1 audio2.spotify.com
127.0.0.1 www.omaze.com
@groseler
groseler / spotihosts
Created May 7, 2017 23:04
The hosts file entries to block Spotify audio ad servers.
127.0.0.1 media-match.com
127.0.0.1 adclick.g.doublecklick.net
127.0.0.1 www.googleadservices.com
127.0.0.1 open.spotify.com
127.0.0.1 pagead2.googlesyndication.com
127.0.0.1 desktop.spotify.com
127.0.0.1 googleads.g.doubleclick.net
127.0.0.1 pubads.g.doubleclick.net
127.0.0.1 audio2.spotify.com
127.0.0.1 www.omaze.com
[
{
"tags": ["some","other","etc"],
"date": "some day",
"title": "some Title",
"text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
"author": "Zé pincel",
"button": {
"url": "http://google.com",
"target": "_blank",
@groseler
groseler / dialog.html
Created August 8, 2019 13:09 — forked from coinsandsteeldev/dialog.html
Google Sheets script to allow multi-select in cells with data-validation (adapted from https://www.youtube.com/watch?v=dm4z9l26O0I)
<!DOCTYPE html>
<html>
<head>
<script>
var data
var formId = 'form'
function drawForm() {
if (!data) return
var outputEl = document.getElementById(formId);