New paste›Public feed

Public feed

Pastes people chose to make public. Author names hidden.
  • vdr01

    2074601·text·62.2 KB·2011-06-04 14:26 UTC
    
        
  • Anonymous

    2074594·objectivec·951 B·2011-06-04 13:52 UTC
    - (void)stream:(NSStream *)stream handleEvent:(NSStreamEvent)eventCode {
     switch(eventCode) {
     case NSStreamEventHasBytesAvailable:
     {
     uint8_t buf[100];
     u
  • Untitled

    2074592·text·1.4 KB·2011-06-04 13:49 UTC
    All products by these companies are vegan:
    
     - Ace Cider
     - Blue Mountain Cider Company
     - Wyder's Cider Company
     - Thatchers Cider
     - Thornbury Village Cidery
     - Sheppy's Cider Has Some Vegan
  • Untitled

    2074590·java·7.5 KB·2011-06-04 13:34 UTC
    package me.juze.DropPlugin;
    
    import org.bukkit.event.block.BlockBreakEvent;
    import org.bukkit.event.block.BlockListener;
    import org.bukkit.inventory.ItemStack;
    import org.bukkit.Material;
    
    publ
  • Someone

    2074589·java·3.8 KB·2011-06-04 13:30 UTC
    package me.juze.DropPlugin;
    
    import java.io.*;
    import java.util.logging.Logger;
    import org.bukkit.util.config.Configuration;
    
    public class ConfigHandler {
     
     Configuration file;
     Boolea
  • Something

    2074588·text·2.4 KB·2011-06-04 13:28 UTC
    C:\Windows\system32\cmd.exe /c python main.py
    Sat Jun 04 15:20:00 2011 profile
    
     4371479 function calls (4368180 primitive calls) in 31.058 CPU seconds
    
     Ordered by: cumulative time
  • Anonymous

    2074587·java·7.5 KB·2011-06-04 13:27 UTC
    package me.juze.DropPlugin;
    
    import org.bukkit.event.block.BlockBreakEvent;
    import org.bukkit.event.block.BlockListener;
    import org.bukkit.inventory.ItemStack;
    import org.bukkit.Material;
    
    publ
  • Untitled

    2074582·vb·1.1 KB·2011-06-04 13:10 UTC
    Sub gah()
     Dim weeks, absent As Integer
     Dim here As Boolean
     absent = 0
     here = False
     Range("B6").Select
     Do Until IsEmpty(ActiveCell.Offset(0, 1))
  • Anonymous

    2074581·objectivec·694 B·2011-06-04 13:04 UTC
    - (void)stream:(NSStream *)stream handleEvent:(NSStreamEvent)eventCode {
     switch(eventCode) {
     case NSStreamEventHasBytesAvailable:
     {
     uint8_t buf[1];
     uns
  • Anonymous

    2074580·text·694 B·2011-06-04 13:04 UTC
    - (void)stream:(NSStream *)stream handleEvent:(NSStreamEvent)eventCode {
     switch(eventCode) {
     case NSStreamEventHasBytesAvailable:
     {
     uint8_t buf[1];
     uns
  • Untitled

    2074579·text·1.1 KB·2011-06-04 12:58 UTC
    Sub gah()
     Dim weeks, absent As Integer
     Dim here As Boolean
     absent = 0
     here = False
     Range("B6").Select
     Do Until IsEmpty(ActiveCell.Offset(0, 1))
  • Anonymous

    2074578·text·709 B·2011-06-04 12:55 UTC
    - (void)stream:(NSStream *)stream handleEvent:(NSStreamEvent)eventCode {
     switch(eventCode) {
     case NSStreamEventHasBytesAvailable:
     {
     uint8_t buf[1];
     uns
  • Unnamed

    2074577·csharp·657 B·2011-06-04 12:49 UTC
    MailAddress recipient1 = new MailAddress("foo@contoso.com");
     MailAddress recipient2 = new MailAddress("bar@contoso.com");
     MailAddress sender = new MailAddress("th
  • Unnamed

    2074576·csharp·550 B·2011-06-04 12:48 UTC
    MailAddress recipient1 = new MailAddress("foo@contoso.com");
     MailAddress recipient2 = new MailAddress("bar@contoso.com");
     MailAddress sender = new MailAddress("th
  • Unnamed

    2074575·csharp·428 B·2011-06-04 12:46 UTC
    MailAddress recipient1 = new MailAddress("foo@contoso.com");
     MailAddress recipient2 = new MailAddress("bar@contoso.com");
     MailAddress sender = new MailAddress("thorerik.lie@g
  • Unnamed

    2074570·text·375 B·2011-06-04 12:31 UTC
    #Nvidia Driver install 
    1)ctrl+alt+f1 ,login as user 
    2)stop X with sudo service kdm (or gdm) stop
    3)sudo aptitude remove "installed-nvidia-driver" 
    4)sudo aptitude install nvidia-current 
    5)fol
  • Anonymous

    2074569·text·966 B·2011-06-04 12:28 UTC
    NSData *data = [NSData dataWithBytes:(const void *)buf length:len];
     NSLog(@"DATA: %s", [data bytes]);
     NSString *tmp = [[[NSString alloc] initWithBytes
  • Anonymous

    2074568·text·221 B·2011-06-04 12:18 UTC
    img.leftthumb {
     display: block;
     border: 1px solid #CCC;
     background-color: white;
     vertical-align: text-top;
     padding: 4px;
     max-width: none;
     margin: 4px 16px 8px 0px;
  • Anonymous

    2074566·text·262 B·2011-06-04 12:13 UTC
    function! MakeStamp()
     "ISO timestamp
     let time = strftime("%Y-%m-%d at %H:%M:%S")
     exe '%s/Last updated on \zs\d\{4}\-\d\{2}\-\d\{2} at \d\{2}:\d\{2}:\d\{2}/'.time.'/ig'
     return
  • Anonymous

    2074565·text·135 B·2011-06-04 12:10 UTC
    NSLog(@"DATA: %s", [data bytes]);
     toProcess = [toProcess stringByAppendingFormat:@"%s", [data bytes]];

older pastes →