Skip to content

Instantly share code, notes, and snippets.

View huslage's full-sized avatar
🐈
Meow

Aaron Huslage huslage

🐈
Meow
View GitHub Profile
[2023-08-30 21:12:46.217 -04:00] [INF] [7] Jellyfin.Plugin.SSO_Auth.Api.SSOController: SSO Controller initialized
[2023-08-30 21:12:46.234 -04:00] [INF] [7] Jellyfin.Plugin.SSO_Auth.Api.SSOController: SAML request has relayState of
[2023-08-30 21:12:46.242 -04:00] [ERR] [7] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL "POST" "/sso/SAML/p/UID".
System.FormatException: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.
at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)
at System.Convert.FromBase64String(String s)
at Jellyfin.Plugin.SSO_Auth.Api.SSOController.SamlPost(String provider, String relayState)
at lambda_method1221(Closure , Object , Object[] )
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller,
➜ comprova git:(master) ✗ docker history --no-trunc docker.whatsapp.biz/coreapp:v2.45.1
IMAGE CREATED CREATED BY SIZE COMMENT
sha256:00c0c7a18cce68c3727d55cb9a732d707c7882d9a68b2abdff00d041e8bf21b5 8 weeks ago /bin/sh -c #(nop) CMD ["launch_within_docker.sh"]
This is a desription of a travel itinerary. Tell me the dates and places in this text. Flights are the CSV format "<flight or train>: <DATE>, <departure airport IATA code> - <arrival airport IATA code>, <airline iata code>". Hotels are the format: "<DATE>,<hotel chain>, <neighborhood>". Format dates like YYYYMMDD. The current date is 20230121.
i'll be going from rdu-san francisco next monday, sfo-pdx on thursday and returning home on sunday. i will take the train from pdx-seattle on friday morning and fly home from seattle. i need hotels in downtown sf, near hawthorne in portland and near belltown in seattle. i prefer alaska airlines and marriott hotels.
Flight: 20230125, RDU - SFO, AS
Flight: 20230128, SFO - PDX, AS
Train: 20230129, PDX - SEA
Flight: 20230131, SEA - RDU, AS
Hotel: 20230125, Marriott, Downtown SF
Hotel: 20230128, Marriott, Hawthorne
Represent the following using the https://schema.org/Trip JSON schema. Use IATA codes for transport types and GDS codes for hotel chains.
i'll be going from rdu-sfo next monday, sfo-pdx on thursday and returning home on saturday. i will take the train from pdx-seattle on friday morning and fly home from seattle. i need hotels in downtown sf, near hawthorne in pdx and near belltown in seattle. i prefer alaska airlines and hyatt hotels.
{
"@context": "https://schema.org",
"@type": "Trip",
"name": "My Trip",
@huslage
huslage / iframe.xml
Last active March 28, 2019 17:06
Use this snippet to embed a Sysdig dashboard into a splunk dashboard
<row>
<panel>
<title>Embedded Sysdig Dashboard</title>
<html>
<iframe width="100%" height="500" style="border:none" src="<PUBLIC SYSDIG DASHBOARD URL"></iframe>
</html>
</panel>
</row>
MYIP=$(hostname -I | awk '{print $1}')
CONTROLLER=172.31.19.122
sudo docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock --name ucp docker/ucp engine-discovery -i -D --host-address ${MYIP} --controller ${CONTROLLER}
sudo systemctl restart docker
@huslage
huslage / gist:2229135
Created March 28, 2012 18:29
Build Failed for cairo
➜ Tethr brew install -vd --use-llvm cairo
Warning: Formula will not build with LLVM, trying Clang
==> Downloading http://www.cairographics.org/releases/cairo-1.10.2.tar.gz
Already downloaded: /Users/huslage/Library/Caches/Homebrew/cairo-1.10.2.tar.gz
/usr/bin/tar xf /Users/huslage/Library/Caches/Homebrew/cairo-1.10.2.tar.gz
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/cairo/1.10.2 --with-x --enable-xcb
./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/cairo/1.10.2 --with-x --enable-xcb
checking for gcc... /usr/bin/clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
2011-08-24 00:46:31.311 DEBUG [udp/0.0.0.0/6061-t-4] #SIP#: (i)[INVITE sip:tropo_voicememo.rb@50.16.198.185:6061 SIP/2.0\r\nTo: <sip:tropo_voicememo.rb@50.16.198.185:6061>\r\nContent-Type: application/sdp\r\nVia: SIP/2.0/UDP 172.19.131.148:1024;rport;branch=z9hG4bKac138394000000174e5449eb173522e900000001\r\nCSeq: 1 INVITE\r\nContent-Length: 368\r\nCall-ID: 84EE0C9A-1DD2-11B2-A30B-A1814BC77F4D@172.19.131.148\r\nUser-Agent: SJphone/1.60.299a/L (SJ Labs)\r\nMax-Forwards: 70\r\nFrom: "unknown"<sip:12.130.124.10>;tag=41817704561257438920\r\nContact: <sip:12.130.124.10:1024>\r\n\r\nv=0\r\no=- 3523135595 3523135595 IN IP4 12.130.124.10\r\ns=SJphone\r\nc=IN IP4 12.130.124.10\r\nt=0 0\r\na=direction:active\r\nm=audio 49152 RTP/AVP 3 97 98 110 8 0 101\r\na=rtpmap:3 GSM/8000\r\na=rtpmap:97 iLBC/8000\r\na=rtpmap:98 iLBC/8000\r\na=fmtp:98 mode=20\r\na=rtpmap:110 speex/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:101 telephone-event/8000\r\na=fmtp:101 0-11,16\r\n] #[N/A][N/A][84EE0C9A-1DD2-11B2-A30B-A18
2011-08-23 23:51:42.496 DEBUG [Tropo-Thread-5c2d3adda85001848b7d3b582e3b7a4e] #CONTAINER#@T: com.voxeo.tropo.FatalException: java.lang.IllegalStateException: Send error reponse for the canceled request.\n at com.voxeo.tropo.core.SimpleCall.handleException(SimpleCall.java:2296)\n at com.voxeo.tropo.core.SimpleCall.hangup(SimpleCall.java:477)\n at com.voxeo.tropo.core.SimpleCall.hangup(SimpleCall.java:487)\n at com.voxeo.tropo.SessionMonitor.attributeRemoved(SessionMonitor.java:41)\n at com.micromethod.sipmethod.server.container.impl.ApplicationSupport.handleEvent(ApplicationSupport.java:223)\n at com.micromethod.sipmethod.server.container.impl.ApplicationImpl.handleEvent(ApplicationImpl.java:585)\n at com.micromethod.sipmethod.server.sip.session.SipSessionImpl.removeAttributeInternal(SipSessionImpl.java:924)\n at com.micromethod.sipmethod.server.sip.session.SipSessionImpl.invalidate(SipSessionImpl.java:352)\n at com.micromethod.sipmethod.server.sip.session.SipSessionImpl.processInvalidationWhenReady(SipSession
@huslage
huslage / gist:1001483
Created May 31, 2011 23:21
Safecast DNS records
➜ ~ dig +noauthority @ns-760.awsdns-31.net blog.safecast.org @ns-29.awsdns-03.com blog.safecast.org @ns-1428.awsdns-50.org blog.safecast.org @ns-1801.awsdns-33.co.uk blog.safecast.org
; <<>> DiG 9.6.0-APPLE-P2 <<>> +noauthority @ns-760.awsdns-31.net blog.safecast.org @ns-29.awsdns-03.com blog.safecast.org @ns-1428.awsdns-50.org blog.safecast.org @ns-1801.awsdns-33.co.uk blog.safecast.org
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16848
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 4, ADDITIONAL: 0
;; WARNING: recursion requested but not available