Skip to content

Instantly share code, notes, and snippets.

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);
});
}
<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();
/*
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
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
justin@diviner:~/Sites/Foundation$ rails server thin
=> Booting Thin
=> Rails 3.2.0 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
>> Thin web server (v1.5.0 codename Knife)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:3000, CTRL+C to stop
Exiting
/Users/justin/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0/lib/eventmachine.rb:526:in `start_tcp_server': no acceptor (port is in use or requires root privileges) (RuntimeError)
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
# Uncomment this and configure after the system has booted for the first time
auto eth0
iface eth0 inet static
<div class="circle">
<div class="circle_contents">
<h1>Hello World!</h1>
</div>
</div>
The Product Designer's Dilemma:
The design of a product is a synergy of visual design, interaction design, psychology and information hierarchy. A product is a lot more than just its skin. The mentality of your average designer on Dribbble is "How do I make this prettier?" when faced with a redesign. This doesn't work with products. *Every* decision is very carefully and consciously made with regard to userbase and functionality. Maybe the result is that the product had to be ugly. That's fine. Most people won't care. Most designers (at least on Dribbble) will, because they don't understand systems. The system is where the beauty of the design lies, not necessary how glossy the buttons are. You can't convey that in 400x300 pixels.
<?php
/**
* Database Constants
*
* These constants help Parchment connect to the database.
*
*/
defined("DB_SERVER") ? null :