All pastesPublic feed

Public feed

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

    2108422·text·188 B·2012-01-31 23:59 UTC
    for(int i=0;i<360;i+=36)
    {
     Quaternion rot = Quaternion.AngleAxis(i, Vector3.forward); rotate around z
     Vector3 pos = rot * (vector3.up*radius)
     Instantiate(enemybullet,pos,rot);
    }
  • mc output

    2108419·text·7.1 KB·2012-01-31 23:57 UTC
    ======================================================================
    ERROR: test_view_video_category (localtv.tests.ViewTestCase)
    ------------------------------------------------------------------
  • Miscellany

    2108417·text·2.5 KB·2012-01-31 23:54 UTC
    package edu.wpi.first.wpilibj.templates;
    import edu.wpi.first.wpilibj.*;
    
    public class RobotTemplate extends IterativeRobot {
    
     public RobotDrive drivetrain;
     public Joystick leftStick;
  • Untitled

    2108416·java·7.2 KB·2012-01-31 23:43 UTC
    package supermarket.gui;
    
    import java.awt.BorderLayout;
    import java.awt.EventQueue;
    
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.border.EmptyBorder;
    import javax.s
  • Untitled

    2108415·text·557.3 KB·2012-01-31 23:43 UTC
    
        
  • Someone

    2108412·text·417 B·2012-01-31 23:34 UTC
    foreach($zg_get_title as $zg_title_out) {
     echo "<li>";
     echo "<a href=\"". get_permalink($value+0) . "\" title=\"". $zg_title_out->post_title . "\">";
    
     echo get_the_post_thumbnail($valu
  • Someone

    2108411·text·1.8 KB·2012-01-31 23:33 UTC
    拝啓、
    
    留学生になる意思を説明する前に、私が日本語の勉強を始めた理由を説明したいです。
    
    まず、英語がもうよくできたし、日本語に興味がありましたから、高校を卒業した後で「英語と日本語の学士呉」をしました。未来の仕事で外国語を使うことはもう知りました。そのときに、日本語が好きで、英語より一番大切なことになり、日本文化と日本語を一生懸命勉強しました。
    
    日本語をそんなに使っていたいので、
  • Unnamed

    2108410·text·188 B·2012-01-31 23:33 UTC
    for(int i=0;i<360;i+=36)
    {
     Quaternion rot = Quaternion.AngleAxis(i, Vector3.forward); rotate around z
     Vector3 pos = rot * (vector3.up*radius)
     Instantiate(enemybullet,pos,rot);
    }
  • Maratis profile run #1

    2108407·text·4.0 KB·2012-01-31 23:28 UTC
    call tree calls self time total time
    <unprofiled> 0.0 52 ms 1083546% 52 ms 10
     "MaratisUI::MaratisUI"
  • Anonymous

    2108401·text·218 B·2012-01-31 23:22 UTC
    int find_bin(int data, float maxes, int bin_count, int min)
    {
     for (i=2; i<= bin_count+1; i
     {
     if (data >= maxes[i-1]) && (data < maxes[i])
     {return(i);}
     else if (data < maxes[i-1])
     {
  • Miscellany

    2108400·java·674 B·2012-01-31 23:21 UTC
    response = reader.readLine();
    while(response != null) {
     response += reader.readLine();
    }
    
    /*
    Let's walk through what this is doing.
    First, it's getting a line from reader, and storing it in th
  • Miscellany

    2108398·java·674 B·2012-01-31 23:21 UTC
    response = reader.readLine();
    while(response != null) {
     response += reader.readLine();
    }
    
    /*
    Let's walk through what this is doing.
    First, it's getting a line from reader, and storing it in th
  • Someone

    2108396·text·400 B·2012-01-31 23:18 UTC
    foreach($zg_get_title as $zg_title_out) {
     echo "<li>";
     echo "<a href=\"". get_permalink($value+0) . "\" title=\"". $zg_title_out->post_title . "\">";
    
     the_post_thumbnail();
    
     echo
  • Someone

    2108392·text·366 B·2012-01-31 23:13 UTC
    foreach($zg_get_title as $zg_title_out) {
     echo "<li><a href=\"". get_permalink($value+0) . "\" title=\"". $zg_title_out->post_title . "\">". $zg_title_out->post_title . "</a>\n"; // Output link a
  • Someone

    2108391·text·365 B·2012-01-31 23:13 UTC
    foreach($zg_get_title as $zg_title_out) {
     echo "<li><a href=\"". get_permalink($value+0) . "\" title=\"". $zg_title_out->post_title . "\">". $zg_title_out->post_title . "</a>\n"; // Output link a
  • Anonymous

    2108389·text·569 B·2012-01-31 23:10 UTC
    "function to set prose mode
     function Prose()
     set thesaurus+=~/.vim/mthesaur.txt
     let prose = 1
     colorscheme prose
     set wrap
     inoremap . .<C-g>u
     inoremap ! !<C-g>u
     i
  • 20 Continuous Oscillations

    2108387·text·9.4 KB·2012-01-31 23:09 UTC
    -0.007263184
    0.009124756
    0.01235962
    0.01235962
    0.01235962
    0.01235962
    0.01235962
    -0.0431366
    -0.0431366
    -0.0431366
    -0.0431366
    -0.0431366
    -0.0431366
    -0.0431366
    -0.1583862
    -0.1583862
    -0.15
  • 20 Continuous Oscillations

    2108385·text·9.4 KB·2012-01-31 23:09 UTC
    -0.007263184
    0.009124756
    0.01235962
    0.01235962
    0.01235962
    0.01235962
    0.01235962
    -0.0431366
    -0.0431366
    -0.0431366
    -0.0431366
    -0.0431366
    -0.0431366
    -0.0431366
    -0.1583862
    -0.1583862
    -0.15
  • Someone

    2108384·text·219 B·2012-01-31 23:09 UTC
    foreach($zg_get_title as $zg_title_out) {
     echo "<li><a href=\"". get_permalink($value+0) . "\" title=\"". $zg_title_out->post_title . "\">". $zg_title_out->post_title . "</a></li>\n"; // Output l
  • Anonymous

    2108383·java·908 B·2012-01-31 23:09 UTC
    import java.io.*;
    import java.util.*;
    
    public class Ch7_9_Driver {
     
     public static void main (String[] args) throws FileNotFoundException {
     
     int numOfStudents, numOfTests;
    
     //FileReade

older pastes →