Skip to content

Instantly share code, notes, and snippets.

neko-neko-1 | 2023-04-12 00:09:32,664 DEBG 'neko' stdout output:
neko-neko-1 | 12:09AM INF creating pipeline codec=opus module=capture src="pulsesrc device=audio_output.monitor ! audio/x-raw,channels=2 ! audioconvert ! opusenc inband-fec=true bitrate=128000 ! appsink name=appsinkaudio" submodule=stream-sink video_id=audio
neko-neko-1 |
neko-neko-1 | 2023-04-12 00:09:32,684 DEBG 'pulseaudio' stdout output:
neko-neko-1 | I: [pulseaudio] client.c: Created 0 "Native client (UNIX socket client)"
neko-neko-1 | I: [pulseaudio] protocol-native.c: Client authenticated anonymously.
neko-neko-1 |
neko-neko-1 | 2023-04-12 00:09:32,686 DEBG 'neko' stdout output:
neko-neko-1 | 12:09AM INF first listener, starting module=capture submodule=stream-sink video_id=audio
neko-neko-1 |
import datetime
import appdaemon.plugins.hass.hassapi as hass
# app arguments:
# - hygrometer - a sensor entity ID registering humidity in percent.
# - switch - a switch entity ID to turn the humidifier on and off.
# - start_at - an ISO time like 18:30:00 for the earliest time the humidifer can turn on.
# - end_at - an ISO time like 18:30:00 for the latest time the humidifer can turn off.
info 09:19:59.111617-0400 opendirectoryd UID: 501, EUID: 0, GID: 20, EGID: 20, PID: 4694, PROC: sudo RPC: getpwuid, Module: SystemCache, rpc_version: 2, uid: 501
default 09:19:59.112611-0400 sudo Too many groups requested (2147483647). Can cause performance issues when network directories are involved
info 09:19:59.112761-0400 opendirectoryd UID: 501, EUID: 0, GID: 20, EGID: 20, PID: 4694, PROC: sudo RPC: getgrouplist, Module: SystemCache, rpc_version: 2, ngroups: 2147483647, name: <private>
info 09:19:59.113142-0400 opendirectoryd UID: 501, EUID: 0, GID: 20, EGID: 20, PID: 4694, PROC: sudo RPC: getgrouplist, Module: SystemCache, rpc_version: 2, ngroups: 15, name: <private>
info 09:19:59.116729-0400 opendirectoryd UID: 501, EUID: 0, GID: 20, EGID: 20, PID: 4694, PROC: sudo RPC: getpwnam, Module: SystemCache, rpc_version: 2, name: <private>
default 09:19:59.117435-0400 sudo Too many groups requested (2147483647). Can cause performance issues when network directories are involved
info 09:19:59.117578-0400 ope
13:16:59 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.SUCCESS: 0>, Endpoint=1, TSN=78)
2021-12-19 13:17:00 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.SrcRtgInd.Callback(DstAddr=0x5152, Relays=[0x97BB])
2021-12-19 13:17:00 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=768, SrcAddr=0x5152, SrcEndpoint=11, DstEndpoint=1, WasBroadcast=<Bool.false: 0>, LQI=42, SecurityUse=<Bool.false: 0>, TimeStamp=3998163, TSN=0, Data=b'\x18\x66\x0A\x04\x00\x21\x40\x58\x03\x00\x21\xD3\x54\x07\x00\x21\xB5\x00', MacSrcAddr=0x97BB, MsgResultRadius=28)
2021-12-19 13:17:00 DEBUG (MainThread) [zigpy.zcl] [0x5152:11:0x0300] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=102 command_id=Command.Report_Attributes>
2021-12-19 13:17:00 DEBUG (MainThread) [zigpy.zcl] [0x5152:11:0x0300] ZCL request 0
2021-06-14 10:39:59 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=weather.guelph, old_state=<state weather.guelph=rainy; temperature=14.7, humidity=91, wind_bearing=279.2, wind_speed=12.0, attribution=Data provided by Environment Canada, forecast=[{'datetime': '2021-06-14T10:39:29.454753-04:00', 'condition': 'rainy', 'precipitation_probability': 60, 'temperature': 22, 'templow': 16}, {'datetime': '2021-06-15T10:39:29.454763-04:00', 'temperature': 23, 'templow': 9, 'condition': 'partlycloudy', 'precipitation_probability': 0}, {'datetime': '2021-06-16T10:39:29.454771-04:00', 'temperature': 21, 'templow': 6, 'condition': 'sunny', 'precipitation_probability': 0}, {'datetime': '2021-06-17T10:39:29.454779-04:00', 'temperature': 26, 'templow': 16, 'condition': 'sunny', 'precipitation_probability': 0}, {'datetime': '2021-06-18T10:39:29.454786-04:00', 'temperature': 24, 'templow': 13, 'condition': 'rainy', 'precipitation_probability': 60}, {'datetime': '2021-06-19T10:39:29.454
@deviantintegral
deviantintegral / compress-tables.sh
Created April 12, 2012 17:27
Compress MySQL Tables
#!/usr/bin/env bash
# Compress MySQL tables on disk.
# Author: Andrew Berry, andrew.berry@lullabot.com
#
# Compress all tables in a MySQL InnoDB database using compression from the
# Barracuda table format. Tables have to already be in the Barracuda file
# format to actually compress tables, otherwise the table setting is ignored.
#
# innodb_file_per_table = 1 MUST be set in my.cnf for compression to work.
2021-03-28 15:08:51 DEBUG: Binding on *:5353
2021-03-28 15:08:51 DEBUG: Binding on 127.0.0.1:0
2021-03-28 15:08:51 DEBUG: Binding on 192.168.20.202:0
2021-03-28 15:08:54 DEBUG: Auto-discovered acutus at 192.168.20.202:62513 (Protocol.DMAP)
2021-03-28 15:08:54 DEBUG: Auto-discovered Family Room at 192.168.20.228:49153 (Protocol.MRP)
2021-03-28 15:08:54 DEBUG: Auto-discovered Family Room at 192.168.20.228:7000 (Protocol.AirPlay)
2021-03-28 15:08:54 INFO: Auto-discovered Family Room at 192.168.20.228
2021-03-28 15:08:54 DEBUG: No AirPlay credentials loaded
2021-03-28 15:08:54 DEBUG: Connection made to device
2021-03-28 15:08:54 DEBUG: Configured keep-alive on <asyncio.TransportSocket fd=9, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.20.202', 62114), raddr=('192.168.20.228', 49153)> (Darwin)
DEBCONF_DEBUG=developer dpkg-reconfigure grub-efi-amd64
debconf (developer): starting /var/lib/dpkg/info/grub-efi-amd64.config reconfigure 2.04-1ubuntu26.7
debconf (developer): <-- SET grub2/linux_cmdline
debconf (developer): --> 0 value set
debconf (developer): <-- SET grub2/linux_cmdline_default init_on_alloc=0
debconf (developer): --> 0 value set
debconf (developer): <-- INPUT medium grub2/linux_cmdline
debconf (developer): --> 0 question will be asked
debconf (developer): <-- INPUT medium grub2/linux_cmdline_default
debconf (developer): --> 0 question will be asked
#!/bin/sh
# Place this in /etc/initramfs-tools/scripts/init-premount/zfs-unlock and
# run update-initramfs -u to include the script.
#
# This initramfs script handles mounting encrypted pools from a keyfile
# and not a passphrase. The main use case is keeping datasets encrypted so
# disks can be safely discarded if they partially fail and can't be easily
# wiped.
#
==> d8: Forcing shutdown of VM...
==> d8: Destroying VM and associated drives...
Bringing machine 'd8' up with 'virtualbox' provider...
==> d8: Importing base box 'laravel/homestead'...
==> d8: Matching MAC address for NAT networking...
==> d8: Checking if box 'laravel/homestead' version '9.3.0' is up to date...
==> d8: Setting the name of the VM: d8
==> d8: Clearing any previously set network interfaces...
==> d8: Preparing network interfaces based on configuration...
d8: Adapter 1: nat