Skip to content

Instantly share code, notes, and snippets.

View piejanssens's full-sized avatar
👻

Pieter Janssens piejanssens

👻
View GitHub Profile
@mathix420
mathix420 / medium.user.js
Last active December 5, 2025 15:17
Bypass Medium Paywall - Working late 2023 - Greasy Fork, Violentmonkey, Tampermonkey - Click the RAW button to install
// ==UserScript==
// @name Medium Paywall Bypass
// @namespace Violentmonkey Scripts
// @run-at document-start
// @match *://*.medium.com/*
// @match *://medium.com/*
// @match *://*/*
// @grant none
// @version 3.0
// @inject-into content
@IObert
IObert / .zhsrc
Last active March 3, 2021 11:02
Simple aliases to make the life of CF developers easier
function checkCfStatus () {
if echo $(cf a 2>&1 >/dev/null) | grep -q 'The token expired\|Not logged in' $OUTPUT; then
cf login
fi
}
function preexecHook () {
if echo $1 | grep -q "cf "; then
checkCfStatus
fi
@samuelcolvin
samuelcolvin / motorola_camera_setup.md
Last active December 4, 2025 17:02
Hubble Motorola Focus 66-W Camera "CameraHD" setup

Use the Hubble app to get the camera connected to a wifi network.

Find the Camera's IP address:

> sudo arp-scan --interface=enp3s0 --localnet
Interface: enp3s0, datalink type: EN10MB (Ethernet)
Starting arp-scan 1.8.1 with 256 hosts (http://www.nta-monitor.com/tools/arp-scan/)
192.168.1.100	00:19:99:0f:6a:98	Fujitsu Technology Solutions
192.168.1.102	c4:6e:1f:53:f0:8b	(Unknown)