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
BroBot API Spec | |
--------------- | |
Root: /api | |
(Eg: http://oursite.com/api/login, etc) | |
URI: /login | |
POST: Log user in | |
URI: /logout |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Buy Your Way to a Better Education!</title> | |
<link href="http://www.cs.washington.edu/education/courses/cse190m/12sp/labs/4/buyagrade.css" type="text/css" rel="stylesheet" /> | |
</head> | |
<body> | |
<?php |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Buy Your Way to a Better Education!</title> | |
<link href="http://www.cs.washington.edu/education/courses/cse190m/12sp/labs/4/buyagrade.css" type="text/css" rel="stylesheet" /> | |
</head> | |
<body> | |
<?php |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Buy Your Way to a Better Education!</title> | |
<link href="http://www.cs.washington.edu/education/courses/cse190m/12sp/labs/4/buyagrade.css" type="text/css" rel="stylesheet" /> | |
</head> | |
<body> | |
<?php |
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
'''Assignment 1 Python''' | |
def isUpper(char): | |
return ord(char) in range(65, 91) | |
def toUpper(char): | |
if not isUpper(char) and ord(char) != 32: | |
return chr(ord(char) - 32) |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Buy Your Way to a Better Education!</title> | |
<link href="http://www.cs.washington.edu/education/courses/cse190m/12sp/labs/4/buyagrade.css" type="text/css" rel="stylesheet" /> | |
</head> | |
<body> | |
<?php |
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
import scala.annotation.tailrec | |
object Lesson1 { | |
def main(args: Array[String]) = { | |
val ls = List(1,2,3,4,5,6,7,8,9,10) | |
val xs = List(1,2,3) | |
val filt = filter(ls) { _%2 ==0 } | |
val newls = map(ls) { _*2 } | |
val sm = sum(ls)(_*1) | |
println(newls) |
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
/* | |
* Simple Customer management system in Scala. | |
* Uses a companion object as a basic DBMS emulator, and uses list comprehensions | |
* to filter data, allowing for more concise code that the Java equivalent; | |
* 39 lines of Scala without comments, to be exact. | |
*/ | |
import scala.io.Source | |
import java.io.FileWriter | |
//Extend App to eliminate the need for a main() method. |
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
var index = 0; | |
var myVar; | |
var intervalTime = 250; | |
function changeAnimation(){ | |
if ($("animation").value == "blank") | |
{ | |
$("textBox").value = BLANK; | |
} | |
else if ($("animation").value == "custom") |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Windows.Forms; | |
using System.Text.RegularExpressions; | |
namespace FormValidation | |
{ | |
static class Forms |