This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| rrvl_conf='/boot/rrvl.conf' | |
| args=($@) | |
| freq="${args[0]:-}" | |
| if [[ $freq == '-' ]]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| state.rockchiprk817co { | |
| control.1 { | |
| iface MIXER | |
| name 'Playback Path' | |
| value HP | |
| comment { | |
| access 'read write' | |
| type ENUMERATED | |
| count 1 | |
| item.0 OFF |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 02/08/20-11:49:57 INFO request { | |
| menu_driver = "rgui" | |
| ["url"] = "https://m.gutenberg.org/ebooks/search.mobile/?format=opds&query=author:Mellville", | |
| ["method"] = "HEAD", | |
| ["headers"] = { | |
| ["Host"] = "m.gutenberg.org" | |
| }, | |
| ["sink"] = function: 0x72fdfa78 | |
| } | |
| 02/08/20-11:49:59 DEBUG cache opds|catalog|https://m.gutenberg.org/ebooks/search.mobile/?format=opds&query=author:Mellville |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 01/26/20-11:38:00 DEBUG CreDocument: goto page 82 | |
| 01/26/20-11:38:00 DEBUG _refresh: Enqueued partial update for region 0 0 1440 1920 | |
| 01/26/20-11:38:00 DEBUG setDirty partial from widget ReaderUI w/ NO region | |
| 01/26/20-11:38:00 DEBUG painting widget: ReaderUI | |
| # 01/26/20-11:38:00 readerview painting { | |
| ["y"] = 0, | |
| ["x"] = 0, | |
| ["h"] = 1920, | |
| ["w"] = 1440 | |
| } to 0 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- For configuration changes that persists between updates | |
| _USR_ZONE_DIVIDER = 16 | |
| _USR_ZONE_AMOUNT_FAR = (_USR_ZONE_DIVIDER - 1) / _USR_ZONE_DIVIDER | |
| _USR_ZONE_AMOUNT_CLOSE = 1 / _USR_ZONE_DIVIDER | |
| DTAP_ZONE_TOP_RIGHT = { | |
| ["y"] = 0, | |
| ["h"] = _USR_ZONE_AMOUNT_CLOSE, | |
| ["x"] = _USR_ZONE_AMOUNT_FAR, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -e | |
| echo "install docker bash completion" | |
| curl -f -L "https://raw.githubusercontent.com/docker/docker-ce/$(docker version --format '{{.Server.Version}}' | sed -E 's/((\.?[^.]+){2}).*/\1/')/components/cli/contrib/completion/bash/docker" -o /etc/bash_completion.d/docker | |
| echo "install docker-compose bash completion" | |
| curl -f -L https://raw.githubusercontent.com/docker/compose/$(docker-compose version --short)/contrib/completion/bash/docker-compose -o /etc/bash_completion.d/docker-compose | |
| echo ".... done!" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - .cache | |
| - *.sdr/ | |
| - .* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_action( 'generate_rewrite_rules', 'custom_post_type_base' ); | |
| function custom_post_type_base( $wp_rewrite ) { | |
| $newrules = array(); | |
| foreach ( get_post_types( array( '_builtin' => false, 'public' => true, 'rewrite' => array() ), 'objects' ) as $post_type => $post_type_object ) { | |
| $slug = $post_type_object->rewrite['slug'] ? $post_type_object->rewrite['slug'] : $post_type; | |
| $newrules["$slug/?$"] = "index.php?post_type=$post_type"; | |
| $newrules["$slug/feed/?$"] = "index.php?post_type=$post_type&feed=rss2"; | |
| $newrules["$slug/feed/(feed|rdf|rss|rss2|atom)/?$"] = "index.php?post_type=$post_type&feed=\$matches[1]"; | |
| $newrules["$slug/page/?([0-9]{1,})/?$"] = "index.php?post_type=$post_type&paged=\$matches[1]"; |