I hereby claim:
- I am nelsonjchen on github.
- I am nelsonchen (https://keybase.io/nelsonchen) on keybase.
- I have a public key whose fingerprint is F5F2 90E6 0377 DA52 3F60 302E 979A E9AB DC3F A1F5
To claim this, I am signing this object:
[19:48:25] <cinnamyn77> it turned out my issue wasn't directly related to pycharm | |
[19:49:06] <cinnamyn77> though i am still slightly mystified that sys.modules had different directory capitalizations in pycharm and on the cli | |
[19:52:39] <crazysim> oh? | |
[19:52:58] <crazysim> what was it | |
[19:54:54] <cinnamyn77> deep in the test loaders in nose, it does some module checking | |
[19:55:16] <cinnamyn77> it was comparing the result of os.getcwd() to sys.modules | |
[19:55:25] <cinnamyn77> one had my home dir with my name capitalized, and one did not | |
[19:55:30] <crazysim> hmm | |
[19:55:36] <cinnamyn77> so the comparison failed, the modules were stripped out, and imports failed | |
[19:55:52] <cinnamyn77> i ended up renaming my homedir to be capitalized >< |
# | |
# Cookbook Name:: nanoc-compass-overflow-demo | |
# Recipe:: default | |
# | |
# Copyright (C) 2013 YOUR_NAME | |
# | |
# All rights reserved - Do Not Redistribute | |
# | |
bash 'demo_bundler' do |
import pycurl | |
class Response(object): | |
""" utility class to collect the response """ | |
def __init__(self): | |
self.chunks = [] | |
def callback(self, chunk): | |
self.chunks.append(chunk) | |
def content(self): | |
return ''.join(self.chunks) |
import pycurl | |
class Response(object): | |
""" utility class to collect the response """ | |
def __init__(self): | |
self.chunks = [] | |
def callback(self, chunk): | |
self.chunks.append(chunk) | |
def content(self): | |
return ''.join(self.chunks) |
# | |
# Place this code to your .profile, .bashrc, .bash_profile or whatever | |
# | |
program_exists () { | |
type "$1" &> /dev/null ; | |
} | |
if program_exists go; then |
require 'formula' | |
class Libvirt < Formula | |
homepage 'http://www.libvirt.org' | |
url 'http://libvirt.org/sources/libvirt-1.2.1.tar.gz' | |
sha256 'bc29b5751bf36753c17e2fdbb75e70c7b07df3d9527586d3426e90f5f4abb898' | |
option 'without-libvirtd', 'Build only the virsh client and development libraries' | |
depends_on 'pkg-config' => :build |
I hereby claim:
To claim this, I am signing this object:
if [ "$(whoami)" = "root" ]; then CARETCOLOR="red"; else CARETCOLOR="magenta"; fi | |
local return_code="%(?..%{$fg_bold[red]%}:( %?%{$reset_color%})" | |
PROMPT=' | |
%{$fg_bold[cyan]%}%n%{$reset_color%}%{$fg[yellow]%}@%{$reset_color%}%{$fg_bold[blue]%}%m%{$reset_color%}:%{${fg_bold[green]}%}%~%{$reset_color%}$(git_prompt_info) | |
%{${fg[$CARETCOLOR]}%}%# %{${reset_color}%} ' | |
RPS1='${return_code} %W - %@' |
nelson@damacy:~/code | |
% brew --config 04/25/14 - 12:12PM | |
HOMEBREW_VERSION: 0.9.5 | |
ORIGIN: https://github.com/Homebrew/homebrew.git | |
HEAD: 127a89a32fc2f6fe758e8cbf1d74f92e5819c55e | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
CPU: 8-core 64-bit haswell | |
OS X: 10.9.2-x86_64 | |
Xcode: 5.1.1 |
Installing rake 10.3.1 | |
Installing i18n 0.6.9 | |
Installing json 1.8.1 | |
Installing minitest 5.3.3 | |
Installing thread_safe 0.3.3 | |
Installing tzinfo 1.1.0 | |
Installing activesupport 4.1.0 | |
Installing builder 3.2.2 | |
Installing erubis 2.7.0 | |
Installing actionview 4.1.0 |