Skip to content

Instantly share code, notes, and snippets.

View shamilovstas's full-sized avatar

Stanislav Shamilov shamilovstas

  • SoftServe
  • Kharkiv, Ukraine
View GitHub Profile
@shamilovstas
shamilovstas / mitmproxy cheat sheet
Last active June 18, 2019 12:30 — forked from 2bard/mitmproxy cheat sheet
mitmproxy cheat sheet
Movement:
j, k down, up
h, l left, right (in some contexts)
space page down
pg up/down page up/down
arrows up, down, left, right
@shamilovstas
shamilovstas / themes-debug.xml
Created September 2, 2017 23:50 — forked from dlew/themes-debug.xml
With the new theming in AppCompat, a lot of assets are tinted automatically for you via theme attributes. That has often led me to wonder "where the hell did this color come from?" You can replace your normal theme with this debug theme to help figure out the source of that color.
<!-- You can change the parent around to whatever you normally use -->
<style name="DebugColors" parent="Theme.AppCompat">
<!-- System colors -->
<item name="android:windowBackground">@color/__debugWindowBackground</item>
<item name="android:colorPressedHighlight">#FF4400</item>
<item name="android:colorLongPressedHighlight">#FF0044</item>
<item name="android:colorFocusedHighlight">#44FF00</item>
<item name="android:colorActivatedHighlight">#00FF44</item>