Skip to content

Instantly share code, notes, and snippets.

View marcusneto's full-sized avatar

Marcus Neto marcusneto

View GitHub Profile
@marcusneto
marcusneto / gist:6207008
Created August 11, 2013 21:50
RespondJS help
<script src="assets/js/jrespond.js" type="text/javascript"></script>
<script type="text/javascript">
// call jRespond and add breakpoints
var jRes = jRespond([
{
label: 'handheld',
enter: 0,
exit: 600
},{
@marcusneto
marcusneto / gem_error
Created October 1, 2012 23:49
Gem error
ERROR: Error installing css_parser:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h
Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/json-1.7.5 for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/json-1.7.5/ext/json/ext/generator/gem_make.out
@marcusneto
marcusneto / disquss on mamp
Created August 3, 2012 21:48
Disqus on MAMP
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'demositeforee'; // required: replace example with your forum shortname
var disqus_identifier = '{entry_id}';
var disqus_url = '{url_title_path="newsroom/article"}';
var disqus_developer = 1; // developer mode is on
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {