Skip to content

Instantly share code, notes, and snippets.

@ibdknox
ibdknox / bootstrap.js
Created May 6, 2013 15:17
fixed line endings
This file has been truncated, but you can view the full file.
var COMPILED = !0, goog = goog || {};
goog.global = this;
goog.DEBUG = !0;
goog.LOCALE = "en";
goog.provide = function(a) {
if(!COMPILED) {
if(goog.isProvided_(a)) {
throw Error('Namespace "' + a + '" already declared.');
}
delete goog.implicitNamespaces_[a];
@ibdknox
ibdknox / bootstrap.js
Created May 2, 2013 22:23
fix osx empty path
This file has been truncated, but you can view the full file.
var COMPILED = !0, goog = goog || {};
goog.global = this;
goog.DEBUG = !0;
goog.LOCALE = "en";
goog.provide = function(a) {
if(!COMPILED) {
if(goog.isProvided_(a)) {
throw Error('Namespace "' + a + '" already declared.');
}
delete goog.implicitNamespaces_[a];
@ibdknox
ibdknox / ltnodeclient.js
Created May 1, 2013 22:49
fix mongoose not loading issue
var net = require("net");
var moduleCache = require("module")._cache;
var vm = require("vm");
var Module = require("module").Module;
var fs = require("fs");
var fpath = require("path");
var util = require("util");
var sandboxes = {};
var s = null;
(function(window) {
var fromMessage = function(message) {
return {client: message[0],
command: message[1],
data: message[2]};
}
var toMessage = function(prev, command, data) {
return [prev.client,
@ibdknox
ibdknox / bootstrap.js
Last active December 14, 2015 16:08
hopefully international keyboards with altgr work now
This file has been truncated, but you can view the full file.
var COMPILED = !0, goog = goog || {};
goog.global = this;
goog.DEBUG = !0;
goog.LOCALE = "en";
goog.provide = function(a) {
if(!COMPILED) {
if(goog.isProvided_(a)) {
throw Error('Namespace "' + a + '" already declared.');
}
delete goog.implicitNamespaces_[a];
@ibdknox
ibdknox / bootstrap.js
Created March 7, 2013 17:04
AltGr fix
This file has been truncated, but you can view the full file.
var COMPILED = !0, goog = goog || {};
goog.global = this;
goog.DEBUG = !0;
goog.LOCALE = "en";
goog.provide = function(a) {
if(!COMPILED) {
if(goog.isProvided_(a)) {
throw Error('Namespace "' + a + '" already declared.');
}
delete goog.implicitNamespaces_[a];
@ibdknox
ibdknox / bootstrap.js
Created March 4, 2013 00:58
save debug
This file has been truncated, but you can view the full file.
var COMPILED = !0, goog = goog || {};
goog.global = this;
goog.DEBUG = !0;
goog.LOCALE = "en";
goog.provide = function(a) {
if(!COMPILED) {
if(goog.isProvided_(a)) {
throw Error('Namespace "' + a + '" already declared.');
}
delete goog.implicitNamespaces_[a];
@ibdknox
ibdknox / test.html
Created February 21, 2013 23:22
3.1 very slow refresh
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>CodeMirror: Active Line Demo</title>
<link rel="stylesheet" href="../lib/codemirror.css">
<script src="../lib/codemirror.js"></script>
<script src="../mode/css/css.js"></script>
<script src="../addon/selection/active-line.js"></script>
<link rel="stylesheet" href="../doc/docs.css">
@ibdknox
ibdknox / widgetcutoff.html
Created January 31, 2013 22:05
example of codemirror widgets getting cut off.
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>CodeMirror: Inline Widget Demo</title>
<link rel="stylesheet" href="../lib/codemirror.css">
<script src="../lib/codemirror.js"></script>
<script src="../mode/javascript/javascript.js"></script>
<link rel="stylesheet" href="../doc/docs.css">
@ibdknox
ibdknox / refresh.html
Created January 16, 2013 22:17
refresh rates demo
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>CodeMirror: Active Line Demo</title>
<link rel="stylesheet" href="../lib/codemirror.css">
<script src="../lib/codemirror.js"></script>
<script src="../mode/xml/xml.js"></script>
<link rel="stylesheet" href="../doc/docs.css">