Skip to content

Instantly share code, notes, and snippets.

View eogas's full-sized avatar
🥑
Millennial Angst

Evan Ogas eogas

🥑
Millennial Angst
  • SolidWorks
  • Milwaukee, WI
  • X @eOgas
View GitHub Profile

Keybase proof

I hereby claim:

  • I am eogas on github.
  • I am eogas (https://keybase.io/eogas) on keybase.
  • I have a public key ASAqvVFl0Q4lDIj-fxfKNnPkdDGZbdJmAlRqaC2p8R2Edgo

To claim this, I am signing this object:

var readyToGo = false;
function scroll() {
content = $(".contentText");
stopmargin = $(".sTicker").width() -
(($(".sTicker-brand").width() + $(".sTicker-category").width()) * 1.3);
finalWidth = content.width() - stopmargin;
speed = finalWidth * 8;
if ($(".contentText").width() > stopmargin) {
for (i = number.length() - 2; i > 0; --i)
{
cout << number.length(i);
}
Make a new Eclipse project for this objective named java4_Objective1. Put a copy of our current SalesApp class in this new project. So that it has no errors, comment out the lines about the SalesInterface:
// SalesInterface myInterface;
// public void setInterface(SalesInterface myGUI){
// myInterface = myGUI;
// }
Save this--there should be no errors now in this current version.
package salesGUI;
<script type="text/javascript"><!--writeMovie1();--></script>
<div class="nav">
<img usemap="#map1" id="shapeimage_3" src="media/arrow.png" alt="Next" title="" />
<map name="map1" id="map1">
<area href="Feeding.html" title="Feeding.html" alt="Feeding.html" coords="11, 15, 111, 70" />
</map>
</div>
<form>
<INPUT type="button" class="play" onClick="return writeMovie1();" alt="play-button" title="play-button"/>
</form>
@eogas
eogas / example.js
Created November 23, 2012 22:13 — forked from anonymous/gist:4137072
// Created by iWeb 2.0.4 local-build-20111116
function writeMovie1() {
detectBrowser();
if(windowsInternetExplorer) {
document.write('<object id="id5" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="150" height="16"><param name="src" value="Media/Tones.mp3" /><param name="controller" value="true" /><param name="autoplay" value="false" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="false" /></object>');}
else if(isiPhone) {
document.write('<object id="id5" type="video/quicktime" width="150" height="16" ><param name="src" value="Media/Tones.mp3"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else {
@eogas
eogas / revisedAgainC++
Created April 22, 2012 19:19 — forked from kdmkdmkdm/revisedAgainC++
revisedAgainC++
// navigatorProgram: My first semi-good C++ program.
#include "stdafx.h"
#include <iostream>
#include <cctype>
using namespace std;
int main()
{
// Declare.
@eogas
eogas / InheritanceTest.cs
Created April 22, 2012 17:25
Inheritance demonstration
using System;
using System.Collections.Generic;
namespace InheritanceTest
{
class BaseClass
{
public virtual void Print()
{
Console.WriteLine("Base class printing!");