This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package minesweeper; | |
import java.awt.Container; | |
import java.awt.event.MouseEvent; | |
import java.util.Date; | |
import javax.swing.*; | |
import javax.swing.event.MouseInputAdapter; | |
import minesweeper.functional.*; | |
import minesweeper.gui.*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package minesweeper; | |
import java.awt.Container; | |
import java.awt.event.MouseEvent; | |
import java.util.Date; | |
import javax.swing.*; | |
import javax.swing.event.MouseInputAdapter; | |
import minesweeper.functional.*; | |
import minesweeper.gui.*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package minesweeper.functional; | |
/** | |
* AND and OR combinators. | |
* | |
* @author Peter Goodman | |
*/ | |
public abstract class Combinator { | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package minesweeper.functional; | |
/** | |
* Predicate: | |
* A predicate takes in an argument and decides if it meets some | |
* sort of test. Predicates can be chained together using combinators. | |
* | |
* @author Peter Goodman | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package minesweeper.functional; | |
/** | |
* Predicate: | |
* A predicate takes in an argument and decides if it meets some | |
* sort of test. Predicates can be chained together using combinators. | |
* | |
* @author Peter Goodman | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package minesweeper; | |
import java.awt.Container; | |
import java.awt.event.MouseEvent; | |
import java.awt.event.WindowAdapter; | |
import java.awt.event.WindowEvent; | |
import javax.swing.*; | |
import javax.swing.event.MouseInputAdapter; | |
import minesweeper.functional.*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.uwogarage.views.admin; | |
import java.util.LinkedList; | |
import javax.swing.JButton; | |
import javax.swing.JPanel; | |
import javax.swing.JSlider; | |
import javax.swing.JTextField; | |
import org.uwogarage.models.UserModel; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const parser::expression_parser parser::expression_parsers[]{ | |
{10, T_NAME, &parser::parse_literal, &parser::parse_fail_s}, | |
{10, T_TYPE_NAME, &parser::parse_literal, &parser::parse_fail_s}, | |
{10, T_STRING_LITERAL, &parser::parse_literal, &parser::parse_fail_s}, | |
{10, T_INTEGER_LITERAL, &parser::parse_literal, &parser::parse_fail_s}, | |
{10, T_RATIONAL_LITERAL, &parser::parse_literal, &parser::parse_fail_s}, | |
{100, T_OPEN_PAREN, &parser::parse_paren_expression,&parser::parse_application}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<table border="0" | |
cellpadding="1500"> | |
<table frame="vsides"> | |
<tr> | |
<?php | |
foreach (glob("./uploads/*") as $file_name) { | |
if (is_image_file_name ($file_name)) { | |
echo '<td><img src="'. $file_name .'" height="88" width="88" /></td>'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* placeholder.hpp | |
* | |
* Created on: Feb 25, 2012 | |
* Author: petergoodman | |
* Version: $Id$ | |
*/ | |
#ifndef XY_PLACEHOLDER_HPP_ | |
#define XY_PLACEHOLDER_HPP_ |