Skip to content

Instantly share code, notes, and snippets.

Luiz Felipe G. Pereira Draiken

  • Replay Gaming
  • Brazil
Block or report user

Report or block Draiken

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View test_liborgdate_utf8.py
# -*- coding: utf-8 -*-
import sys
import unittest
import locale
import threading
from datetime import date
from contextlib import contextmanager
View xmonad.hs
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
View xnomad.crash
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 Sep 27, 2012
Ember rails on variant
View error.txt
/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 Jul 20, 2012
Git log for codeswarm
View git_code_swarm.sh
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
sinatra problem
View problem.log
$ 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
View sinatra_problem.rb
require 'bundler/setup'
Bundler.require(:default, :sinatra)
class WatcherApp < ::Sinatra::Base
set :haml, :format => :html5
get '/' do
haml :index
end
View hello.xml
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet src="hss/style.hss" type="application/x-hss" version="1.0"?>
<example>Hello world</example>
View console.log
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
View tree
.
├── app
│   ├── controllers
│   │   └── home_controller.js.coffee
│   ├── models
│   └── templates
│   └── books
│   └── index.handlebars
├── app.js
├── application.js
You can’t perform that action at this time.