Skip to content

Instantly share code, notes, and snippets.

View c-b5r's full-sized avatar

Cedric Bodemer c-b5r

  • Freiburg, Germany
View GitHub Profile
@madduci
madduci / ftth_openwrt.md
Last active October 21, 2025 20:49
Deutsche Telekom FTTH Access with OpenWRT

Configuring Deutsche Telekom FTTH Access with OpenWRT

After looking for alternatves to the suggested Router from Telekom (AVM FritzBox and HUawei Speedport), I've discovered the possibility of configuring my existing OpenWRT Router to act as gateway to the Telekom FTTH (Fiber To The Home) Magenta Zuhause package.

TL;DR

The WAN interface must be configured as follows (see your Telekom letter):

  • Protocol: PPPoE
  • PAP/CHAP username:
@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active October 21, 2025 19:04
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

@jclosure
jclosure / system-wide-clipboard.zsh
Created July 31, 2019 06:43 — forked from welldan97/system-wide-clipboard.zsh
Zsh copy & paste system wide for OS X, like in emacs
pb-kill-line () {
zle kill-line
echo -n $CUTBUFFER | pbcopy
}
pb-kill-whole-line () {
zle kill-whole-line
echo -n $CUTBUFFER | pbcopy
}
@heroheman
heroheman / ranger-cheatsheet.md
Last active October 25, 2025 04:55
Ranger Cheatsheet

Ranger Cheatsheet

General

Shortcut Description
ranger Start Ranger
Q Quit Ranger
R Reload current directory
? Ranger Manpages / Shortcuts
@braian87b
braian87b / wireless-link-bonding.sh
Last active July 14, 2023 16:58
Linux Interface Bonding on Wireless Link (OpenWrt / LEDE)
@atoponce
atoponce / gist:07d8d4c833873be2f68c34f9afc5a78a
Last active October 12, 2025 19:54 — forked from tqbf/gist:be58d2d39690c3b366ad
Cryptographic Best Practices

Cryptographic Best Practices

Putting cryptographic primitives together is a lot like putting a jigsaw puzzle together, where all the pieces are cut exactly the same way, but there is only one correct solution. Thankfully, there are some projects out there that are working hard to make sure developers are getting it right.

The following advice comes from years of research from leading security researchers, developers, and cryptographers. This Gist was [forked from Thomas Ptacek's Gist][1] to be more readable. Additions have been added from

@xlab
xlab / matchbox-keyboard-toggler.c
Created July 13, 2012 11:16
Matchbox Keyboard Toggler
/*
A very simple program to send the toggle-keyboard event to matchbox-keyboard
Requires a version of matchbox-keyboard running in daemon mode (-d), and
must be a version of matchbox-keyboard that supports the toggle event.
Currently the SVN version meets this requirement.
Compiling:
gcc matchbox-keyboard-toggler.c -o matchbox-keyboard-toggler -lX11