Skip to content

Instantly share code, notes, and snippets.

View teejayvanslyke's full-sized avatar

Teejay VanSlyke teejayvanslyke

View GitHub Profile
//
// pop! for jQuery
// v0.2 requires jQuery v1.2 or later
//
// Licensed under the MIT:
// http://www.opensource.org/licenses/mit-license.php
//
// Copyright 2007,2008 SEAOFCLOUDS [http://seaofclouds.com]
//
require 'rubygems'
gem 'mime-types'
require 'mime/types'
require 'uri'
module Multipart
CRLF = "\r\n"
RESERVED_CHARACTERS = /[^a-zA-Z0-9\-\.\_\~]/
# method_missing: It's a dirty beast when it comes to dealing with 'self'!
class Something
def something_else=(rhs)
@something_else = 3
end
def something_else
@something_else
#!/bin/bash
for file in *; do
mv $file "$1_$file"
done
Attribute VB_Name = "Module1"
Dim namepro As String
Dim nameguy As String
Public newmem As Variant
Sub ai()
'''''''''''''''''''''Declare Variables'''''''''''''
Dim say As Integer
Dim ran As Integer
Randomize
ran = Int((Rnd * 10) + 1)
xdfhbpoij
Programming Project PA4 Fall 2009
Euler's method and the baking-oven problem
Your file must include a UBEAS230 box as described in the Guidelines. The name of your .cpp file must include your UBIT name and the assignment abbreviation (PA4) (for example: hstengerPA4.cpp). Upload your file before 5:00pm on the due date using the dropbox found on the front page of the website.
Problem statement:
The fuselage of the V-22/Osprey is made by Boeing Helicopter in Philadelphia. It is made from several large pieces of carbon fiber composite that must be baked in a pressurized oven. The heat-up time of the oven must be carefully controlled so that curing of the composite occurs evenly. Your assignment is to calculate the heat-up time for various fuselage parts, and to determine if they meet a given criteria. This program will use material covered through Chapter 2 and Section 4.9.
/*Adam VanSlyke
adamvans
11/18/2009
PA4
Ellen Cardone
A3
I have prepared this assignment on my own and understand the consequences of copying other people's work.
*/
int factorial(int n) {
if (n > 1) return n * factorial(n-1);
else return 1;
}
@teejayvanslyke
teejayvanslyke / gist:277657
Created January 15, 2010 00:33
Base Radiant XHTML Layout
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<title><r:title /></title>
<style type="text/css">/* <![CDATA[ */
/* Styles go here */
/* ]]> */</style>