Skip to content

Instantly share code, notes, and snippets.

View email.slim
p Hello from Shogun!
p Instagram will soon be deprecating the API Shogun currently uses for adding an Instagram feed to your Shogun pages, in favor of a new API. The old API will stop working on March 31st. You can read more about this deprecation from Instagram here:
p The new API being introduced by Instagram is very similar to the old one, but differs in that an Instagram user will be listed by Username rather than by their Full Name, and will not include the User's Profile Image.
p In order to avoid any problems with your Shogun pages that use the Instagram element, you will need to:
li Re-authorize your Instagram account with Shogun using Instagram's new API authorization
# -*- 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 / 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 /
Created Jul 20, 2012
Git log for codeswarm
git log --name-status --pretty=format:'%n------------------------------------------------------------------------%nr%h | %ae | %ai (%aD) | %x lines%nChanged paths: %N'
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, 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
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
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