Skip to content

Instantly share code, notes, and snippets.

View alexoviedo999's full-sized avatar

Alejandro Oviedo alexoviedo999

View GitHub Profile
@alexoviedo999
alexoviedo999 / cradle install error
Created February 17, 2013 04:51
node.js cradle install error
regulars-MacBook-Air:sms-survey-app regular2$ npm install cradle
npm WARN package.json sms-survey-app@0.0.2-1 No README.md file found!
npm ERR! Error: EACCES, open '/Users/regular2/.npm/06b1cd1f-cradle.lock'
npm ERR! { [Error: EACCES, open '/Users/regular2/.npm/06b1cd1f-cradle.lock']
npm ERR! errno: 3,
npm ERR! code: 'EACCES',
npm ERR! path: '/Users/regular2/.npm/06b1cd1f-cradle.lock' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
@alexoviedo999
alexoviedo999 / index.html
Created January 3, 2013 20:37
A CodePen by Alejandro Oviedo. GrayScale Invert - Using webkit filters for invert effect.
<div class="gray_invert">
<img src="http://1.bp.blogspot.com/-OOQenAqb3S8/T1PCpS-TT4I/AAAAAAAAFeE/BWLvsDLf9Ug/s1600/grey-gradient-6.jpg">
</div>​
@alexoviedo999
alexoviedo999 / index.html
Created December 10, 2012 06:01
A CodePen by Joey Hoer. SMPTE Color Bars - Using linear gradients, pseudo elements, and animations to recreate a staticy version of the the classic SMTPE Color Bars; possibly for use as a 404 page.
<div class="static">
<div></div>
</div>
<div class="scan"></div>
@alexoviedo999
alexoviedo999 / index.html
Created December 8, 2012 05:52
A CodePen by Adem ilter. 404 No signal
<h1>404</h1>
<div class="frame">
<div></div>
<div></div>
<div></div>
</div>
<div class="caps"><img src="http://ademilter.com/caps.png" alt=""></div>
<canvas id="canvas"></canvas>
NoMethodError in Purchases#create
Showing /Users/regular2/Desktop/WebDev/xtunes_mason/app/views/purchases/_form.html.erb where line #1 raised:
undefined method `name' for nil:NilClass
Extracted source (around line #1):
1: <h2><%= @song.name %></h2> <br />
2: <%= form_for(@purchase) do |f| %>
3: <div class="field">
@alexoviedo999
alexoviedo999 / gist:3976804
Created October 29, 2012 21:56
xtunes error
undefined local variable or method `m' for main:Object