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
<?php | |
require_once('mobile_device_detect.php'); | |
mobile_device_detect(true,true,true,true,true,true,true,'http://mynysfair.com/mobile',false); | |
if (!isset($_SESSION)) { | |
session_start(); | |
} | |
$logininfo .=''; | |
if (!(isset($_SESSION['MM_Username']))){ | |
$logininfo .='<td> | |
<h2>Login</h2><br /><a href="login.php">Click here to login</a> |
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
#include "testApp.h" | |
//-------------------------------------------------------------- | |
void testApp::setup() { | |
ofSetLogLevel(OF_LOG_NOTICE); | |
if(model.loadModel("triangle.dae",true)){ | |
model.setScale(.25,.25,.25); | |
model.setPosition(ofGetWidth()/4, ofGetHeight()/4 , 0); | |
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 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"> | |
<head> | |
<title>Untitled</title> | |
<meta name="generator" content="BBEdit 9.5" /> | |
<script type="text/javascript" src="myData.js"></script> | |
<script type="text/javascript" src="cookies.js"></script> | |
<link rel="stylesheet" href="style.css" /> | |
<script type="text/javascript"> |
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 com | |
{ | |
import flash.display.InteractiveObject; | |
import flash.geom.Point; | |
import org.flixel.*; | |
public class Bat extends Enemy | |
{ |
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
class UsersController < ApplicationController | |
before_filter :signed_in_user, only: [:edit, :update] | |
before_filter :correct_user, only: [:edit, :update] | |
def new | |
@user = User.new | |
end | |
def show | |
@user = User.find(params[:id]) |
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 lang="en"> | |
<head> | |
<title>three.js tech demo created by sam smo!</title> | |
<meta charset="utf-8"> | |
<style> | |
body { | |
background:#000; | |
padding:0; | |
margin:0; |
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
#include "musicCreator.h" | |
musicCreator::musicCreator(string myPic){ | |
//some bools | |
startMusic = false; | |
changePage = false; | |
//store pic name for the font var later | |
myPicName = myPic; | |
//load up the images (bg, button and our actual musician(image)! | |
myImg.loadImage(ofxiPhoneGetDocumentsDirectory()+myPic); |
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 Code { | |
import flash.display.*; | |
import flash.display.Sprite; | |
import flash.events.*; | |
import flash.ui.Multitouch; | |
import flash.ui.MultitouchInputMode; | |
import flash.sensors.Accelerometer; | |
import flash.utils.*; | |
public class Document extends MovieClip { |