This file contains 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
Process: #PID<0.3196.0>, Struct: Elixir.Membrane.Core.Pipeline.State, Module: Elixir.Membrane.RTC.Engine | |
Process: #PID<0.3197.0>, Clock | |
Process: #PID<0.3199.0>, Clock | |
Process: #PID<0.3201.0>, Clock | |
Process: #PID<0.3208.0>, Clock | |
Process: #PID<0.3234.0>, Clock | |
Process: #PID<0.3243.0>, Clock | |
Process: #PID<0.3776.0>, Clock | |
Process: #PID<0.3778.0>, Clock | |
Process: #PID<0.3785.0>, Clock |
This file contains 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
[error] GenServer #PID<0.1474.0> terminating | |
** (Membrane.LinkError) Pad {Membrane.Pad, :input, "80942349-2d9d-48f2-b20e-f5d1aabbb057:c8beb6b4-5c3c-4c8f-8521-43c32490e172 "} has already been linked | |
(membrane_core 0.7.0) lib/membrane/core/child/pad_controller.ex:165: Membrane.Core.Child.PadController.validate_pad_being_linked!/4 | |
(membrane_core 0.7.0) lib/membrane/core/child/pad_controller.ex:48: Membrane.Core.Child.PadController.handle_link/5 | |
(membrane_core 0.7.0) lib/membrane/core/bin.ex:173: Membrane.Core.Bin.handle_call/3 | |
(stdlib 3.16) gen_server.erl:721: :gen_server.try_handle_call/4 | |
(stdlib 3.16) gen_server.erl:750: :gen_server.handle_msg/6 | |
(stdlib 3.16) proc_lib.erl:226: :proc_lib.init_p_do_apply/3 | |
Last message (from #PID<0.1587.0>): {Membrane.Core.Message, :handle_link, [:input, %Membrane.Core.Parent.Link.Endpoint{child: {:endpoint, "0c920133-55a6-45a3-9087-9ef9307d906a"}, pad_props: [options: [encoding: :OPUS]], pad_ref: {Membrane.Pad, :input, "80942349-2d9d-48f2-b20e-f5d1aabbb0 |
This file contains 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 Config | |
## .... | |
config :logger, | |
backends: [ | |
:console, | |
OpenTelemetryCrashLogger | |
] |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am sax on github. | |
* I am s4xx4s (https://keybase.io/s4xx4s) on keybase. | |
* I have a public key ASDd9tKJczNf1S-dwRLmjMh0tsoGL4gDBTaMaL9fqzSF2Ao | |
To claim this, I am signing this object: |
This file contains 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
module Paperclip | |
module ContentTypeDetectorOverrides | |
def calculated_type_matches | |
possible_types.select do |content_type| | |
if content_type.start_with?('application/vnd.openxmlformats-officedocument') | |
content_type == type_from_file_contents || | |
type_from_file_contents == 'application/zip' | |
else | |
content_type == type_from_file_contents | |
end |
This file contains 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
# lib/test/scenario_flows.rb | |
module Test | |
module ScenarioFlows | |
def formatter | |
@formatter ||= RSpec.configuration.formatters.first | |
end | |
def formatter_names | |
@formatter_names ||= RSpec.configuration.formatters.map { |f| f.class.to_s }.join(' ') |
This file contains 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
ffmpeg -i video.mp4 -vf \ | |
"movie=logo.png [overlay]; \ | |
[overlay] scale=250:-1 [a]; \ | |
[a] format=yuva420p,colorchannelmixer=aa=0.5 [b]; \ | |
[in] curves=preset=lighter [vid]; \ | |
[vid][b] overlay=50:50 [out]" \ | |
-pix_fmt yuv420p \ | |
output.mp4 \ | |
&& terminal-notifier -message 'done' |
This file contains 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
class Worker | |
include Sidekiq::Worker | |
def perform(message) | |
puts message | |
end | |
end |
This file contains 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
# interpolated load tables step | |
find . -type f -print0 | xargs -0 -n1 -P50 bash -c "psql -U <postgres_user> <mydatabase> < \$0" |
NewerOlder