Skip to content

Instantly share code, notes, and snippets.

View WeirdCircumstances's full-sized avatar
😉

benb WeirdCircumstances

😉
  • Berlin, Germany
View GitHub Profile
@JoeyBurzynski
JoeyBurzynski / 55-bytes-of-css.md
Last active April 10, 2024 20:23
58 bytes of css to look great nearly everywhere

58 bytes of CSS to look great nearly everywhere

When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:

main {
  max-width: 38rem;
  padding: 2rem;
  margin: auto;
}
@Pindar
Pindar / README.md
Last active February 13, 2023 21:23 — forked from mill1000/README.md
Headless A2DP Audio Streaming on Raspbian Stretch

About

This gist will show how to setup Raspbian Stretch as a headless Bluetooth A2DP audio sink. This will allow your phone, laptop or other Bluetooth device to play audio wirelessly through a Rasperry Pi.

Motivation

A quick search will turn up a plethora of tutorials on setting up A2DP on the Raspberry Pi. However, I felt this gist was necessary because this solution is:

  • Automatic & Headless - Once setup, the system is entirely automatic. No user iteration is required to pair, connect or start playback. Therefore the Raspberry Pi can be run headless.
  • Simple - This solution has few dependencies, readily available packages and minimal configuration.
  • Up to date

Prerequisites

HowTo set it up

  1. Install the admin_notifications app
  2. Create system-notifications.sh with the content from below on your system
  3. Add the script to the cronjob crontab -u www-data -e:
0 10 * * * /path/to/file/system-notifications.sh
@motey
motey / gist:3028650e159d1e4e3bd30312aa822954
Created December 9, 2016 11:58
Musterbrief an Landgericht Hamburg bzgl. Beschluss vom 18. November (Az. 310 O 402/16)
https://www.heise.de/forum/heise-online/News-Kommentare/Gericht-bestaetigt-Haftung-fuer-Urheberrechtsverletzungen-auf-verlinkten-Seiten/Musterbrief/posting-29616440/show/
Sehr geehrte Damen und Herren,
gerne würde ich über ihren Beschluss vom 18. November (Az. 310 O 402/16) auf meiner Internetseite berichten. Im Rahmen der Berichterstattung möchte ich auch einen Link auf ihre Rechtsprechungsdatenbank hinterlegen, damit sich die Leser meines Berichts ein Bild über die Rechtsprechung ihres Hauses machen können.
Da ich nicht über Einsicht in alle ihre Vertragsangelegenheiten habe und somit nicht feststellen kann, ob für manche Medien auf ihrer Seite die Nutzungsrechte evtl. zeitlich beschränkt waren, komme ich auf diesem Wege meiner Pflicht zur Nachforschung nach und möchte mir von Ihnen als Seitenbetreiber eine Versicherung an Eides statt einholen, dass sie die entsprechenden Rechte zur Veröffentlichung haben.
Zur Vermeidung späterer Rechtsnachteile bitte ich hiermit im Sinne ihres o.g. Beschlusses um schri
@joepie91
joepie91 / vpn.md
Last active May 1, 2024 01:04
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.