Skip to content

Instantly share code, notes, and snippets.

dschense dschense

Block or report user

Report or block dschense

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
dschense /
Created Jan 18, 2020
Export TOTP tokens from Authy

Generating Authy passwords on other authenticators

  1. Install Authy from Chrome Web Store: Download
  2. Open Authy and log in, so you can see the codes being generated for you
  3. Go to Extensions page in your browser: chrome://extensions/ or Menu -> More tools -> Extensions)
  4. Tick developer mode in top right corner
  5. Find Authy from the list and then click on main.html
  6. Chrome developer tools with Console selected should open. If it didn't, go to Console tab.
  7. Paste following and press enter:
View qmi_strength
function qmi_strength {
dbm=`$COMMAND_PREFIX $QMICLI -d $CDC_WDM --nas-get-signal-strength | tr "'" " " | grep Network | head -1 | awk '{print $4}'`
echo -n "Signal strength is "
if [ $dbm -ge -73 ]; then
echo -n 'Excellent'
elif [ $dbm -ge -83 ]; then
echo -n 'Good'
elif [ $dbm -ge -93 ]; then
echo -n 'OK'
elif [ $dbm -ge -109 ]; then
dschense /
Created May 1, 2019 — forked from bep/
Run Hugo on an Android phone

First install Termux

Then there are two options:

Build from source

Open the Termux terminal on your Android device and copy-and-paste the commands listed below and hit ENTER:

dschense / .bashrc
Created Aug 13, 2018
ParrotOs graphical .bashrc
View .bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
dschense / installation
Created Oct 21, 2017
View installation
Installationsanleitung für Archlinux mit BTRFS - Snapshots - Rollback etc. alles was das Herz begehrt!
UEFI - Installation:
- Boot iso:
dschense /
Created May 11, 2017
Servercow dyndns update-script for cron
#This is a little script to update dyndns for
#the script uses the official - updatelink
#fill in the example lines to use your personal settings.
#change to your main domain part
#tmp file to store the ip
View Proxmox ODD Grub USB Boot
If Your Grub Partition Contains A Full OS Install
sudo mount /dev/sda1 /mnt
sudo chroot /mnt
sudo update-grub2
If Your Grub Partition Only Contains Boot Files
In my case the grub partition was a stand-alone boot partition with no system installed, so I had to bring in most of the system to the chroot environment first:
mkdir /mnt/chrootdir
dschense / 1. MYSQL
Last active Oct 4, 2016
Mysql Sammlung

Keybase proof

I hereby claim:

  • I am dschense on github.
  • I am jens_walser ( on keybase.
  • I have a public key ASAUqIlHc4rjwXnd_ioyAIYSka6pljOp1pXty-_-qNSXhgo

To claim this, I am signing this object:

dschense / backup
Last active Aug 4, 2016
backup mit borg
View backup
# This is a simple backup script using borg. It's supposed to serve as a
# starting point and to be adjusted to your system.
# Important steps:
# - define a host "backup" in root's .ssh/config
# - read the script and adjust to your needs
# - As root run `borg init -v --encryption=keyfile backup:borg-$HOSTNAME`
# (note that zsh uses $HOST instead of $HOSTNAME)
# - If you want, increase the max_segment_size in
You can’t perform that action at this time.