Skip to content

Instantly share code, notes, and snippets.

source 'http://rubygems.org'
gem 'rails', '3.2.0'
gem 'sqlite3'
gem 'thin'
gem 'sprockets', '2.1.2'
/*
Syntax error: File to import not found or unreadable: compass/css3.
Load paths:
/Users/justin/Sites
/Users/justin/Sites/Foundation
on line 15 of Foundation/app/assets/stylesheets/application.scss
10: *= depend_on _contentsection.scss
11: *= depend_on _connection.scss
12: *= depend_on _widget.scss
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script src="http://codeclasschat.herokuapp.com/helpers.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
$('#message').keyup(function(e) {
if (e.keyCode === 13) {
e.preventDefault();
function getUser(username) {
var config = Instagram.config;
var url = config.api_host + "/v1/users/" + searchUsers(username, _usernameToId) +
"/?access_token=" + config.access_token + "&callback=?";
$.getJSON(url, function(data) {
console.log(data);
});
}
{ include "header.htm" }
<div class="no_stage" id="content">
<div id="topbar">
<!-- tag for permalink url: show the project's permalink -->
<div class="left">
<a href="#top" rel="permalink">
<span class="title">{ show the project's title }</span>
</a>
<span class="foundation">{ show the project's foundation }</span>
rows = [
[0, 1, 2],
[3, 4, 5],
[6, 7, 8]
]
cols = [[], [], []]
// loop over the rows array with var i
// loop over one array in rows array with var j
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# Turn on advanced bash completion if the file exists
if [ -f /usr/local/etc/bash_completion ]; then
. /usr/local/etc/bash_completion
fi
# Locate virtualenvwrapper binary
if [ -f ~/.local/bin/virtualenvwrapper.sh ]; then
RewriteEngine on
DirectoryIndex index.php
RewriteRule ^$ /index.php [L]
RewriteRule ^home$ /index.php [L]
RewriteRule ^about$ /about.php [L]
RewriteCond %{REQUEST_METHOD} GET
RewriteRule ^made/([^/]*)$ /project.php?p=$1 [L]
@jedmund
jedmund / errors
Last active August 29, 2015 14:02
Uncaught TypeError: undefined is not a function backbone.marionette.js?body=1:22
------------------------------------------------------------------------------------------
c.extend.add backbone.marionette.js?body=1:22
c.extend.addInitializer backbone.marionette.js?body=1:22
(anonymous function) main.js?body=1:8
Uncaught TypeError: undefined is not a function backbone.marionette.js?body=1:22
------------------------------------------------------------------------------------------
c.extend.add backbone.marionette.js?body=1:22
c.extend.addInitializer backbone.marionette.js?body=1:22
@import "base/reset";
// Thoughtbot libraries
@import "vendor/bourbon/bourbon";
@import "vendor/neat/neat";
@import "vendor/base/base";
// Helpers
@import "helpers/variables";
@import "helpers/functions";