Skip to content

Instantly share code, notes, and snippets.

@vikrum
vikrum / websocketplayground.html
Created October 12, 2011 21:41
Quick, dirty, in-browser websocket playground
<!DOCTYPE html>
<html lang="en">
<head>
<title>websocket playground</title>
<meta charset="utf-8">
<meta name="description" content="Quick, dirty, and in-browser websocket playground">
<meta name="author" content="@vikrum5000">
<link rel="stylesheet" href="http://twitter.github.com/bootstrap/1.3.0/bootstrap.min.css">
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<style type="text/css">
@vikrum
vikrum / .osx
Last active April 3, 2026 22:23
Vikrum's Most Excellent Antiques, Curiosities, and Dotfiles
defaults write com.apple.Safari IncludeDebugMenu 1
defaults write com.apple.dock no-bouncing -bool TRUE
defaults write com.apple.notificationcenterui bannerTime 1
defaults write -g ApplePressAndHoldEnabled -bool false
defaults write com.apple.Dock autohide-delay -float 0
defaults write com.apple.dock autohide-time-modifier -float 0.01
defaults -currentHost write -globalDomain NSStatusItemSpacing -int 1
defaults -currentHost write -globalDomain NSStatusItemSelectionPadding -int 1
killall Dock