Skip to content

Commit

Permalink
28/11/2018 16:02:54
Browse files Browse the repository at this point in the history
  • Loading branch information
SirTangent committed Nov 28, 2018
1 parent 04680af commit 107c526
Show file tree
Hide file tree
Showing 24 changed files with 623 additions and 53 deletions.
2 changes: 1 addition & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<a href="https://keybase.io/sirtangent">Keybase<a>
<a href="https://www.hackster.io/SirTangent">Hackster.io<a>
<a href="https://twitter.com/SirTangent180">Twitter<a>
<a href="https://www.instagram.com/">Instagram<a>
<a href="https://www.instagram.com/sirtangent/">Instagram<a>
<!--
<a href="https://creativecommons.org/licenses/by-nc/3.0/deed.en_US">
<span>
Expand Down
1 change: 1 addition & 0 deletions _includes/links.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<a href="{{ "/archive" | prepend: site.baseurl | replace: '//', '/' }}"><h2 class="header-link">Archive</h2></a>
<a href="{{ "/about" | prepend: site.baseurl | replace: '//', '/' }}"><h2 class="header-link">About Me</h2></a>
<a href="{{ "/projects" | prepend: site.baseurl | replace: '//', '/' }}"><h2 class="header-link">Projects</h2></a>
<a href="{{ "/atom.xml" | prepend: site.baseurl | replace: '//', '/' }}"><h2 class="header-link">RSS</h2></a>
4 changes: 2 additions & 2 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

<article>
<h2>{{ page.title }}</h2>
<time datetime="{{ page.date | date_to_xmlschema }}" class="by-line">{{ page.date | date_to_string }}</time>
<time datetime="{{ page.date | date_to_xmlschema }}" class="by-line">{{ page.date | date_to_string }}</time> | {{page.categories}}
{{ content }}
</article>
</article>
1 change: 1 addition & 0 deletions _posts/2017-12-12-Sample-Page.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Sample Page
categories: Misc.
published: true
---

Expand Down
7 changes: 7 additions & 0 deletions _posts/2018-11-27-Logic-Counters.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Digital Logic with Counters
categories: Hardware
published: false
---


7 changes: 7 additions & 0 deletions _posts/2018-11-28-CryptoBuddy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Cryptobuddy (HackWITus 2018)
categories: Projects
published: false
---


3 changes: 2 additions & 1 deletion _site/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ <h1>wphillips@home:~$</h1>
<div class="header-links">
<a href="/archive"><h2 class="header-link">Archive</h2></a>
<a href="/about"><h2 class="header-link">About Me</h2></a>
<a href="/projects"><h2 class="header-link">Projects</h2></a>
<a href="/atom.xml"><h2 class="header-link">RSS</h2></a>

</div>
Expand All @@ -59,7 +60,7 @@ <h1 id="uhhhhhhhhhh-404">Uhhhhhhhhhh 404!?</h1>
<a href="https://keybase.io/sirtangent">Keybase<a>
<a href="https://www.hackster.io/SirTangent">Hackster.io<a>
<a href="https://twitter.com/SirTangent180">Twitter<a>
<a href="https://www.instagram.com/">Instagram<a>
<a href="https://www.instagram.com/sirtangent/">Instagram<a>
<!--
<a href="https://creativecommons.org/licenses/by-nc/3.0/deed.en_US">
<span>
Expand Down
6 changes: 4 additions & 2 deletions _site/Sample-Page.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ <h1>wphillips@home:~$</h1>
<div class="header-links">
<a href="/archive"><h2 class="header-link">Archive</h2></a>
<a href="/about"><h2 class="header-link">About Me</h2></a>
<a href="/projects"><h2 class="header-link">Projects</h2></a>
<a href="/atom.xml"><h2 class="header-link">RSS</h2></a>

</div>
Expand All @@ -48,7 +49,7 @@ <h1>wphillips@home:~$</h1>
<section id="main_content">
<article>
<h2>Sample Page</h2>
<time datetime="2017-12-12T00:00:00-05:00" class="by-line">12 Dec 2017</time>
<time datetime="2017-12-12T00:00:00-05:00" class="by-line">12 Dec 2017</time> | Misc.
<p>Text can be <strong>bold</strong>, <em>italic</em>, <del>strikethrough</del> or <code class="highlighter-rouge">keyword</code>.</p>

<p><a href="another-page">Link to another page</a>.</p>
Expand Down Expand Up @@ -214,6 +215,7 @@ <h3 id="definition-lists-can-be-used-with-html-syntax">Definition lists can be u
</code></pre></div></div>

</article>

