Skip to content

Instantly share code, notes, and snippets.

<div class="columns">
<div class="column">
<h2>Column</h2>
<ul>
<li><a href="">Something</a></li>
<li><a href="">Something</a></li>
<li><a href="">Something</a></li>
</ul>
</div>
<div class="column">
/**
* jQuery.ScrollTo - Easy element scrolling using jQuery.
* Copyright (c) 2007-2009 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
* Dual licensed under MIT and GPL.
* Date: 5/25/2009
* @author Ariel Flesler
* @version 1.4.2
*
* http://flesler.blogspot.com/2007/10/jqueryscrollto.html
*/
CREATE TABLE tags (
`id` int(11) PRIMARY KEY,
`name` varchar(255)
)
CREATE TABLE post_tags (
`post_id` int(11),
`tag_id` int(11)
)
$('#list_gallery .entry').each(function () {
setTimeout(function () {
$(this).fadeIn();
}, 50);
});
included do
extend ConfigMethods
@@perform_caching = true
cattr_accessor :perform_caching
end
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Search Test</title>
<link rel="stylesheet" type="text/css" href="src/style/global.css" media="screen" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
new_project_page GET /:client_id/:project_id/pages/new {:controller=>"pages", :action=>"new"}
POST /:client_id/:project_id/pages {:controller=>"pages", :action=>"create"}
project_pages GET /:client_id/:project_id/pages {:controller=>"pages", :action=>"index"}
sort_project_pages POST /:client_id/:project_id/sort {:controller=>"pages", :action=>"sort"}
reorder_project_pages GET /:client_id/:project_id/reorder {:controller=>"pages", :action=>"reorder"}
GET /:client_id/:project_id/publish {:controller=>"public_projects", :action=>"create"}
public_project DELETE /:client_id/:project_id/publish {:controller=>"public_projects", :action=>"destroy"}
GET /:client_id/:project_id/:id {:controller=>"pages", :action=>"show"}
edit_project_page GET /:client_id/:project_id/:id/edit {:controller=>"pages", :action=>"edit"}
P
/**
* @depends jquery-1.4.2.js
*/
(function($) {
/*
*
**/
var cache = [];
$.preloadImages = function() {
def juicer_script_tag(file)
if Rails.env == 'development'
contents = File.read(File.expand_path("#{file}.js", File.join(Rails.root, 'public', 'javascripts')))
files = []
contents.scan(/\@depends?\s+([^\s\'\"\;]+)/).to_a.each do |included|
files << included.first unless included.first =~ /\*/
end
# The file that was to be included should be last.
19:02 ~ $ ping cnn.com
PING cnn.com (157.166.224.26): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4
Request timeout for icmp_seq 5
Request timeout for icmp_seq 6
Request timeout for icmp_seq 7