Skip to content

Instantly share code, notes, and snippets.

# -*- coding: utf-8 -*-
import sys
import unittest
import locale
import threading
from datetime import date
from contextlib import contextmanager
import XMonad
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.ManageDocks
import XMonad.Util.Run(spawnPipe)
import XMonad.Util.EZConfig(additionalKeys)
import System.IO
main = do
xmproc <- spawnPipe "/usr/bin/xmobar /home/draiken/.xmobarrc"
xmonad $ defaultConfig
Process: bash [7721]
Path: /usr/local/Cellar/bash/4.2.20/bin/bash
Identifier: bash
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: bash [1108]
Date/Time: 2012-10-09 08:24:06.424 -0300
OS Version: Mac OS X 10.7.5 (11G63)
Report Version: 9
@Draiken
Draiken / error.txt
Created September 27, 2012 12:00
Ember rails on variant
/home/mserie/.rvm/gems/ruby-1.9.3-p194@minhaserie/gems/railties-3.2.8/lib/rails/railtie/configuration.rb:85:in `method_missing': undefined method `ember' for #<Rails::Application::Configuration:0x00000003e46710> (NoMethodError)
from /home/mserie/deploy/releases/20120926173019/config/environments/production.rb:63:in `block in <top (required)>'
from /home/mserie/.rvm/gems/ruby-1.9.3-p194@minhaserie/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:24:in `class_eval'
from /home/mserie/.rvm/gems/ruby-1.9.3-p194@minhaserie/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:24:in `configure'
from /home/mserie/deploy/releases/20120926173019/config/environments/production.rb:1:in `<top (required)>'
from /home/mserie/.rvm/gems/ruby-1.9.3-p194@minhaserie/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'
from /home/mserie/.rvm/gems/ruby-1.9.3-p194@minhaserie/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `block in require'
from /home/mserie/.rvm/gems/ruby-1.9.
@Draiken
Draiken / git_code_swarm.sh
Created July 20, 2012 14:05
Git log for codeswarm
git log --name-status --pretty=format:'%n------------------------------------------------------------------------%nr%h | %ae | %ai (%aD) | %x lines%nChanged paths: %N'
@Draiken
Draiken / problem.log
Created May 31, 2012 19:52
sinatra problem
$ bundle exec ruby watcher.rb
== Sinatra/1.3.2 has taken the stage on 4567 for development with backup from Thin
>> Thin web server (v1.3.1 codename Triple Espresso)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:4567, CTRL+C to stop
^C>> Stopping ...
== Sinatra has ended his set (crowd applauds)
== Sinatra/1.3.2 has taken the stage on 4567 for development with backup from Thin
@Draiken
Draiken / sinatra_problem.rb
Created May 31, 2012 19:50
sinatra_problem.rb
require 'bundler/setup'
Bundler.require(:default, :sinatra)
class WatcherApp < ::Sinatra::Base
set :haml, :format => :html5
get '/' do
haml :index
end
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet src="hss/style.hss" type="application/x-hss" version="1.0"?>
<example>Hello world</example>
Process: AXR Prototype [31316]
Path: /Applications/AXR Prototype.app/Contents/MacOS/AXR Prototype
Identifier: vg.axr.AXR-Prototype
Version: 0.46 (1)
Code Type: X86-64 (Native)
Parent Process: launchd [126]
Date/Time: 2012-04-26 13:32:08.558 -0300
OS Version: Mac OS X 10.7.3 (11D50)
Report Version: 9
@Draiken
Draiken / tree
Created March 2, 2012 20:56
treee
.
├── app
│   ├── controllers
│   │   └── home_controller.js.coffee
│   ├── models
│   └── templates
│   └── books
│   └── index.handlebars
├── app.js
├── application.js