</section>
</div>
</div>
Expand All @@ -224,7 +226,7 @@ <h3 id="definition-lists-can-be-used-with-html-syntax">Definition lists can be u
<a href="https://keybase.io/sirtangent">Keybase<a>
<a href="https://www.hackster.io/SirTangent">Hackster.io<a>
<a href="https://twitter.com/SirTangent180">Twitter<a>
<a href="https://www.instagram.com/">Instagram<a>
<a href="https://www.instagram.com/sirtangent/">Instagram<a>
<!--
<a href="https://creativecommons.org/licenses/by-nc/3.0/deed.en_US">
<span>
Expand Down
3 changes: 2 additions & 1 deletion _site/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ <h1>wphillips@home:~$</h1>
<div class="header-links">
<a href="/archive"><h2 class="header-link">Archive</h2></a>
<a href="/about"><h2 class="header-link">About Me</h2></a>
<a href="/projects"><h2 class="header-link">Projects</h2></a>
<a href="/atom.xml"><h2 class="header-link">RSS</h2></a>

</div>
Expand All @@ -60,7 +61,7 @@ <h1 id="who-is-wyatt-phillips">Who is Wyatt Phillips?</h1>
<a href="https://keybase.io/sirtangent">Keybase<a>
<a href="https://www.hackster.io/SirTangent">Hackster.io<a>
<a href="https://twitter.com/SirTangent180">Twitter<a>
<a href="https://www.instagram.com/">Instagram<a>
<a href="https://www.instagram.com/sirtangent/">Instagram<a>
<!--
<a href="https://creativecommons.org/licenses/by-nc/3.0/deed.en_US">
<span>
Expand Down
24 changes: 24 additions & 0 deletions _site/apps/euler/euler.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// Written and deployed by Wyatt Phillips
// Email: phillipsw1@wit.edu

function solveEuler(equ, x0, y0, x1, steps) {
// Create equation parser
const parse = math.parse(equ);
const make = parse.compile();

// Get step size h
var h = (x1-x0) / steps;

// Calculate and run Euler's Method
var y1 = y0;
for (var i = 0; i < steps; i++) {
let scope = {
x: x0+(h*i),
y: y1
}
y1 = y1 + (h * make.eval(scope));
}

// Print Result
document.getElementById('solution').value = y1;
}
78 changes: 78 additions & 0 deletions _site/apps/euler/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<!DOCTYPE html>
<html>
<head>
<title>Euler's Method</title>
<style>
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
}
.main-container {
max-width: 600px;
display: inline-grid;
grid-gap: 20px;
}
.main-header {
background-color: tomato;
padding: 4px 16px;
}
h1 {
background-color: white;
display: inline-block;
padding: 4px 6px;
border: 2px solid black;

}
.box {
display: inline-block;
border: 2px solid black;
border-radius: 12px;
}
.main-form {
background-color: tomato;
max-width: 600px;
padding: 12px 16px;
}
.output {
grid-row: 2 2;
grid-column: 2 2;
background-color: greenyellow;
max-width: 600px;
padding: 12px 16px;
}
input {
outline: 2px solid black;
}
</style>
<script type="text/javascript" src="math.min.js"></script>
<script type="text/javascript" src="euler.js"></script>
</head>

<body>
<div class="main-container">
<div class="main-header box">
<h1>Solve using Euler's Method.</h1>
<p>This app takes a first order differential equation with an initial value and approximates a solution based on step size (h)</p>
</div>
<div class="main-form box">
<form>
<p class="form-desc">Differential Equation (dy/dx):</p>
<input type="text" name="equation" id="equation" value="x+y">
<p class="form-desc">x<sub>0</sub>:</p>
<input type="number" name="init_x" id="init_x" value="0">
<p class="form-desc">y<sub>0</sub>:</p>
<input type="number" name="init_y" id="init_y" value="1">
<p class="form-desc">Final x:</p>
<input type="number" name="final_x" id="final_x" value="0.5">
<p class="form-desc">Steps (Higher Number -> Percise Solution):</p>
<input type="number" name="steps" id="steps" value="5">
<input type="button" style="margin-left: 10px;" value="Calculate" onclick="solveEuler(equation.value, parseFloat(init_x.value), parseFloat(init_y.value), parseFloat(final_x.value), parseFloat(math.round(steps.value)))">
</form>
</div>
<div class="output box">
<p>Final y :</p>
<input type="number" name="solution" id="solution" value="">
</div>
</div>
<p class="footer"><i>Created by Wyatt Phillips ([email protected])</i></p>
</body>
</html>
56 changes: 56 additions & 0 deletions _site/apps/euler/math.min.js

Large diffs are not rendered by default.

29 changes: 14 additions & 15 deletions _site/archive.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ <h1>wphillips@home:~$</h1>
<div class="header-links">
<a href="/archive"><h2 class="header-link">Archive</h2></a>
<a href="/about"><h2 class="header-link">About Me</h2></a>
<a href="/projects"><h2 class="header-link">Projects</h2></a>
<a href="/atom.xml"><h2 class="header-link">RSS</h2></a>

</div>
Expand All @@ -45,29 +46,27 @@ <h1>wphillips@home:~$</h1>
<div class="container">
<section id="main_content">
<article>
<section>

<div id="archives">

<div class="archive-group">

<div id="#Misc."></div>
<p></p>


<h3>2017</h3>


<h3 class="category-head">Misc.</h3>
<a name="Misc."></a>


<ul>

<li><time>12 Dec - </time>
<article class="archive-item">
<ul><li><time>12 Dec 2017 - </time>
<a href="/Sample-Page">
Sample Page
</a>
</li>
</li></ul>
</article>

</ul>
</div>


</section>
</div>

</article>
</section>
Expand All @@ -80,7 +79,7 @@ <h3>2017</h3>
<a href="https://keybase.io/sirtangent">Keybase<a>
<a href="https://www.hackster.io/SirTangent">Hackster.io<a>
<a href="https://twitter.com/SirTangent180">Twitter<a>
<a href="https://www.instagram.com/">Instagram<a>
<a href="https://www.instagram.com/sirtangent/">Instagram<a>
<!--
<a href="https://creativecommons.org/licenses/by-nc/3.0/deed.en_US">
<span>
Expand Down
100 changes: 100 additions & 0 deletions _site/archiveold.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta name="generator" content="Jekyll">

<title>Archive</title>

<link rel="stylesheet" href="/css/main.css">

<link href="/atom.xml" type="application/atom+xml" rel="alternate" title="ATOM Feed" /> <!-- Begin Jekyll SEO tag v2.5.0 -->
<title>Archive | Wyatt Phillips</title>
<meta name="generator" content="Jekyll v3.8.5" />
<meta property="og:title" content="Archive" />
<meta name="author" content="Wyatt Phillips" />
<meta property="og:locale" content="en_US" />
<meta name="description" content="Engineering Student Programmer Hacker" />
<meta property="og:description" content="Engineering Student Programmer Hacker" />
<meta property="og:site_name" content="Wyatt Phillips" />
<script type="application/ld+json">
{"@type":"WebPage","url":"/archiveold","headline":"Archive","author":{"@type":"Person","name":"Wyatt Phillips"},"description":"Engineering Student Programmer Hacker","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->

</head>

<body>
<div id="wrapper">
<header>
<div>
<a href="/">

<h1>wphillips@home:~$</h1>
</a>
<p style="text-align: center;">Engineering Student | Programmer | Hacker</p>
<div class="header-links">
<a href="/archive"><h2 class="header-link">Archive</h2></a>
<a href="/about"><h2 class="header-link">About Me</h2></a>
<a href="/projects"><h2 class="header-link">Projects</h2></a>
<a href="/atom.xml"><h2 class="header-link">RSS</h2></a>

</div>
</div>
</header>

<div class="container">
<section id="main_content">
<article>
<section>





<h3>2017</h3>




<ul>

<li><time>12 Dec - </time>
<a href="/Sample-Page">
Sample Page
</a>
</li>

</ul>


</section>

</article>
</section>
</div>
</div>

<footer>
<a href="https://www.linkedin.com/in/wyatt-phillips-53805a123/">LinkedIn<a>
<a href="https://github.com/SirTangent">GitHub<a>
<a href="https://keybase.io/sirtangent">Keybase<a>
<a href="https://www.hackster.io/SirTangent">Hackster.io<a>
<a href="https://twitter.com/SirTangent180">Twitter<a>
<a href="https://www.instagram.com/sirtangent/">Instagram<a>
<!--
<a href="https://creativecommons.org/licenses/by-nc/3.0/deed.en_US">
<span>
<b>wphillips</b>
</span>
<span>© 2018</span>
</a>
-->
</footer>



</body>

</html>
2 changes: 1 addition & 1 deletion _site/atom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Wyatt Phillips</title>
<link href="/atom.xml" rel="self"/>
<id>/</id>
<updated>2018-11-27T16:08:18-05:00</updated>
<updated>2018-11-28T16:02:54-05:00</updated>
<author>
<name>Wyatt Phillips</name>
<uri>https://wphillips.me/</uri>
Expand Down
Loading

0 comments on commit 107c526

Please sign in to comment.