Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block ceskobassman

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
rock3r /
Last active May 10, 2019
A simple bash script to enable demo mode on a Marshmallow+ device via ADB (based on


$ demo on|off [hhmm]

Enable or disable the demo mode on a connected Android device or emulator. You can also pass in a custom value for the system clock in the HHMM format (only used when you use the on command).

⚠️ This script only works on *nix systems and has only been tested on macOS with Bash (but should be portable).

jgilfelt /
Created Jan 9, 2016
An OkHttp interceptor that logs requests as curl shell commands
* Copyright (C) 2016 Jeff Gilfelt.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* Unless required by applicable law or agreed to in writing, software
You can’t perform that action at this time.