My Recent Pastes (236729 and counting)
All Pasties (over 236,729 and counting)
Below are summaries of the most recent pasties.
November 19, 2008
5:19PM EDT
View more (21 lines)
1 2 3 4 5 |
hashtable(I);
printf("\n\nThis is a seperator\n\n");
printOverflow();
|
November 19, 2008
5:18PM EDT
by realname
Dan Udey
View more (108 lines)
1 2 3 4 5 |
Analysis of sampling TextMate (pid 80313) every 1 millisecond Call graph: 7700 Thread_2903 7700 start 7700 _start |
November 19, 2008
5:17PM EDT
View more (19 lines)
1 2 3 4 5 |
[root@ironhide ~]# brctl show
bridge name bridge id STP enabled interfaces
virbr0 8000.12b9ae5cdb31 no vif66.0
tap0
vif44.0
|
November 19, 2008
5:16PM EDT
View more (17 lines)
1 2 3 4 5 |
#!/usr/bin/env python def prime(n): for i in range(n, 1, -1): print "testing " + i |
November 19, 2008
5:15PM EDT
View more (82 lines)
1 2 3 4 5 |
>> [Q,R] = qr(A) Q = Columns 1 through 4 |
November 19, 2008
5:14PM EDT
View more (67 lines)
1 2 3 4 5 |
>> t=[0.1:0.1:1]'; >> f = [100;34;17;12;9;6;5;4;4;2]; >> A=[1./t 1./t.^2 exp(-(t-1)) exp(-2*(t-1))] A = |
November 19, 2008
5:14PM EDT
View more (28 lines)
1 2 3 4 5 |
# I executed this using irb # I have a hash of actions and each value has both a :label and a :status, # as follows: |
November 19, 2008
5:14PM EDT
1 2 3 4 |
typedef struct _LIST_ENTRY {
struct _LIST_ENTRY *Flink;
struct _LIST_ENTRY *Blink;
} LIST_ENTRY, *PLIST_ENTRY, *RESTRICTED_POINTER PRLIST_ENTRY;
|
November 19, 2008
5:10PM EDT
View more (33 lines)
1 2 3 4 5 |
## ## Server-Pool Size Regulation (MPM specific) ## # prefork MPM |
November 19, 2008
5:09PM EDT
View more (31 lines)
1 2 3 4 5 |
Lolita tripped and panted behind me, I urged her on. "I-Ikuto! Why.." she pulled me back, jerking me to her, "Why are you acting strange?!?" she demanded, I smiled recklessly and pecked her on the lips. She blushed an looked down. "tell me what's going on ikuto." she pleaded, she looked so confused. I smirked "when we get home I'll tell you everything Lolita, can you chara change?" I asked, she started to nod but then she froze. I remebered last time I let her chara change. I shook my head "no good. Hop on." I instructed, she nodded and hoisted herself up onto my back. Snuggling into my hair. |
November 19, 2008
5:09PM EDT
1 |
`/Applications/TextMate.app/Contents/PlugIns/Dialog.tmplugin/Contents/Resources/tm_dialog ~/Desktop/test3.nib/` |
November 19, 2008
5:08PM EDT
View more (13 lines)
1 2 3 4 5 |
# Invoke the command with the following (again at the command line in the root of your app: “rake defaults:set_targets” # Don't forget to set account_id to 1 and admin? to true (1) in db namespace :defaults do desc "set minimum targets for advisors with empty targets" task :set_targets => :environment do |
November 19, 2008
5:08PM EDT
View more (18 lines)
1 2 3 4 5 |
#include <iostream> #include <vector> using namespace std; int main() { |
November 19, 2008
5:08PM EDT
View more (31 lines)
1 2 3 4 5 |
Lolita tripped and panted behind me, I urged her on. "I-Ikuto! Why.." she pulled me back, jerking me to her, "Why are you acting strange?!?" she demanded, I smiled recklessly and pecked her on the lips. She blushed an looked down. "tell me what's going on ikuto." she pleaded, she looked so confused. I smirked "when we get home I'll tell you everything Lolita, can you chara change?" I asked, she started to nod but then she froze. I remebered last time I let her chara change. I shook my head "no good. Hop on." I instructed, she nodded and hoisted herself up onto my back. Snuggling into my hair. |
November 19, 2008
5:06PM EDT
1 2 |
- <start-selector>header.markdown:has-child(name:capture(name)):capture(itemizer-firstused)</start-selector> + <start-selector>header.markdown:has-child(name:capture(name))</start-selector> |
November 19, 2008
5:05PM EDT
View more (22 lines)
1 2 3 4 5 |
# # Cxxtools # AC_PATH_PROGS(CXXTOOLS_CONFIG, cxxtools-config) if ! test -x "$CXXTOOLS_CONFIG"; then |
November 19, 2008
5:04PM EDT
1 2 3 4 5 |
scopevar.cpp: In member function ‘void tnt::ecppc::Scopevar::get(std::ostream&, bool) const’: scopevar.cpp:69: error: ‘transform’ is not a member of ‘std’ make[1]: *** [scopevar.o] Error 1 make[1]: Leaving directory `/home/taf2/work/builds/tntnet-1.6.3/sdk/tools/ecppc' make: *** [all-recursive] Error 1 |
November 19, 2008
5:03PM EDT
View more (78 lines)
1 2 3 4 5 |
require 'rubygems' require 'spec' module SpyMatchers class MethodRecorder |
November 19, 2008
5:00PM EDT
View more (16 lines)
1 2 3 4 5 |
context "when doing something to an item" do setup do @item = MyItem.new end |
November 19, 2008
4:58PM EDT
View more (12 lines)
1 2 3 4 5 |
def okUsername(un) if un =~ /^[A-Za-z][A-Za-z0-9]+/ then true else false end end |
Pastie