Skip to content

Instantly share code, notes, and snippets.

View speters33w's full-sized avatar

Stephan Peters speters33w

  • Greene, Pennsylvania, USA
  • 18:26 (UTC -04:00)
View GitHub Profile
import edu.duke.Point;
/**
* A simple example that will help you to use a FloorMap object.
*
* @author awsgus
* @version 0.5
*/
public class KivaSimpleWorld
{
public final static String DEFAULT_MAP =
/***
* Write a description of class MainProgram here.
*
* @author awsgus
* @version 0.1
***/
public class MainProgram
{
/* that is a method that is call main
@abusoid
abusoid / PoolPuzleChp1.java
Last active May 12, 2022 22:36
Head First Java PoolPazle chapter 1, Изучаем Java Головоломка у бассейна Глава 1
public static void main(String[] args){
int x =0;
while(x<3){
x=x-1;
if (x < 1) {
System.out.print("a ");
System.out.print("noise");
}
x=x+2;
if(x>3){
public class Circle {
protected int radius;
public Circle(int r) {
radius = r;
}
public void setRadius(int r) {
r = radius;
@whitingx
whitingx / meta-tags.md
Created October 5, 2012 16:41 — forked from kevinSuttle/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>
class Map
def initialize width, height
@values = Array.new(width){ Array.new(height){ nil } }
end
def [](x, y)
@values[x][y]
end
def []=(x, y, value)