Skip to content

Instantly share code, notes, and snippets.

<html>
<head>
<title>Select Example</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">
@inazt
inazt / haskell02.hs
Created May 25, 2010 09:16
haskell02.hs
ghci> [1,2,3]
[1,2,3]
ghci> ["foo","bar","string"]
["foo","bar","string"]
ghci> [True,False]
[True,False]
-- enumeration notation
ghci> [1..5]
[1,2,3,4,5]
@inazt
inazt / page_ex.module
Created May 6, 2010 08:00
page_ex.info
name=Page Example
description = test module
core=6.x
version=0.1
@inazt
inazt / page_ex.module.php
Created May 6, 2010 06:33
page_ex.module
<?php
function page_ex_menu() {
$items = array();
$items['admin/PageEx'] = array(
'title' => 'Page Example Title',
'description' => 'Page Decription',
// 'page callback' => 'nat',
'page callback' => 'drupal_get_form',
'page arguments' => array('natform'),