Skip to content

Instantly share code, notes, and snippets.

View cwpenhale's full-sized avatar

Connor Penhale cwpenhale

View GitHub Profile
@cwpenhale
cwpenhale / gist:d1b98fc8aec99d0d94f9126c83a58d17
Created August 2, 2017 16:10
When I select "Chargeback for Projects"
==> /var/log/manageiq/production.log <==
[----] I, [2017-08-02T10:08:14.025846 #2935:d06380] INFO -- : Started POST "/report/form_field_changed/new?chosen_model=ChargebackContainerProject" for 73.229.154.94 at 2017-08-02 10:08:14 -0600
[----] I, [2017-08-02T10:08:14.030966 #2935:d06380] INFO -- : Processing by ReportController#form_field_changed as JS
[----] I, [2017-08-02T10:08:14.031106 #2935:d06380] INFO -- : Parameters: {"chosen_model"=>"ChargebackContainerProject", "id"=>"new"}
==> /var/log/manageiq/evm.log <==
[----] I, [2017-08-02T10:08:14.043735 #9485:46913c] INFO -- : MIQ(AuthUseridPassword#validation_successful) [ExtManagementSystem] [3], previously valid/invalid on: [2017-08-02 16:07:38 UTC]/[], previous status: [Valid]
==> /var/log/manageiq/production.log <==
[----] I, [2017-08-02T10:08:14.108393 #2935:d06380] INFO -- : Rendered /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/bundler/gems/manageiq-ui-classic-06cdf6db5aa0/app/views/layouts/_tabs.html.haml (1.0ms)
@cwpenhale
cwpenhale / Whatever.scala
Last active May 17, 2018 04:40
Design a program that returns the most frequently occuring character in a 100 TB string. You can assume any number of machines and storage.
package com.connorpenhale.examples.scala
import org.apache.camel.CamelContext
import org.apache.camel.Exchange
import org.apache.camel.scala.dsl.builder.ScalaRouteBuilder
import org.apache.camel.processor.aggregate.GroupedExchangeAggregationStrategy
/**
* A Camel Router using the Scala DSL
*/
[root@localhost ~]# journalctl -f -u docker -u containerd
-- Logs begin at Mon 2019-06-03 15:08:18 EDT. --
Jun 03 17:02:10 localhost.localdomain dockerd[2217]: time="2019-06-03T17:02:10.134906074-04:00" level=debug msg="Registering GET, /networks/{id:.+}"
Jun 03 17:02:10 localhost.localdomain dockerd[2217]: time="2019-06-03T17:02:10.135089718-04:00" level=debug msg="Registering POST, /networks/create"
Jun 03 17:02:10 localhost.localdomain dockerd[2217]: time="2019-06-03T17:02:10.135210166-04:00" level=debug msg="Registering POST, /networks/{id:.*}/connect"
Jun 03 17:02:10 localhost.localdomain dockerd[2217]: time="2019-06-03T17:02:10.135409998-04:00" level=debug msg="Registering POST, /networks/{id:.*}/disconnect"
Jun 03 17:02:10 localhost.localdomain dockerd[2217]: time="2019-06-03T17:02:10.135642106-04:00" level=debug msg="Registering POST, /networks/prune"
Jun 03 17:02:10 localhost.localdomain dockerd[2217]: time="2019-06-03T17:02:10.135805474-04:00" level=debug msg="Registering DELETE, /networks/{id:.*}"
@cwpenhale
cwpenhale / gist:044adacd58e13b119cc39c8791d3fb6e
Created January 11, 2021 18:23
Response from Houdini Live Link HDA
GET /get_skeleton_pose HTTP/1.1
Host: 192.168.1.50:8010
Accept: */*
Accept-Encoding: deflate, gzip
Content-Type: application/json
User-Agent: Beach2/++UE4+Release-4.26-CL-14830424 Windows/10.0.19042.1.256.64bit
Content-Length: 0
HTTP/1.1 200 Ok
Connection: keep-alive
@cwpenhale
cwpenhale / Server-edge.xml
Created May 24, 2022 06:33
Origin Server.xml
<?xml version="1.0" encoding="UTF-8"?>
<Server version="8">
<Name>OvenMediaEngine</Name>
<!-- Host type (origin/edge) -->
<Type>edge</Type>
<!-- Specify IP address to bind (* means all IPs) -->
<IP>*</IP>
<PrivacyProtection>false</PrivacyProtection>
<?xml version="1.0" encoding="UTF-8"?>
<Server version="8">
<Name>OvenMediaEngine</Name>
<Type>edge</Type>
<IP>*</IP>
<PrivacyProtection>false</PrivacyProtection>
<StunServer>stun.l.google.com:19302</StunServer>
<Bind>
<Publishers>
<OVT>