Skip to content

Instantly share code, notes, and snippets.

View baugarten's full-sized avatar

Ben Augarten baugarten

  • University of California, Berkeley
  • Berkeley, CA
View GitHub Profile
//
// Created by Jesse Squires
// http://www.hexedbits.com
//
//
// Documentation
// http://cocoadocs.org/docsets/JSQMessagesViewController
//
//
// GitHub
@baugarten
baugarten / jquery-ui.html
Created August 29, 2013 14:12
jQuery UI inserts second to last
<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
<script>
$(function() {
$(".container-sortable").sortable({
});
$(".item-list").sortable({
@baugarten
baugarten / index.html
Created August 21, 2013 21:49
Columnize inside of an iframe
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Columnizer JQuery Plugin same plage</title>
<meta name="generator" content="TextMate http://macromates.com/">
<meta name="author" content="Matt Wilson">
<!-- Date: 2008-07-12 -->
<style>
@baugarten
baugarten / data_test.js
Created August 9, 2013 21:16
Bug 903083
(function() {
window.get = function(tokens, cb) {
var data = {
method: "getValues",
tokens: tokens
};
window.self.port.emit('message', data);
window.self.port.once('getSuccess', function(message) {
console.log("Got success", JSON.stringify(message.tokens));
if (cb) {