Skip to content

Instantly share code, notes, and snippets.

Words are flowing out like endless rain into a paper cup
They slither wildly as they slip away across the universe
Pools of sorrow, waves of joy are drifting through my opened mind
Possessing and caressing me
Jai Guru Deva OM >> What does this mean?
Nothing's gonna change my world
Nothing's gonna change my world
Images of broken light which dance before me like a million eyes
@jennojenno
jennojenno / gist:6572877
Created September 15, 2013 17:42
CSS for Busy Hands
body,html {
font-weight: normal;
font-family: Arial, Helvetica, sans-serif;
color: black;
font-size: 17px;
background: url('../images/bg_body.jpg');
}
#wrapper{
background: url('../images/bg_wrapper.png') repeat-x;
@jennojenno
jennojenno / gist:6572869
Created September 15, 2013 17:41
HTML for Busy Hands
<!DOCTYPE html>
<html lang="en">
<head>
<title>Navigation | Home </title>
<link rel="stylesheet" type="text/css" href="css/reset.css" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
<body>
<%= form_for([current_user, @message]) do |f| %>
<% if @message.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@message.errors.count, "error") %> prohibited this message from being saved:</h2>
<ul>
<% @message.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>My Amazing Fat Client Portfolio Builder</title>
<link rel="stylesheet" href="../app/assets/stylesheets/application.css">
</head>
<body>
require_relative 'wiki_handler'
class WikiImport < Nokogiri::XML::SAX::Document
include WikiHandler
# A stack (Array) of attributes as we find them
attr_accessor :attribute_stack
# A logger to output to the screen
In Javascript file:
$('h3#createtodo').click(function() {
// $(this).next().find('#todoforms').slideToggle();
$('.new_todo_item').slideToggle('slow', function() {
// Animation complete.
});
});
$('img#play').click(function() {
(function(linky) {
$.get(
'http://soundcloud.com/oembed?' +
'url=' + linky +
'&format=json&maxheight=296'
)
.done(function (response) {
(function(song) {
<!DOCTYPE html>
<head>
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>underscore demo</title>
<script src="underscore-min.js"></script>
<script src="http://connect.soundcloud.com/sdk.js"></script>
</head>
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Interactive SoundCloud Catalog </title>
<script src="/source/jquery-1.9.1.min.js"> </script>
<script src="http://connect.soundcloud.com/sdk.js"></script>
<link href="main.css" type="text/css" rel="stylesheet">