Skip to content

Instantly share code, notes, and snippets.

Bryan Larsen bryanlarsen

Block or report user

Report or block bryanlarsen

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
View gist:b756e660ac2c28adaa29a5a954224c70
jquery.js:3818 jQuery.Deferred exception: Cannot read property 'name' of undefined TypeError: Cannot read property 'name' of undefined
at Object.g.initialize_from_page_params (https://zulip.threehub.com/static/min/app.17ea69403e74.js:1828:246)
at HTMLDocument.<anonymous> (https://zulip.threehub.com/static/min/app.17ea69403e74.js:1896:362)
at HTMLDocument.c (https://zulip.threehub.com/static/webpack-bundles/common-535647a420c62cc646db.dbd3cec6bd82.js:182:91026)
at M (https://zulip.threehub.com/static/webpack-bundles/common-535647a420c62cc646db.dbd3cec6bd82.js:182:25054)
at p (https://zulip.threehub.com/static/webpack-bundles/common-535647a420c62cc646db.dbd3cec6bd82.js:182:25357) undefined
We.Deferred.exceptionHook @ jquery.js:3818
/static/locale/en/translations.json:1 Failed to load resource: the server responded with a status of 404 ()
blueslip.js:235 Uncaught TypeError: Cannot read property 'update_whether_active' of undefined
at a (app.17ea69403e74.js:1615)
View gist:b0126827698fd39b931c6dea76b07d04
Content Security Policy: The page’s settings blocked the loading of a resource at self (“script-src”). Source: ;(function installGlobalHook(window) {
....
open.spotify.com:1
Content Security Policy: The page’s settings blocked the loading of a resource at self (“script-src”). Source: ;undefined.
open.spotify.com:1
Content Security Policy: The page’s settings blocked the loading of a resource at self (“script-src”). Source:
var _comscore = _comscore || [];
_comsc....
open.spotify.com:24
Loading failed for the <script> with source “https://vt.myvisualiq.net/2/afTxMmlGwCNRJiC5Bd75ug%3D%3D/vt-150.js”.
View docker crash
Nov 23 20:14:56 dev037 dockerd[3269]: time="2017-11-23T20:14:56.990374357Z" level=info msg="Layer sha256:f42a6abb4bdfc9312f198f37f89857302c114297fff2e80ae2cb8e4dc31054fe cleaned up"
Nov 23 20:14:58 dev037 dockerd[3269]: time="2017-11-23T20:14:58.248076995Z" level=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
Nov 23 20:14:58 dev037 dockerd[3269]: time="2017-11-23T20:14:58.687362730Z" level=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
Nov 23 20:15:00 dev037 dockerd[3269]: time="2017-11-23T20:15:00Z" level=info msg="shim reaped" id=31a3b758b5983b44cff51e1535df48de8a0fb36da807f290458ee92fc3f91e34 module="containerd/tasks"
Nov 23 20:15:04 dev037 dockerd[3269]: time="2017-11-23T20:15:04Z" level=info msg="shim reaped" id=f0a183375d2ca7fb89006491bc0d536f9b7a7e7486e9a63193642b525a12a19f module="containerd/tasks"
Nov 23 20:15:07 dev037 dockerd[3269]: fatal error: concurrent map writes
Nov 23 20:
View index.ios.js
/**
* Sample React Native App
* https://github.com/facebook/react-native
*/
'use strict';
var React = require('react-native');
var { AppRegistry } = React;
var WebViewBridge = require('react-native-webview-bridge');
@bryanlarsen
bryanlarsen / rubycas_rails_middleware.rb
Created Jun 1, 2012
single sign out middleware for rubycas-client-rails
View rubycas_rails_middleware.rb
class RubycasRailsMiddleware
def initialize(app)
@app = app
end
def call(env)
# Hack: something somewhere is killing the log, probably because
# it's not being used in a thread-safe fashion. Resurrect
#::Rails.logger.level = Logger::DEBUG
if single_sign_out(env)
View fallback_resolver.rb
module Dryml
# quacks like a Rails3 ActionView::Template
class MissingTemplate
attr_reader :details
def identifier
"#{@prefix}/#{@name}"
end
def mime_type
View gfm.rb
require 'digest/md5'
def gfm(text)
# Extract pre blocks
extractions = {}
text.gsub!(%r{<pre>.*?</pre>}m) do |match|
md5 = Digest::MD5.hexdigest(match)
extractions[md5] = match
"{gfm-extraction-#{md5}}"
end
@bryanlarsen
bryanlarsen / gist:801420d8092c881c4993
Last active Aug 29, 2015
trying to use react master
View gist:801420d8092c881c4993
vagrant@precise64:/vagrant$ npm install git://github.com/facebook/react.git --save
[...]
vagrant@precise64:/vagrant$ npm test
> rapid-react@0.0.1 test /vagrant
> jest
Found 2 matching tests...
You can’t perform that action at this time.