Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am rdump on github.
  • I am tab2space (https://keybase.io/tab2space) on keybase.
  • I have a public key whose fingerprint is A632 B9CE DCF1 B931 65F3 072C D663 13F2 25EF D522

To claim this, I am signing this object:

@rdump
rdump / CWM-Tether-vs-OpenVPN.md
Last active November 30, 2017 20:15 — forked from rjohnson-ucar/CWM-Tether-vs-OpenVPN.txt
Error loading /tmp/tun.kext in Clockworkmod's Tether.app on Mac OS X / macOS -- I uninstalled OpenVPN to work around this

CWM Tether.app vs OpenVPN on Mac OS X / macOS

Error description

An "Error loading /tmp/tun.kext" in Clockworkmod's Tether.app for the Mac typically (often?) means that Tether.app failed to detect and unload an interfering tun/tap kext.

Tether.app thus gets an error return from the OS when it tries to insert itself into an already occupied spot.

TunnelBlick client works

2016-03-19
Here are a couple of options for getting to latest desired Android release when OTA fails on your Google Nexus.
Option 1 (manual OTA chain) may allow preservation of root access.
Option 2 (flashing new OS but not userdata) will require re-rooting if root access is needed.
Each of these options presumes you have installed and in your $PATH 'android', 'adb', 'fastboot', and other parts they need from the "Android SDK Tools" and "Android SDK Platform-tools" packages at http://developer.android.com/sdk/installing/index.html?pkg=tools and http://developer.android.com/sdk/index.html#Other
Also, you want to be relatively current on the release versions per http://tools.android.com/recent/updatingsdkfromcommand-line
$ android list sdk
@rdump
rdump / PyV8 in Kali for peepdf.txt
Created November 30, 2017 19:45 — forked from rjohnson-ucar/PyV8 in Kali for peepdf.txt
Installing PyV8 in Kali for use with peepdf
Installing PyV8 in Kali for use with peepdf
Kali 2016.1 rolling comes with peepdf 0.3, but it doesn't at present have PyV8 for javascript. peepdf may tell you this sad news. Here, we find out how to be happier.
First, we solve some dependencies. v8 relies upon boost. The dependencies aren't packaged up nicely, so builds will fail. You can fix that with an apt-get of dev packages
apt-get install libboost-python-dev
apt-get install libboost-thread-dev
Then we get v8 and PyV8 from old googlecode and put them in /usr/local/src

GigaVue 2404 & Other Factory Reset Instructions

Do this when you have lost the root password and all superuser passwords for a GigaVUE 2404 or other models of similar vintage.

Summary

Get into RedBoot ROM environment on console serial port via Control-C at boot. Issue reset command to restore factory defaults. Log in using default root password and set a new root password. Then rebuild configurations.

Steps

@rdump
rdump / Android File Transfer on macOS.md
Last active August 8, 2020 17:12
Simple steps to get Android File Transfer to recognize your phones and tablets on macOS (including 10.13 High Sierra)

Reports of Failures with macOS/Mac OS X and Android File Transfer.app

A quick search on DuckDuckGo or Google when you encounter the "No Android device found" dialog from the 2012 (latest) version of Google's Android File Transfer.app will tell you about multiple others seeing the same problem. Too few (none?) have the following solution.

Launch Order Matters

Do the following in order to have Android File Transfer.app show your Android phone or tablet's file contents.

  1. Connect your Android phone or tablet to your Mac (via USB-C, USB 2/micro-USB, or an adapter between the two, as necessary)
  2. Leave your device in "USB charging this device" mode
  3. Launch your Android File Transfer.app, and wait for "No Android device found"
  4. Switch your device to "Transfer files" mode
  5. You now have Android File Transfer.app displaying your device type along the top of its window, and your folders in the main pane of the window
  6. Transfer to your hearts content
@rdump
rdump / Technicolor C2100T DSL modem real DNS.md
Last active April 30, 2024 16:42
Configuring the Centurylink-sold Technicolor C2100T DSL modem to use real DNS

Configuring the Centurylink-sold Technicolor C2100T DSL modem to use real DNS

Here's how to get real DNS set up on a Technicolor C2100T modem. This works at minimum when you're doing PPPoE (the usual method) on a C2100T modem sold or rented to you by Centurylink.

Motivation

When you look up a nonexistent domain name, proper DNS service tells you it doesn't exist by returning Nonexistent Domain (NXDOMAIN).

In contrast, even on business lines, Centurylink's DNS service will snipe NXDOMAIN. Centurylink's servers (nameservers at 205.171.2.25 & 205.171.3.25 at least) return a Centurylink web server IP addresses when you should be getting NXDOMAIN.

@rdump
rdump / kubectl-multi-version-brews.md
Last active April 4, 2024 15:20
kubectl multi-version brews (kubernetes-cli formula)

kubectl multi-version brews

Applicability

The instructions below apply to older versions of Homebrew which still provide switch capability.

For current Homebrew, you'll likely need to keep Versions around, and build locally. Here's my versions repository https://github.com/rdump/homebrew-versions

MacPorts is now keeping versioned installations available as well, by default.

@rdump
rdump / FedEx-Algorithmic-Madness.txt
Created January 11, 2022 03:47
FedEx fails to deliver a package after a vacation hold and office closure due to fire, exhibiting algorithmic madness and baked-in customer disservice to accomplish this
[A cautionary tale of FedEx competence and madness, shown via their email messages to me about an unexpectedly timed gift sent by my employer.]
Tue, Dec 21, 2021, 7:05 AM
Hi, {Employer}. Your package from {Gift Box Co} is scheduled for delivery tomorrow.
[Since I'm out of town, I requested a vacation hold through the 3rd of January. It seemed to work.]
Tue, Dec 21, 2021, 11:42 AM
We have updated your FedEx Delivery Manager® profile as requested. We have changed the following section:
Vacation Hold section
@rdump
rdump / handbrake-iso-transcode.sh
Created October 29, 2023 17:57
Script for Handbrake CLI encoding standards including languages and subtitles
#!/bin/sh
# Handbrake ISO tracks transcode
# Mount an ISO, and give this script
# -i the path to the ISO's mount directory
# -d the path to the destination file directory (will be created)
# TODO: Figure out how to do AC3 passthrough for 2nd track of audios