Skip to content

Instantly share code, notes, and snippets.

View cpjolicoeur's full-sized avatar

Craig P Jolicoeur cpjolicoeur

View GitHub Profile
.sass-cache
.bundle
.rvmrc
.rbenv-version
# vim ctags files
TAGS
# xcode noise
build/*
this is a test
this is a test this is a test
this is a test
14,17c14,15
< set $mimedia_api_key __MIMEDIA_API_KEY__;
< set $server_debug __MIMEDIA_API_DEBUG__;
<
<
---
> set $mimedia_api_key "Anybody seen Godot?";
> set $server_debug true;
22,27c20,22
< server_name __SERVER_NAME__;
53,57c53,57
< client_body_temp_path __TEMP_CLIENT_PATH__;
< proxy_temp_path __TEMP_PROXY_PATH__;
< fastcgi_temp_path __TEMP_FASTCGI_PATH__;
< scgi_temp_path __TEMP_SCGI_PATH__;
< uwsgi_temp_path __TEMP_UWSGI_PATH__;
---
> client_body_temp_path /usr/local/var/run/nginx;
> proxy_temp_path /usr/local/var/run/nginx;
> fastcgi_temp_path /usr/local/var/run/nginx;
<div class="auth-nav">
<div>
<div class="account-bar">
<div class="account-list">
<img class="arrow right" src="/assets/arrow-down.png" alt="Show More">
<div class="account-name current-account">MojoTech</div>
</div>
<div class="cf"></div>
</div>
<div class="drop-down" style="display: none;">
def as_json(options={})
super {only: [:faction, :name]}.merge(options)
end
body: '{"url":"https://api.github.com/repos/mojotech/allocate/pulls/54","id":5164627,"html_url":"https://github.com/mojotech/allocate/pull/54","diff_url":"https://github.com/mo
jotech/allocate/pull/54.diff","patch_url":"https://github.com/mojotech/allocate/pull/54.patch","issue_url":"https://github.com/mojotech/allocate/issues/54","number":54,"state":"o
pen","title":"Don\'t show marketing home page to logged in users","user":{"login":"cpjolicoeur","id":863,"avatar_url":"https://secure.gravatar.com/avatar/cf8a610127d1108dfe67f673
320b5fe5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png","gravatar_id":"cf8a610127d1108dfe67f673320b5fe5","url":"https://api.github.co
m/users/cpjolicoeur","html_url":"https://github.com/cpjolicoeur","followers_url":"https://api.github.com/users/cpjolicoeur/followers","following_url":"https://api.github.com/user
s/cpjolicoeur/following","gists_url":"https://api.github.com/users/cpjolicoeur/gists{/gist_id}","starred_url":"https://api.github.c
@cpjolicoeur
cpjolicoeur / mixin.scss
Created March 7, 2013 14:02
SCSS placeholder color mixin
@mixin input-placeholder-color($color) {
&::-webkit-input-placeholder { color: $color; }
&:-moz-placeholder { color: $color; }
&:-ms-input-placeholder { color: $color; }
}
_.debounce = function(func, wait, immediate) {
var timeout, result;
return function() {
var context = this, args = arguments;
var later = function() {
timeout = null;
if (!immediate) result = func.apply(context, args);
};
var callNow = immediate && !timeout;
clearTimeout(timeout);
info: Activating snapshot 0.0.1-1
info: Snapshot 0.0.1-1 is now active
info: Starting app nko3-narwhals
error: Error running command snapshots activate
error: Nodejitsu Error (500): Internal Server Error
error: There was an error while attempting to deploy the app
error:
error: Cannot make Rackspace request if not authorized
error: Error output from Haibu:
error: