My Recent Pastes (24565 and counting)

Browse Pastes Page 1 of 1229


November 24, 2014
4:54AM EDT

/*
 *November 2014
 *Joshua Zachariah 
 *075740
 *Assignment 3
 */

November 24, 2014
4:50AM EDT

/**
 * @file heap.cpp
 * Implementation of a heap class.
 */

template <class T, class Compare>
size_t heap<T, Compare>::root() const {

November 24, 2014
4:50AM EDT

/**
 * @file heap.cpp
 * Implementation of a heap class.
 */

template <class T, class Compare>
size_t heap<T, Compare>::root() const {

November 24, 2014
4:50AM EDT

<html>
<body>
<form action=form1.php method = "post">
Enter a number format
<input type = text name="num">
<input type = submit value="submit">
</form>

November 24, 2014
4:48AM EDT

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package notepad.objectClass;

November 24, 2014
4:48AM EDT

#include <stdio.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/uio.h>
#include <unistd.h>

int main(int argc, char *argv[]) {

November 24, 2014
4:48AM EDT

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

November 24, 2014
4:47AM EDT

#include <iostream>
#include <vector>
#include <set>

using namespace std;

typedef long long ll;

November 24, 2014
4:46AM EDT

h = [1, 1, 1, 5, 1].group_by { |x| x } 

puts h # ==> {1=>[1, 1, 1, 1], 5=>[5]}
puts h.group_by(&:class) 
# ==> {Array=>[[1, [1, 1, 1, 1]], [5, [5]]]}


November 24, 2014
4:46AM EDT

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package notepad.objectClass;

November 24, 2014
4:46AM EDT

h = [1, 1, 1, 5, 1].group_by { |x| x } 

puts h # ==> {1=>[1, 1, 1, 1], 5=>[5]}
puts h.group_by(&:class) 
# ==> {Array=>[[1, [1, 1, 1, 1]], [5, [5]]]}


November 24, 2014
4:45AM EDT

h = [1, 1, 1, 5, 1].group_by { |x| x } 

puts h # ==> {1=>[1, 1, 1, 1], 5=>[5]}
puts h.group_by(&:class) # ==> {Array=>[[1, [1, 1, 1, 1]], [5, [5]]]}


  h.each { |k, v| h[k] = v.size } 

November 24, 2014
4:45AM EDT

[23:44:09] [Server thread/ERROR]: Could not load 'plugins\AdminChat.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: Cannot find main class `com.evolvecraft.AdminChat'
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:191) ~[PluginClassLoader.class:git-Cauldron-MCPC-Plus-1.7.10-1.1207.01.198]
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:145) ~[JavaPluginLoader.class:git-Cauldron-MCPC-Plus-1.7.10-1.1207.01.198]
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:334) ~[SimplePluginManager.class:git-Cauldron-MCPC-Plus-1.7.10-1.1207.01.198]
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:256) [SimplePluginManager.class:git-Cauldron-MCPC-Plus-1.7.10-1.1207.01.198]
        at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugins(CraftServer.java:320) [CraftServer.class:git-Cauldron-MCPC-Plus-1.7.10-1.1207.01.198]

November 24, 2014
4:45AM EDT

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BonusApp

November 24, 2014
4:43AM EDT

/// <summary>
    /// The category 
    /// </summary>
    public class Category
    {
        [Key]
        public int Id { get; set; }

November 24, 2014
4:42AM EDT

//Implement an algorithm to find the kth to last element of a single linked list


public Node findKthLast (LinkedList head, int Kth) {

    Node runner, slow = head;

November 24, 2014
4:39AM EDT

Memo

November 24, 2014
4:37AM EDT

<html>
<body>
<form action=form1.php method = "post">
Enter a number format
<input type = text name="num">
<input type = submit value="submit">

November 24, 2014
4:37AM EDT

h = [1, 1, 1, 5, 1].group_by { |x| x } 

puts h # ==> {1=>[1, 1, 1, 1], 5=>[5]}
puts h.group_by(&:class)

  h.each { |k, v| h[k] = v.size } 

November 24, 2014
4:36AM EDT

        /**
         * Parses the input stream.
         * 
         * @return The equipment definition array.
         * @throws IOException
         *             If an I/O error occurs.

Next page