My Recent Pastes (238113 and counting)
All Pasties (over 238,113 and counting)
Pages: 1 … 6074 6075 6076 6077 6078 … 11906
Below are summaries of the most recent pasties.
January 30, 2008
9:16PM EDT
View more (8 lines)
1 2 3 4 5 |
<?php
class Page{
private $Page;
private $Title
|
January 30, 2008
9:15PM EDT
View more (265 lines)
1 2 3 4 5 |
Index: src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/TrackEditor.cs =================================================================== --- src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/TrackEditor.cs (revision 3107) +++ src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/TrackEditor.cs (working copy) @@ -53,6 +53,7 @@ |
January 30, 2008
9:15PM EDT
1 2 3 4 5 |
if (((rectangles[i].x()+rectangles[i].h()) >= rectangles[j].x()) && ((rectangles[i].x()+rectangles[i].h()) <= (rectangles[j].x() + rectangles[j].h())) && (rectangles[i].y() >= rectangles[j].y()) && (rectangles[i].y() <= (rectangles[j].y() + rectangles[j].w())) && (fabs(rectangles[i].z() - rectangles[j].z()) <= 1)) |
January 30, 2008
9:05PM EDT
View more (19 lines)
1 2 3 4 5 |
for (i = 0; i < numCharges; i++) {
L1 = x[i];
L2 = getKSize() - x[i];
L3 = y[i];
L4 = getKSize() - y[i];
|
January 30, 2008
9:05PM EDT
View more (126 lines)
1 2 3 4 5 |
/* Simple program: Create a blank window, wait for keypress, quit. Please see the SDL documentation for details on using the SDL API: /Developer/Documentation/SDL/docs.html |
January 30, 2008
8:55PM EDT
View more (34 lines)
1 2 3 4 5 |
DSData {
name: "Backup Everything"
author: "Ethan Osten"
date: "1-30-08"
}
|
January 30, 2008
8:46PM EDT
View more (18 lines)
1 2 3 4 5 |
function createJSONObject(menuClass){ var JSONObj = ""; var JSONObjInner = ""; menuClass = (menuClass)?menuClass:"Search"; |
January 30, 2008
8:42PM EDT
View more (16 lines)
1 2 3 4 5 |
./Banshee.Streaming/StreamTagger.cs(61,53): error CS0117: `Banshee.Collection.TrackInfo' does not contain a definition for `Disc' ./Banshee.Collection/TrackInfo.cs(40,18): (Location of the symbol related to previous error) ./Banshee.Streaming/StreamTagger.cs(61,19): error CS0117: `Banshee.Collection.TrackInfo' does not contain a definition for `Disc' ./Banshee.Collection/TrackInfo.cs(40,18): (Location of the symbol related to previous error) ./Banshee.Streaming/StreamTagger.cs(84,37): error CS0117: `Banshee.Streaming.CommonTags' does not contain a definition for `Disc' |
January 30, 2008
8:39PM EDT
by drnic
1 2 3 4 5 |
$ git pull origin two_point_ooh Already up-to-date. ~/Library/Application Support/TextMate/Bundles/Ruby on Rails.tmbundle(master) $ git push origin two_point_ooh error: remote 'refs/heads/two_point_ooh' is not a strict subset of local ref 'refs/heads/two_point_ooh'. maybe you are not up-to-date and need to pull first? error: failed to push to 'git@github.com:drnic/ruby-on-rails-tmbundle.git' |
January 30, 2008
8:39PM EDT
View more (34 lines)
1 2 3 4 5 |
## New view - removed the Service.find call <%= f.collection_select(:service, @services, :id, :service_name) %> |
January 30, 2008
8:37PM EDT
View more (17 lines)
1 2 3 4 5 |
require File.join(File.dirname(__FILE__), '..', 'spec_helper.rb') describe Users, "authenticate action via REST" do specify "authenticate" do |
January 30, 2008
8:36PM EDT
View more (197 lines)
1 2 3 4 5 |
Index: src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/TrackEditor.cs =================================================================== --- src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/TrackEditor.cs (revision 3103) +++ src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/TrackEditor.cs (working copy) @@ -53,6 +53,7 @@ |
January 30, 2008
8:34PM EDT
View more (14 lines)
1 2 3 4 5 |
$pee = preg_replace('!(<' . $allblocks . '[^>]*>)!', "\n$1", $pee);
$pee = preg_replace('!(</' . $allblocks . '>)!', "$1\n\n", $pee);
$pee = str_replace(array("\r\n", "\r"), "\n", $pee); // cross-platform newlines
$pee = preg_replace("/\n\n+/", "\n\n", $pee); // take care of duplicates
$pee = preg_replace('/\n?(.+?)(?:\n\s*\n|\z)/s', "<p>$1</p>\n", $pee); // make paragraphs, including one at the end
|
January 30, 2008
8:33PM EDT
View more (14 lines)
1 2 3 4 5 |
$pee = preg_replace('!(<' . $allblocks . '[^>]*>)!', "\n$1", $pee);
$pee = preg_replace('!(</' . $allblocks . '>)!', "$1\n\n", $pee);
$pee = str_replace(array("\r\n", "\r"), "\n", $pee); // cross-platform newlines
$pee = preg_replace("/\n\n+/", "\n\n", $pee); // take care of duplicates
$pee = preg_replace('/\n?(.+?)(?:\n\s*\n|\z)/s', "<p>$1</p>\n", $pee); // make paragraphs, including one at the end
|
January 30, 2008
8:33PM EDT
1 2 3 |
with_steps_for [:common, :boxy] do run File.expand_path(__FILE__).gsub(".rb",""), :type => MerbStory end |
January 30, 2008
8:33PM EDT
1 2 3 4 5 |
Hola mi amigo. desde mi primer día en la base que usted me tomó bajo sus alas y me ayudó a acclimate en ella y me mostró todo y cada uno y realmente me tomó "bajo sus alas" como dicen. aunque soy joven y usted se acerca para conseguir liberados del ejército. gracias. Espero su vida iba a obtener mejor a partir de ahora; puestos de trabajo, niñas y básicamente divertido. justa libertad como un ciudadano y no un soldado. divertirse en su viaje, ustedes han ganado. i esperanza de que serán una experiencia debes recordar para un largo tiempo. i esperanza de que usted recibir educación superior demasiado, en algo que le interesan mucho. y espero que esta vez entre dejando el ejército y liberación fue buena. tienen una buena vida, Dan. |
January 30, 2008
8:29PM EDT
View more (10 lines)
1 2 3 4 5 |
Hello my friend. since my first day in the base you took me under your wings and helped me to acclimate in it and showed me everything and every one and really took me "under your wings" as they say. even though im young and you were about to get released from the army. thank you. i hope your life would get better from now on; jobs, girls, and basicly fun. just freedom as being a citizen and not a soldier. have fun in your trip, you have earned it. i hope it'll be |
January 30, 2008
8:19PM EDT
View more (190 lines)
1 2 3 4 5 |
Index: src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/TrackEditor.cs =================================================================== --- src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/TrackEditor.cs (revision 3103) +++ src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/TrackEditor.cs (working copy) @@ -53,6 +53,7 @@ |
January 30, 2008
8:17PM EDT
by James Tucker
View more (73 lines)
1 2 3 4 5 |
require 'irb' # mercilessly borrowed from: http://errtheblog.com/posts/9-drop-to-irb # # I've cleaned up a few things and moved some stuff around, not tested at all of course. |
Pastie