Skip to content

Instantly share code, notes, and snippets.

Avatar

Kyle Hudson kylejmhudson

View GitHub Profile
View ptp-signature.html
<body>
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="max-width:100%; border-left:3px solid #b4ce64;">
<tbody>
<tr>
<td style="padding:5px 20px; border-radius:0 3px 3px 0; background:#f0f0f0;">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td style="width:65px; text-align:left;">
<img src="https://assets.pentestpeople.com/signatures/face_kyle_hudson.png" width="50" style="width:50px; height:auto; vertical-align:middle;"/>
@kylejmhudson
kylejmhudson / serverless.yml
Created Jan 22, 2020 — forked from DavidWells/serverless.yml
Creating a custom serverless resource for subscribing to SNS topics in another region
View serverless.yml
# Welcome to Serverless!
#
# Happy Coding!
service: cross-region-sns-subscriber
# Keep environment specific configurations in separate files
custom: ${file(config/${env:STAGE}.json)}
provider:
@kylejmhudson
kylejmhudson / showOnUnread.js
Created Aug 2, 2018
Zendesk Chat Widget: Open minimized chat window on new message
View showOnUnread.js
/*
Show the chat window if the number of unread messages > 0 and the chat window is not currently displayed.
see references:
setOnUnreadMsgs - https://api.zopim.com/files/meshim/widget/controllers/LiveChatAPI-js.html#setOnUnreadMsgs
getDisplay - https://api.zopim.com/files/meshim/widget/controllers/liveChatAPI/Window-js.html#$zopim.livechat.window.getDisplay
show - https://api.zopim.com/files/meshim/widget/controllers/liveChatAPI/Window-js.html#$zopim.livechat.window.show
*/
$zopim(function() {
$zopim.livechat.setOnUnreadMsgs(function(numUnread){
if(numUnread > 0 && !$zopim.livechat.window.getDisplay()) {
View keybase.md

Keybase proof

I hereby claim:

  • I am kylejmhudson on github.
  • I am kyleh (https://keybase.io/kyleh) on keybase.
  • I have a public key ASC6dmnAAYEUZnbmFXN5bwGQND_UwHMfj12xdi7zCSPrxQo

To claim this, I am signing this object:

View keybase.md

Keybase proof

I hereby claim:

  • I am kylejmhudson on github.
  • I am kyleh (https://keybase.io/kyleh) on keybase.
  • I have a public key ASAbBSVQUtvLBsJD3HiLwXAPLqsz6lCwlXV_lToUuLRgJQo

To claim this, I am signing this object: