add initial findings
This commit is contained in:
16
c2015/projects/android/index.html
Normal file
16
c2015/projects/android/index.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript" src="/depPage/setup/head.js"></script>
|
||||
<meta name="google-signin-client_id" content="758810519655-gh6tgimuegfmc3op76vupr4kqnqc7uds.apps.googleusercontent.com">
|
||||
<script src="https://apis.google.com/js/platform.js" async defer></script>
|
||||
<script type="text/javascript" src="/login/signIn.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript" src="/depPage/setup/header.js"></script>
|
||||
<div class="desc">/ My Projects / Android Development</div>
|
||||
<div class="content">
|
||||
<h3>There are currently no ongoing projects. To suggest one, visit the <a href="/contact/">contact me page.</a></h3>
|
||||
</div>
|
||||
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
|
||||
</body>
|
||||
</html>
|
||||
81
c2015/projects/index.html
Normal file
81
c2015/projects/index.html
Normal file
@@ -0,0 +1,81 @@
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript" src="/depPage/setup/head.js"></script>
|
||||
<meta name="google-signin-client_id" content="758810519655-gh6tgimuegfmc3op76vupr4kqnqc7uds.apps.googleusercontent.com">
|
||||
<script src="https://apis.google.com/js/platform.js" async defer></script>
|
||||
<script type="text/javascript" src="/login/signIn.js"></script>
|
||||
<link rel="stylesheet" href="/depPage/css/projects.css" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript" src="/depPage/setup/header.js"></script>
|
||||
<div class="desc">/ My Projects</div>
|
||||
<div class="content">
|
||||
<section>
|
||||
<div id="one">
|
||||
<img src="/depPage/images/rpilogo.png"/>
|
||||
<div>
|
||||
<a href="/projects/rpi/">
|
||||
<h2>Raspberry Pi</h2>
|
||||
<p>Quest Drone!</p>
|
||||
</a>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div id="two">
|
||||
<img src="/depPage/images/html5logo.png"/>
|
||||
<div>
|
||||
<a href="/projects/web/">
|
||||
<h2>Web Design</h2>
|
||||
<p>Templates & Projects</p>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="three">
|
||||
<img src="/depPage/images/mclogo.jpg"/>
|
||||
<div>
|
||||
<a href="http://cestaberous.gq/">
|
||||
<h2>Minecraft</h2>
|
||||
<p>Mods & Servers</p>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="four">
|
||||
<img src="/depPage/images/androidlogo.png"/>
|
||||
<div>
|
||||
<a href="/projects/android/">
|
||||
<h2>Android</h2>
|
||||
<p>App Development</p>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="five">
|
||||
<img src="/depPage/images/linuxlogo.jpg"/>
|
||||
<div>
|
||||
<a href="/projects/linux/">
|
||||
<h2>Linux</h2>
|
||||
<p>Bash & Devel</p>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2>Other Projects:</h2>
|
||||
<h4>Collatz Conjecture Calculator</h4>
|
||||
<p>
|
||||
The Collatz conjecture is a conjecture in mathematics named after Lothar Collatz,
|
||||
who first proposed it in 1937. The conjecture is also known as the <code>3n + 1</code> conjecture.
|
||||
Take any natural number n. If n is even, divide it by 2 to get <code>n / 2</code>. If n is odd,
|
||||
multiply it by 3 and add 1 to obtain <code>3n + 1</code>. Repeat the process (which has been called
|
||||
"Half Or Triple Plus One") indefinitely. The conjecture is that no matter what number you
|
||||
start with, you will always eventually reach 1. The property has also been called oneness.
|
||||
(Source: <a href="http://en.wikipedia.org/wiki/Collatz_conjecture">Wikipedia</a>)<br/><br/>
|
||||
This Executable JAR application accepts any number, and will automatically attempt to resolve
|
||||
the number to 1 using the Collatz Conjecture rules. When it does this, it counts and prints the iterations.
|
||||
<br/><br/><br/><a href="/lib/collatz/collatz.jar">Download the .JAR Here</a>
|
||||
<br/><br/><br/><a href="http://en.wikipedia.org/wiki/Collatz_conjecture"><b>What is the Collatz Conjecture?</b></a>
|
||||
</p>
|
||||
</div>
|
||||
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
|
||||
</body>
|
||||
</html>
|
||||
20
c2015/projects/linux/index.html
Normal file
20
c2015/projects/linux/index.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript" src="/depPage/setup/head.js"></script>
|
||||
<meta name="google-signin-client_id" content="758810519655-gh6tgimuegfmc3op76vupr4kqnqc7uds.apps.googleusercontent.com">
|
||||
<script src="https://apis.google.com/js/platform.js" async defer></script>
|
||||
<script type="text/javascript" src="/login/signIn.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript" src="/depPage/setup/header.js"></script>
|
||||
<div class="desc">/ My Projects / Linux Development</div>
|
||||
<div class="content">
|
||||
<h2><a href="krios/">KriOS - A hand compiled Linux Operating System</a></h2>
|
||||
<p>This is exciting news! I am currently in the process of collecting resources and information to make my own,
|
||||
hand compiled Linux Operating System. The system will follow the Linux From Scratch tutorial, and I will post periodic
|
||||
updates and helpful comments and notes for anyone wishing to embark on the same project over at the
|
||||
<a href="/projects/linux/krios/">Project Page.</a></p>
|
||||
</div>
|
||||
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
|
||||
</body>
|
||||
</html>
|
||||
29
c2015/projects/linux/krios/index.html
Normal file
29
c2015/projects/linux/krios/index.html
Normal file
@@ -0,0 +1,29 @@
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript" src="/depPage/setup/head.js"></script>
|
||||
<meta name="google-signin-client_id" content="758810519655-gh6tgimuegfmc3op76vupr4kqnqc7uds.apps.googleusercontent.com">
|
||||
<script src="https://apis.google.com/js/platform.js" async defer></script>
|
||||
<script type="text/javascript" src="/login/signIn.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript" src="/depPage/setup/header.js"></script>
|
||||
<div class="desc">/ My Projects / Linux Development / KriOS</div>
|
||||
<div class="content">
|
||||
<h2>KriOS - A hand compiled Linux Operating System</h2>
|
||||
<p>This is exciting news! I am currently in the process of collecting resources and information to make my own,
|
||||
hand compiled Linux Operating System. The system will follow the Linux From Scratch tutorial, and I will post periodic
|
||||
updates and helpful comments and notes for anyone wishing to embark on the same project.</p>
|
||||
<h3>What's with the funny name?</h3>
|
||||
<p>That's Krios (Kree-ohs). That is the name of the small technology solutions startup that includes myself
|
||||
and a few other people with similar interests. <a href="http://krioscom.gq/info/krios">More Info</a></p>
|
||||
<h3>Project Resources</h3>
|
||||
<ul>
|
||||
<li><a href="http://www.linuxfromscratch.org/">Linux From Scratch Homepage</a></li>
|
||||
<li><a href="http://www.linuxfromscratch.org/lfs/view/stable/">Beginner's Tutorial</a></li>
|
||||
</ul>
|
||||
<h3>Project Updates</h3>
|
||||
<p>No updates at this time.</p>
|
||||
</div>
|
||||
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
|
||||
</body>
|
||||
</html>
|
||||
36
c2015/projects/rpi/drone.html
Normal file
36
c2015/projects/rpi/drone.html
Normal file
@@ -0,0 +1,36 @@
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript" src="/depPage/setup/head.js"></script>
|
||||
<meta name="google-signin-client_id" content="758810519655-gh6tgimuegfmc3op76vupr4kqnqc7uds.apps.googleusercontent.com">
|
||||
<script src="https://apis.google.com/js/platform.js" async defer></script>
|
||||
<script type="text/javascript" src="/login/signIn.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript" src="/depPage/setup/header.js"></script>
|
||||
<div class="desc">/ My Projects / Raspberry Pi / QUEST Drone</div>
|
||||
<div class="content">
|
||||
<h3>The QUEST Drone!</h3>
|
||||
<p>The quest drone project is something that myself as well as <a href="http://jakemitchell.com/">Jake Mitchell</a>
|
||||
and the end goal is to have a fully automated Raspberry Pi powered drone that we can send on automated missions, as
|
||||
well as fly normally.
|
||||
</p>
|
||||
<h3>Project Resources</h3>
|
||||
<ul>
|
||||
<li><a href="http://computers.tutsplus.com/tutorials/controlling-dc-motors-using-python-with-a-raspberry-pi--cms-20051">
|
||||
Controlling Motors w/ RPi
|
||||
</a></li>
|
||||
<li><a href="https://www.raspberrypi.org/help/what-is-a-raspberry-pi/">Wait! What's a Raspberry Pi?</a></li>
|
||||
<li><a href="http://www.themagpi.com/issue/issue-19/">Reference Article in MagPi</a></li>
|
||||
<li><a href="https://docs.google.com/spreadsheets/d/1k9dQeWEC4-IHpYCEu507Tvav_LJoZseY9cMxV_Hf9hg/edit?usp=sharing">Complete Parts List + Prices</a></li>
|
||||
</ul>
|
||||
<h3>Project Updates</h3>
|
||||
<h4>10 May 2015 - On Hold</h4>
|
||||
<p>In lieu of the last few days of school, we are finished with the ordering of parts for the drone, and
|
||||
I am hoping that we can meet over the summer to begin development of the hardware, in time to get back in
|
||||
full swing when school resumes in August. A full list of ordered parts is avaiilable above.
|
||||
|
||||
<br/><br/><br/> --Garrett</p>
|
||||
</div>
|
||||
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
|
||||
</body>
|
||||
</html>
|
||||
18
c2015/projects/rpi/index.html
Normal file
18
c2015/projects/rpi/index.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript" src="/depPage/setup/head.js"></script>
|
||||
<meta name="google-signin-client_id" content="758810519655-gh6tgimuegfmc3op76vupr4kqnqc7uds.apps.googleusercontent.com">
|
||||
<script src="https://apis.google.com/js/platform.js" async defer></script>
|
||||
<script type="text/javascript" src="/login/signIn.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript" src="/depPage/setup/header.js"></script>
|
||||
<div class="desc">/ My Projects / Raspberry Pi</div>
|
||||
<div class="content">
|
||||
<script type="text/javascript">
|
||||
reroute("drone.html");
|
||||
</script>
|
||||
</div>
|
||||
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
|
||||
</body>
|
||||
</html>
|
||||
54
c2015/projects/web/gauth/index.html
Normal file
54
c2015/projects/web/gauth/index.html
Normal file
@@ -0,0 +1,54 @@
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript" src="/depPage/setup/head.js"></script>
|
||||
<meta name="google-signin-client_id" content="758810519655-gh6tgimuegfmc3op76vupr4kqnqc7uds.apps.googleusercontent.com">
|
||||
<script src="https://apis.google.com/js/platform.js" async defer></script>
|
||||
<script type="text/javascript" src="/login/signIn.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript" src="/depPage/setup/header.js"></script>
|
||||
<div class="desc">/ My Projects / Web Development / Google Auth Implementation</div>
|
||||
<div class="content">
|
||||
<h2>Google Auth</h2>
|
||||
<p>
|
||||
So, lately I have been experimenting with Google APIs, and decided to implement the Google Authentication on my website.
|
||||
At the moment, it is only half-implemented, but if you click on the copyright menu on the main website,
|
||||
you will see a name identifier, as well as a Google Sign-In button. You can click the button to log in,
|
||||
and (upon refreshing) the Name identifier will update. If you then click sign out, it will log you out of the website,
|
||||
and the Name identifier will change back to 'Guest'.
|
||||
</p>
|
||||
<img style="border-style: solid; border-width: 3px; border-color: #CCCCCC; border-radius: 10px; width: 274px; height: 187;" src="http://glmills.gq/blog/wp-content/uploads/2015/06/signinblank.png"/>
|
||||
<img style="border-style: solid; border-width: 3px; border-color: #CCCCCC; border-radius: 10px; width: 274px; height: 187;" src="http://glmills.gq/blog/wp-content/uploads/2015/06/signin.png"/>
|
||||
<p>
|
||||
I have not implemented a handler for protecting pages yet, but I am currently working on it, and plan to integrate it with my JSURL Project so that webpages can forward to a login handler, and be redirected back to a set page after authentication, as follows:
|
||||
<br/><br/>
|
||||
glmills.gq/login/?doLoginRedir=URL/to/redirect/to
|
||||
<br/><br/>
|
||||
So for example, if you click the link below, it will log you in and send you to the Projects page.
|
||||
<br/><br/>
|
||||
<a href="http://glmills.gq/login/index.html?doLoginRedir=/projects">http://glmills.gq/login/index.html?doLoginRedir=/projects</a>
|
||||
<br/><br/>
|
||||
This is not implemented yet, however. The in-progress source code is available in the aforementioned files. For those of you curious
|
||||
about how I handled sign ins, here you go:
|
||||
</p>
|
||||
<!-- HTML generated using hilite.me --><div style="background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;"><table><tr><td><pre style="margin: 0; line-height: 125%">
|
||||
</pre></td><td><pre style="margin: 0; line-height: 125%"><span style="color: #008800; font-weight: bold">function</span> onSignIn(googleUser) {
|
||||
<span style="color: #008800; font-weight: bold">var</span> profile <span style="color: #333333">=</span> googleUser.getBasicProfile();
|
||||
id <span style="color: #333333">=</span> profile.getId();
|
||||
name <span style="color: #333333">=</span> profile.getName();
|
||||
imgurl <span style="color: #333333">=</span> profile.getImageUrl();
|
||||
email <span style="color: #333333">=</span> profile.getEmail();
|
||||
sessionKey <span style="color: #333333">=</span> email;
|
||||
sessionVal <span style="color: #333333">=</span> localStorage.getItem(sessionKey);
|
||||
localStorage.setItem(sessionKey, <span style="background-color: #fff0f0">"in"</span>);
|
||||
<span style="color: #008800; font-weight: bold">if</span> (onLoginRedir <span style="color: #333333">!=</span> <span style="color: #008800; font-weight: bold">undefined</span>){
|
||||
<span style="color: #007020">window</span>.location<span style="color: #333333">=</span>onLoginRedir;
|
||||
}
|
||||
<span style="color: #008800; font-weight: bold">else</span> {console.log(<span style="background-color: #fff0f0">"Login Successful"</span>)}
|
||||
}
|
||||
</pre></td></tr></table></div>
|
||||
|
||||
</div>
|
||||
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
|
||||
</body>
|
||||
</html>
|
||||
26
c2015/projects/web/index.html
Normal file
26
c2015/projects/web/index.html
Normal file
@@ -0,0 +1,26 @@
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript" src="/depPage/setup/head.js"></script>
|
||||
<meta name="google-signin-client_id" content="758810519655-gh6tgimuegfmc3op76vupr4kqnqc7uds.apps.googleusercontent.com">
|
||||
<script src="https://apis.google.com/js/platform.js" async defer></script>
|
||||
<script type="text/javascript" src="/login/signIn.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript" src="/depPage/setup/header.js"></script>
|
||||
<div class="desc">/ My Projects / Web Development</div>
|
||||
<div class="content">
|
||||
<h2><a href="jsurl/">JavaScript Variables From URLs</a></h2>
|
||||
<p>
|
||||
This library for JavaScript will, upon being loaded, scan the URL for variables in the following format: <br/><br/>
|
||||
|
||||
http://www.example.com/index.html<b>?foo=bar</b>&<b>id=123</b>
|
||||
</p>
|
||||
<h4>List Of Sites:</h4>
|
||||
<ul>
|
||||
<li>This Site (duh)</li>
|
||||
<li><a href="http://krioscom.gq/">Krios Project Homepage</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
|
||||
</body>
|
||||
</html>
|
||||
30
c2015/projects/web/jsurl/index.html
Normal file
30
c2015/projects/web/jsurl/index.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript" src="/depPage/setup/head.js"></script>
|
||||
<meta name="google-signin-client_id" content="758810519655-gh6tgimuegfmc3op76vupr4kqnqc7uds.apps.googleusercontent.com">
|
||||
<script src="https://apis.google.com/js/platform.js" async defer></script>
|
||||
<script type="text/javascript" src="/login/signIn.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript" src="/depPage/setup/header.js"></script>
|
||||
<div class="desc">/ My Projects / Web Development / JSURL</div>
|
||||
<div class="content">
|
||||
<h2>Retrive Variables from URLs</h2>
|
||||
<p>
|
||||
This library for JavaScript will, upon being loaded, scan the URL for variables in the following format: <br/><br/>
|
||||
|
||||
http://www.example.com/index.html<b>?foo=bar</b>&<b>id=123</b>
|
||||
<br/><br/>
|
||||
And will define them in the same section of the document as they were called (eg, call the script in the head, the variables load there.
|
||||
The Variables are each in their own respective script tags directly in the HTML code to allow for universal use.
|
||||
</p>
|
||||
<h4>To use, simply call the following file:</h4>
|
||||
<p>
|
||||
<a href="/lib/jsurl/getvars.js">http://lib.glmills.gq/jsurl/gervars.js</a>
|
||||
</p>
|
||||
<h4>Or to test the mechanic, visit:</h4>
|
||||
<a href="/lib/jsurl/">http://lib.glmills.gq/jsurl/</a>
|
||||
</div>
|
||||
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user