Skip to content

Instantly share code, notes, and snippets.

On a permanent vacation

Ryan Hefner ryanhefner

On a permanent vacation
Block or report user

Report or block ryanhefner

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ryanhefner / sender-second-loadmedia-error
Created Feb 5, 2015
Chrome API: Sender - Second loadMedia request response/error
View sender-second-loadmedia-error
Error loading media Object {code: "session_error", description: "LOAD_CANCELLED", details: Object}
code: "session_error"description: "LOAD_CANCELLED"
details: Object
type: "LOAD_CANCELLED"__proto__: Object__proto__: Object
ryanhefner / chromecast-receiver-load-logs
Last active Aug 29, 2015
Chromecast Receiver: LOAD Logs
View chromecast-receiver-load-logs
cast-receiver.js:28 Player::READY VimeoPlayerInterface
cast_receiver.js:13 [ 1.959s] [cast.receiver.CastReceiverManager] Version:
vimeo-player-interface.js:152 VimeoPlayerInterface::REGISTER_ERROR_CALLBACK
vimeo-player-interface.js:168 VimeoPlayerInterface::REGISTER_ENDED_CALLBACK
vimeo-player-interface.js:184 VimeoPlayerInterface::REGISTER_LOAD_CALLBACK
cast_receiver.js:13 [ 2.048s] [cast.receiver.IpcChannel] Opening message bus websocket
cast_receiver.js:13 [ 2.073s] [] Opening the WebSocket on ws://localhost:8008/v2/ipc
cast_receiver.js:25 The page at '' was loaded over HTTPS, but ran insecure content from 'ws://localhost:8008/v2/ipc': this content should also be loaded over HTTPS.
cast_receiver.js:25 Connecting to a non-secure WebSocket server from a secure origin is deprecated.
ryanhefner / gist:98182cc82e7089ab0a6d
Created Jan 5, 2015
Optimize asset delivery on Apache servers. I typically just past this into the .htaccess file either in the root of the site, or the root of my /assets directory.
View gist:98182cc82e7089ab0a6d
<ifModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE text/javascript
You can’t perform that action at this time.