Warning
This is a rather old guide and may or may not work with modern versions of Android.
- Boot into TWRP
- Connect device to computer
- Terminal: List devices with
adb devices
| /* https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible */ | |
| :focus:not(:focus-visible) { | |
| outline: 0; | |
| } |
| import store from './store.js' | |
| console.log(store.state.hello) // '🌍' | |
| store.greet('🌌') | |
| console.log(store.state.hello) // '🌌' | |
| console.log(store.state.cool) // Set('🍍') | |
| store.addCool('🍌') | |
| console.log(store.state.cool) // Set('🍍', '🍌') |
| <div class="is-primary"> | |
| <button class="button">I'm primary</button> | |
| </div> | |
| <div class="is-secondary"> | |
| <button class="button">I'm secondary</button> | |
| </div> |
| /** | |
| * Parse ISO date string | |
| * | |
| * This convoluted mess is necessary because lovely Safari doesn't use the | |
| * local time zone during `new Date(…)`! | |
| * @param {'YYYY-MM-DD'} date Date string | |
| * @param {'HH:MM:SS'} time Time string | |
| * @returns {Date} Parsed date | |
| */ | |
| export default function (date, time) { |
| /** | |
| * Get data type | |
| * @see {@link https://gomakethings.com/a-better-way-to-create-an-immutable-copy-of-an-array-or-object-with-vanilla-js/} | |
| * | |
| * @param {} item Thing we want the type of | |
| * @returns {String} Thing's type | |
| */ | |
| function getDataType (item) { | |
| /** | |
| * Unfortunately, `typeof` isn't that useful to detect types like `array` |
| @function json-stringify ($map) { | |
| $result: '{'; | |
| @each $key, $value in $map { | |
| $result: $result + '"#{$key}":'; | |
| @if type-of($value) == 'map' { | |
| $result: $result + json-stringify($value); | |
| } @else { | |
| $result: $result + '"#{$value}"'; |
| defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO |
| wget --mirror --page-requisites --adjust-extension --convert-links --no-clobber --domains=domain.tld https://domain.tld |
| # Source: | |
| # https://github.com/moby/moby/issues/10032#issuecomment-310023443 | |
| docker stop $(docker ps -a -q) & docker update --restart=no $(docker ps -a -q) |