https://appletoolbox.com/how-to-fix-macos-mojave-battery-draining-issue/
$ pmset -g
System-wide power settings:
Currently in use:
lidwake 1
autopoweroff 1
| require 'FileUtils' | |
| require 'json' | |
| class GooglePhotosFixer | |
| METADATA_JSON = "supplemental-metadata.json" | |
| SUPPORTED_IMAGE_EXT = %w(.jpg .jpeg .png .gif .webp .heic .mov .mp4 .3gp .avi .mkv .webm) | |
| attr_reader :fixes, :errors, :takeout_dir | |
| def initialize(takeout_dir) |
| - sensor: | |
| name: Tuya Power Clamp | |
| unique_id: tuya_power_clamp | |
| command: "python3 /config/tuya.py device_id" | |
| device_class: power | |
| state_class: total_increasing | |
| unit_of_measurement: Wh | |
| scan_interval: 60 | |
| value_template: "{{ value_json.EnergyConsumed | float(0) * 10 }}" |
| eufy: | |
| image: bropat/eufy-security-ws | |
| container_name: eufy | |
| restart: unless-stopped | |
| environment: | |
| - USERNAME=email | |
| - PASSWORD=pass | |
| - COUNTRY=country | |
| ports: | |
| - 3000:3000 |
| Lorem ipsum | |
| Dolor sit amet | |
| Vestibulum vitae | |
| Morbi iaculis elit | |
| Sed porta ante | |
| Magna faucibus |
| Lorem | |
| Ipsum | |
| Lorem | |
| Dolor | |
| Vitae | |
| Magna | |
| Dolor | |
| Lorem |
https://appletoolbox.com/how-to-fix-macos-mojave-battery-draining-issue/
$ pmset -g
System-wide power settings:
Currently in use:
lidwake 1
autopoweroff 1
| latest version now at: http://github.com/tbuser/openscad-bitmap | |
| module make_atari_bitmap(char, block_size, height, include_base) { | |
| if (char == "0") { | |
| make_bitmap([ | |
| 0,0,0,0,0,0,0,0, | |
| 0,0,1,1,1,1,0,0, | |
| 0,1,1,0,0,1,1,0, | |
| 0,1,1,0,1,1,1,0, | |
| 0,1,1,1,1,1,1,0, |
| namespace :db do | |
| require 'sequel' | |
| Sequel.extension(:migration) | |
| MIGRATIONS_PATH = 'db/migrations' | |
| def db_conn_env | |
| ENV["BOOKSHELF_DATABASE_URL"] | |
| end |
| # This is the configuration for libtsocks (transparent socks) | |
| # Lines beginning with # and blank lines are ignored | |
| # | |
| # The basic idea is to specify: | |
| # - Local subnets - Networks that can be accessed directly without | |
| # assistance from a socks server | |
| # - Paths - Paths are basically lists of networks and a socks server | |
| # which can be used to reach these networks | |
| # - Default server - A socks server which should be used to access | |
| # networks for which no path is available |