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
| #!/bin/bash | |
| # From intel GPU top | |
| DRM=/sys/class/drm/card1 | |
| # cat /sys/class/hwmon/*/name to find a right one | |
| HWMON=/sys/class/hwmon/hwmon4 | |
| while : | |
| do | |
| POWER1=$(cat $HWMON/energy1_input) | |
| sleep 0.25 | |
| POWER2=$(cat $HWMON/energy1_input) |
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
| import os | |
| import shutil | |
| import time | |
| import sys | |
| import logging | |
| import subprocess | |
| from qbit_helper import QbitHelper, QbitHelpers | |
| def is_file_within_age_range(current_time: float, filepath: str, min_days: int, max_days: int) -> bool: | |
| """ |
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 python3 | |
| # This standalone script is used to pause torrents older than last x days, | |
| # run mover (in Unraid) and start torrents again once completed | |
| import argparse | |
| import os | |
| import sys | |
| import time | |
| from datetime import datetime | |
| from datetime import timedelta |
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 python3 | |
| # Inspired by: https://raw.githubusercontent.com/StuffAnThings/qbit_manage/master/scripts/mover.py | |
| # This standalone script is used to pause torrents older than last x days, | |
| # run mover (in Unraid) and start torrents again once completed | |
| import os | |
| import sys | |
| import time | |
| import argparse | |
| from datetime import datetime | |
| from datetime import timedelta |
This file has been truncated, but you can view the full file.
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
| MassTransit.KafkaIntegration.Tests.HealthCheck_Specs.should_be_degraded_when_lost_connection | |
| 13:25:44.000-D Running health checks | |
| 13:25:44.003-D Running health check masstransit-bus | |
| 13:25:44.015-E Health check masstransit-bus with status Unhealthy completed after 11.6409ms with message 'Not ready: not started' | |
| 13:25:44.017-D Health check data for masstransit-bus: | |
| Endpoints: loopback://localhost/DenyssLaptop_ReSharperTestRunner_bus_a6xyyyg6ww5pdsc4bdph46q4nr: Unhealthy - not ready, loopback://localhost/kafka/health-check/HealthCheck_Specs: Unhealthy - not ready | |
| HealthCheckName: masstransit-bus | |
| 13:25:44.022-D Health check processing with combined status Unhealthy completed after 22.3887ms |
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
| public class MongoEventListener | |
| { | |
| private const string MongoDbPrefix = "MongoDB."; | |
| private readonly ConcurrentDictionary<int, Activity> _activities = new ConcurrentDictionary<int, Activity>(); | |
| private readonly DiagnosticSource _diagnosticSource; | |
| private readonly EventFilter _eventFilter; | |
| public MongoEventListener(DiagnosticSource diagnosticSource) | |
| { | |
| _diagnosticSource = diagnosticSource; |
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
| Index: src/MassTransit/EnabledDiagnosticSource.cs | |
| =================================================================== | |
| --- src/MassTransit/EnabledDiagnosticSource.cs (revision 5b90f1e06d7a98ad40dd69b70c6b213c981e07b7) | |
| +++ src/MassTransit/EnabledDiagnosticSource.cs (revision 5b90f1e06d7a98ad40dd69b70c6b213c981e07b7) | |
| @@ -1,24 +0,0 @@ | |
| -namespace MassTransit | |
| -{ | |
| - using System.Diagnostics; | |
| - | |
| - |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using MassTransit; | |
| using Serilog; | |
| using Serilog.Events; | |
| namespace ConsoleApp1 |
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
| 2018-12-21 20:20:37.734 [debug] <0.103.0> Lager installed handler error_logger_lager_h into error_logger | |
| 2018-12-21 20:20:37.741 [debug] <0.106.0> Lager installed handler lager_forwarder_backend into error_logger_lager_event | |
| 2018-12-21 20:20:37.741 [debug] <0.109.0> Lager installed handler lager_forwarder_backend into rabbit_log_lager_event | |
| 2018-12-21 20:20:37.741 [debug] <0.95.0> Supervisor lager_sup started gen_event:start_link({local,error_logger_lager_event}) at pid <0.105.0> | |
| 2018-12-21 20:20:37.750 [debug] <0.95.0> Supervisor lager_sup started gen_event:start_link({local,rabbit_log_lager_event}) at pid <0.108.0> | |
| 2018-12-21 20:20:37.750 [debug] <0.95.0> Supervisor lager_sup started gen_event:start_link({local,rabbit_log_channel_lager_event}) at pid <0.111.0> | |
| 2018-12-21 20:20:37.760 [debug] <0.112.0> Lager installed handler lager_forwarder_backend into rabbit_log_channel_lager_event | |
| 2018-12-21 20:20:37.761 [debug] <0.95.0> Supervisor lager_sup started gen_event:start_link({local,rabbit_log_connection_lage |
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
| System.NullReferenceException: Object reference not set to an instance of an object. | |
| at MassTransit.QuartzIntegration.ScheduleMessageConsumer.TranslateJsonBody(String body, String destination) in C:\projects\masstransit\src\MassTransit.QuartzIntegration\ScheduleMessageConsumer.cs:line 173 | |
| at MassTransit.QuartzIntegration.ScheduleMessageConsumer.CreateJobDetail(ConsumeContext context, Uri destination, JobKey jobKey, Nullable`1 tokenId) in C:\projects\masstransit\src\MassTransit.QuartzIntegration\ScheduleMessageConsumer.cs:line 121 | |
| at MassTransit.QuartzIntegration.ScheduleMessageConsumer.Consume(ConsumeContext`1 context) in C:\projects\masstransit\src\MassTransit.QuartzIntegration\ScheduleMessageConsumer.cs:line 50 | |
| at MassTransit.Pipeline.ConsumerFactories.DelegateConsumerFactory`1.Send[TMessage](ConsumeContext`1 context, IPipe`1 next) in C:\projects\masstransit\src\MassTransit\Pipeline\ConsumerFactories\DelegateConsumerFactory.cs:line 45 | |
| at MassTransit.Pipeline.Filters.ConsumerMessageFilter`2.Gr |
NewerOlder