Skip to content

Instantly share code, notes, and snippets.

@ste-fan
ste-fan / s_dplyr.R
Last active August 29, 2015 14:01 — forked from jknowles/s_dplyr.R
# Helper functions that allow string arguments for dplyr's data modification functions like arrange, select etc.
# Author: Sebastian Kranz
# Examples are below
#' Modified version of dplyr's filter that uses string arguments
#' @export
s_filter = function(.data, ...) {
eval.string.dplyr(.data,"filter", ...)
}
@ste-fan
ste-fan / mf28x_find_deltas.py
Created September 16, 2024 17:21 — forked from Leo-PL/mf28x_find_deltas.py
Delta update finder for ZTE MF283+, MF286, MF286A and MF286D routers
#!/usr/bin/python3
# Original script by frutis, mods by Leo-PL
# Usage:
# 1. uncomment proper section for your router (MF283+, MF286, MF286A, MF286D).
# 2. set correct IME if you have one
# 3. Set correct version ID (the integrate_version from NVRAM) for your device if not already found here
# 4. Run the script - it shall return the URL of data update, if available for the set base version.
from base64 import b64decode, b64encode