All pastesPublic feed

Public feed

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

    2074529·text·204 B·2011-06-04 10:38 UTC
    function! FoldColumn()
     if &foldcolumn == 1
     set foldcolumn=0
     set nu
     elseif &foldcolumn == 0
     set foldcolumn=1
     set nonu
     endif
    endfunction
    
    map <leader>5 :call FoldColumn()
  • Stuff

    2074527·text·1.3 KB·2011-06-04 10:32 UTC
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    
    <head>
     <title>
  • Unnamed

    2074524·text·652 B·2011-06-04 10:27 UTC
    <VirtualHost *:80>
     Serveradmin webmaster@localhost
     DocumentRoot /home/localhost/www
     ServerName localhost
     CustomLog logs/vhosts/localhost/access_log combined env=!no_log
  • Mapper(FULL)

    2074523·java·7.4 KB·2011-06-04 10:19 UTC
    /*Main Mapper Class*/
    
    import java.util.*;
    
    public class Mapper {
     static Scanner ReadUserInput = new Scanner(System.in);
     /**
     * @param args
     */
     public static void main(String[] args)
  • Untitled

    2074500·java·974 B·2011-06-04 08:25 UTC
    int grass_Count = 0;
     float grass_Percent = 0;
     while (grass_Percent < 30){
     for (int i = 1; i < world_Map.map_cells.length - 1; i++){
     for (int j = 1; j < world_Map.map_cells[i].length
  • Untitled

    2074495·text·264 B·2011-06-04 08:01 UTC
    CONFIG_NETFILTER_NETLINK=y
    CONFIG_NETFILTER_NETLINK_QUEUE=y
    CONFIG_NETFILTER_NETLINK_LOG=y
    CONFIG_NF_CT_NETLINK=y
    CONFIG_SCSI_NETLINK=y
    CONFIG_IP_ADVANCED_ROUTER=y
    CONFIG_NET_SCH_INGRESS=y
    CONF
  • Anonymous

    2074494·text·9.2 KB·2011-06-04 08:00 UTC
    #twisted
    from twisted.internet import reactor, protocol
    
    #pyglet
    import pyglet
    from pyglet.gl import *
    from pyglet.window import key
    from random import randint as rint
    
    #builtin
    import math,
  • Anonymous

    2074493·text·4.3 KB·2011-06-04 07:52 UTC
    Zac Campbell
    Sydney Secondary College - Blackwattle Bay
    
    Suji O'Connor
    
    Prisadee Pamm Bhradmeung
    
    Katia Nguyen
    
    Jessica Jarrett
    
    Gina Ricardo
    
    Jack Savage
    
    Kathleen Wyper
    
    Anna Tran
  • Anonymous

    2074492·text·4.3 KB·2011-06-04 07:51 UTC
    David Rosenthal
    
    Zac Campbell
    Sydney Secondary College - Blackwattle Bay
    
    Suji O'Connor
    
    Prisadee Pamm Bhradmeung
    
    Katia Nguyen
    
    Jessica Jarrett
    
    Gina Ricardo
    
    Jack Savage
    
    Kathleen W
  • Anonymous

    2074490·text·531 B·2011-06-04 07:37 UTC
    AppWidgetManager manager = AppWidgetManager.getInstance(context);
     RemoteViews remoteViews = new RemoteViews(context.getPackageName(), layoutId);
     ComponentName thisWidget = ne
  • Someone

    2074489·text·42 B·2011-06-04 07:36 UTC
    + Parent
     × Child
     * Child
     * Child
  • O

    2074480·c·4.1 KB·2011-06-04 06:44 UTC
    #include <stdio.h>
    #include <stdlib.h>
    
    int h=0;
    
    typedef struct arvore{
     struct arvore *esq;
     struct arvore *dir;
     int isbn;
     char titulo[100];
     char auto
  • Anonymous

    2074477·text·1.7 KB·2011-06-04 06:09 UTC
    SMART Attributes Data Structure revision number: 16
    Vendor Specific SMART Attributes with Thresholds:
    ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
  • Untitled

    2074476·java·682 B·2011-06-04 06:09 UTC
    /********************************New Build Map Function********************/
     public void Build_Map(int x, int y){
     world_Map.map_cells= new Cell[x][y];
     for (Cell[] cell : w
  • Someone

    2074470·text·144 B·2011-06-04 05:45 UTC
    <td valign="top" align="left">Title</td>
     <td valign="top" align="left">
     Cool Message
     </td>
  • Untitled

    2074461·java·690 B·2011-06-04 05:37 UTC
    /********************************New Build Map Function********************/
     public void Build_Map(int x, int y){
     world_Map.map_cells= new Cell[x][y];
     for (Cell[]
  • Stuff

    2074460·text·2.8 KB·2011-06-04 05:37 UTC
    [app-userlogonoff]
    include => app-userlogonoff-custom
    exten => *12,1,Macro(user-logoff,)
    exten => *12,2,Verbose(call just ${CALLERID(num)})
    exten => *12,3,System(/usr/sbin/asterisk -rx "sip notify
  • Someone

    2074454·text·944 B·2011-06-04 05:07 UTC
    For Like
    SELECT post_id FROM like WHERE object_id in (SELECT vid FROM video WHERE owner= me()) or object_id in (SELECT note_id FROM note WHERE uid= me()) or object_id in (SELECT object_id FROM photo
  • Anonymous

    2074448·text·4.2 KB·2011-06-04 04:18 UTC
    --- QoS and/or fair queueing | | 
     | | *** Queueing/Scheduling ***
  • Mine

    2074446·text·1.2 KB·2011-06-04 04:08 UTC
    Symbol: NET_SCH_INGRESS [=n] | 
     | Type : tristate

older pastes →