Skip to content

Instantly share code, notes, and snippets.

View ethanstenis's full-sized avatar

Ethan Stenis ethanstenis

View GitHub Profile
$.getJSON("http://freegeoip.net/json/", function(data) {
// We need to evaluate the services for getting JSON - what should happen if this service goes down. We may need to code for that back-up.
var country = data.country_name;
var ip = data.ip;
// alert("country " + country);
// alert("IP " + ip);
var invodoVideoId = "";
@ethanstenis
ethanstenis / Brello.xml
Last active February 28, 2016 19:21
ACA full Stack Brello App Schema
<?xml version="1.0" encoding="utf-8" ?>
<!-- SQL XML created by WWW SQL Designer, https://github.com/ondras/wwwsqldesigner/ -->
<!-- Active URL: http://ondras.zarovi.cz/sql/demo/ -->
<sql>
<datatypes db="mysql">
<group label="Numeric" color="rgb(238,238,170)">
<type label="Integer" length="0" sql="INTEGER" quote=""/>
<type label="TINYINT" length="0" sql="TINYINT" quote=""/>
<type label="SMALLINT" length="0" sql="SMALLINT" quote=""/>
<type label="MEDIUMINT" length="0" sql="MEDIUMINT" quote=""/>
@ethanstenis
ethanstenis / Invodo-Test.js
Last active February 21, 2016 21:31
This is the javascript code for the Invodo Test
Invodo.init({
pageName: "Implementation Demo",
pageType: "other",
onload: function() {
window.onresize = function() {
videoResize();
};
videoResize();
@ethanstenis
ethanstenis / Invodo-Test.html
Last active February 21, 2016 21:29
This is the html code for the Invodo Test
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Invodo Implementation Test">
<meta charset="utf-8">
<title>Invodo Implementation Test</title>
<script type="text/javascript" src="//e.invodo.com/4.0/s/developer.invodo.com.js"></script>
</head>
@ethanstenis
ethanstenis / bitter.xml
Last active February 5, 2016 01:21
ACA Full Stack Bitter App - Database Design Schema
<?xml version="1.0" encoding="utf-8" ?>
<!-- SQL XML created by WWW SQL Designer, https://github.com/ondras/wwwsqldesigner/ -->
<!-- Active URL: http://ondras.zarovi.cz/sql/demo/ -->
<sql>
<datatypes db="mysql">
<group label="Numeric" color="rgb(238,238,170)">
<type label="Integer" length="0" sql="INTEGER" quote=""/>
<type label="TINYINT" length="0" sql="TINYINT" quote=""/>
<type label="SMALLINT" length="0" sql="SMALLINT" quote=""/>
<type label="MEDIUMINT" length="0" sql="MEDIUMINT" quote=""/>
@ethanstenis
ethanstenis / bocket.xml
Last active February 5, 2016 01:17
ACA Full Stack Bocket App - Database Design Schema
<?xml version="1.0" encoding="utf-8" ?>
<!-- SQL XML created by WWW SQL Designer, https://github.com/ondras/wwwsqldesigner/ -->
<!-- Active URL: http://ondras.zarovi.cz/sql/demo/ -->
<sql>
<datatypes db="mysql">
<group label="Numeric" color="rgb(238,238,170)">
<type label="Integer" length="0" sql="INTEGER" quote=""/>
<type label="TINYINT" length="0" sql="TINYINT" quote=""/>
<type label="SMALLINT" length="0" sql="SMALLINT" quote=""/>
<type label="MEDIUMINT" length="0" sql="MEDIUMINT" quote=""/>