Skip to content

Instantly share code, notes, and snippets.

View rohieb's full-sized avatar
🐧
penguining around

Roland Hieber rohieb

🐧
penguining around
View GitHub Profile
@rohieb
rohieb / gist:5861aad7241c28011c96a1b0636f1ca4
Last active October 15, 2024 23:11
Mastodon v4: be more economical with vertical space
/*
* Make Mastodon v4 (advanced interface) look more like Mastodon v3 with the avatars left
* of the post content, and the post indented by the same space.
* Also optimize use of vertical space for smaller displays.
* For use with a userstyle browser extension, e.g. Stylish.
* Original URL: https://gist.github.com/rohieb/5861aad7241c28011c96a1b0636f1ca4
* See example screenshot in https://chaos.social/@daniel_bohrer/111172981283274178
*/
.status__wrapper .status {
/* indicate media without a description
initial code by Paul (https://linernotes.club/@balrogboogie), expanded upon by FiXato (https://contact.fixato.org)
related discussion: https://dragonscave.space/@Mayana/106443499687608116.
Feel free to reuse it; it's public domain (https://linernotes.club/@balrogboogie/106681622019395866) */
.media-gallery__item-thumbnail img:not([alt]),
.audio-player__canvas:not([title]),
.video-player video:not([title]),
.media-gallery__gifv video:not([title])
{
border: 2px solid red;
@rohieb
rohieb / twitter-timeline-declutter.user.js
Last active April 25, 2022 12:38
Twitter Timeline Declutter user script
// ==UserScript==
// @name Twitter Timeline Declutter
// @namespace http://twitter.com/
// @version 2
// @description Remove "Who to Follow", "While you were away", "You might like" etc. from your timeline stream
// @author rohieb
// @homepage https://gist.github.com/rohieb/5df57de7625e0a2182f364b3c2b88599
// @updateURL https://gist.githubusercontent.com/rohieb/5df57de7625e0a2182f364b3c2b88599/raw
// @match *://twitter.com/*
// @grant GM_addStyle
-- SPDX-License-Identifier: 0BSD
-- Copyright (C) 2020 Roland Hieber
-- Convert headers of level >= 3 to LaTeX \paragraph{}s (usable with koma-script classes)
--
if FORMAT ~= "latex" and
FORMAT ~= "beamer" and
FORMAT ~= "json" and
FORMAT ~= "native"
then
@rohieb
rohieb / ffmpeg-screengrab.sh
Created May 8, 2020 09:05
ffmpeg screengrabber
#!/bin/sh
usage() {
cat << EOF
ffmpeg screengrabber wrapper. End recording by pressing 'q'.
Usage: $0 [options] [name]
Parameters:
name optional string to include in the file name
@rohieb
rohieb / README.md
Last active May 1, 2019 19:53
IBR-DTN on OpenWRT on the Raspberry Pi

OpenWRT image for Raspberry Pi with IBR-DTN.

Steps to reproduce:

(This is an abridged version of OpenWRT Buildroot – Installation and Usage)

  1. Get a fast machine with at least ~10 GB of free space.
  2. For Raspberry Pi 1 and 2, you can use the latest release, 15.05 “Chaos Calmer”:
    • git clone git://git.openwrt.org/15.05/openwrt.git openwrt
    • cd openwrt
@rohieb
rohieb / webinar-datenschutz-grundverordnung-für-kleine-vereine-shownotes.txt
Created May 6, 2018 15:03
Shownotes zum Webinar "Datenschutz-Grundverordnung für kleine Vereine"
Webinar: Datenschutz-Grundverordnung für kleine Vereine
https://www.youtube.com/watch?v=5NmiaDEg3o8
(Shownotes by rohieb)
00:00:00 Einleitung
00.03:30 Agenda
00:05:00 Was ist Datenschutz?
- Abgeleitet aus Grundgesetz, Grundrecht auf Persönlichkeitsrecht
- Europäische Grundrechtecharta
- Ziel: Schutz des Einzelnen vor Beeinträchtigung des Persönlichkeitsrechts
Mission Impossible: Open Source Compliance for 1990's Licenses in Today's World
Will the OS Community Soon Face OSS Trolls?
Dr. Hendrik Schöttle, Fachanwalt für IT-Recht, osborneclarke.com
Slides: https://schd.ws/hosted_files/osseu17/85/Osborne%20Clarke%20-%20Hendrik%20Sch%C3%B6ttle%20-%20Open%20Source%20Summit%20Europe%20-%2023%2010%202017.pdf
"First I will disappoint you: I won't have an out-of-box-solution" :(
compliance issues will likely increase in the next years
outline:
@rohieb
rohieb / README.md
Last active January 22, 2017 03:16
Dōmo-kun

Dōmo-kun

Dōmo-kun wallpaper

This design is licensed unter CC0.

Index:

  • dōmo-kun.{png,svg}: wallpaper version
  • dōmo-kun-{red,black,white}.svg: suitable for cut-plotting e.g. on heat transfer foil. the small rectangle in the lower left helps distinguishing the edges. remove it before the heat transfer.