Skip to content

Instantly share code, notes, and snippets.

@ibdknox
ibdknox / paredit.cljs
Created November 6, 2013 18:04
the paredit plugin for light table
(ns lt.plugins.paredit
(:require [lt.object :as object]
[lt.objs.editor :as editor]
[lt.objs.editor.pool :as pool]
[lt.objs.command :as cmd]
[lt.util.cljs :refer [str-contains?]]
))
(def opposites {")" "("
@ibdknox
ibdknox / bootstrap.js
Created September 6, 2013 22:34
Fix for use-tabs? not working correctly in 0.5.3
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 / ltmain.py
Created August 24, 2013 16:34
remove prints from ltmain.py
import sys
import threading
import os
import ast
import imp
import inspect
import ctypes
import socket
import json
import re
@ibdknox
ibdknox / settings.clj
Created August 22, 2013 21:10
missing behaviors for making settings better
:editor.behaviors [:lt.plugins.auto-complete/auto-show-on-input]
:editor.keymap [:lt.plugins.auto-complete/auto-show-on-input]
@ibdknox
ibdknox / dark.css
Created August 11, 2013 16:35
dark skin for lt
/**********************************************************
* Vars
***********************************************************/
:root {
var-bg: #202020;
var-fg: #ccc;
var-border: #444;
var-shadow: black;
@ibdknox
ibdknox / default.clj
Last active December 19, 2015 20:08
default behaviors for all of LT
{
:+
{:app
#{:lt.objs.clients.local/startup-with-local-client
:lt.objs.settings2/load-behaviors
:lt.objs.settings2/load-keys
:lt.objs.proc/set-path-OSX
:lt.objs.workspace/reconstitute-last-workspace
:lt.objs.sidebar.command/init-commands
:lt.objs.clients.ws/kill-on-closed
@ibdknox
ibdknox / index.html
Created June 15, 2013 00:49
make node-webkit crash with devtools + webgl
<html>
<head>
<meta charset='utf-8'>
<title>
WebGL
</title>
<style>
body { background: #202020; color:#ccc; }
a { color:#ccc; }
iframe {border:none;}
@ibdknox
ibdknox / webgl.crash
Created June 14, 2013 21:30
node-webkit 0.6.0 webgl crash
Process: node-webkit Helper [21544]
Path: /Users/USER/*/LightTable.app/Contents/Frameworks/node-webkit Helper.app/Contents/MacOS/node-webkit Helper
Identifier: com.intel.nw.helper
Version: 28.0.1500.11 (1500.11)
Code Type: X86 (Native)
Parent Process: node-webkit [21539]
User ID: 501
Date/Time: 2013-06-14 14:23:04.470 -0700
OS Version: Mac OS X 10.8.3 (12D78)
@ibdknox
ibdknox / stackdump
Created May 17, 2013 15:07
inline browser crash
Process: node-webkit [46852]
Path: /Applications/LightTable.app/Contents/MacOS/node-webkit
Identifier: com.kodowa.LightTable
Version: 0.4.0 (???)
Code Type: X86 (Native)
Parent Process: launchd [126]
User ID: 501
Date/Time: 2013-05-17 10:38:15.358 -0400
OS Version: Mac OS X 10.8.3 (12D78)
Report Version: 10
@ibdknox
ibdknox / bootstrap.js
Created May 17, 2013 14:32
fix double menu crash on ubuntu
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];