Skip to content

Instantly share code, notes, and snippets.

View wardbeyens's full-sized avatar

Ward Beyens wardbeyens

View GitHub Profile
@cdugeai
cdugeai / styles.css
Last active October 7, 2023 12:39 — forked from patik/styles.css
Numbered Headings in Markdown via CSS
body {
counter-reset: h1
}
h1 {
counter-reset: h2
}
h2 {
counter-reset: h3
@jbowdre
jbowdre / Fossil_Watch_Debloat
Last active March 20, 2023 14:58
Debloating Fossil Group Wear OS watches for fun and profit...
# Reference https://www.reddit.com/r/WearOS/comments/en3989/debloat_the_fossil_smartwatch/
# Connect to the watch with 'adb connect IP_ADDRESS:PORT'
# Open an ADB shell with 'adb -s IP_ADDRESS:PORT shell'
# Then paste in all this stuff:
pm uninstall --user 0 com.dianping.v1
pm uninstall --user 0 com.google.android.wearable.smarthome
pm uninstall --user 0 com.sogou.map.android.maps
pm uninstall --user 0 com.mobvoi.wear.fitness.aw
pm uninstall --user 0 com.mobvoi.ticwear.sidewearvoicesearch
@patik
patik / styles.css
Last active April 20, 2024 06:59 — forked from joshbode/numbered_headings.md
Numbered Headings in Markdown via CSS
body { counter-reset: h1counter h2counter h3counter h4counter h5counter h6counter; }
h1 { counter-reset: h2counter; }
h2 { counter-reset: h3counter; }
h3 { counter-reset: h4counter; }
h4 { counter-reset: h5counter; }
h5 { counter-reset: h6counter; }
h6 {}
h2:before {
@lopspower
lopspower / README.md
Last active July 26, 2024 10:57
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

Download This sample on Google Play Store

@willurd
willurd / web-servers.md
Last active July 26, 2024 13:45
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000