1
0
mirror of https://gitlab.com/Anson-Projects/projects.git synced 2025-08-02 03:21:32 +00:00

finished julia for matlab post

This commit is contained in:
2021-08-24 02:44:49 -07:00
parent 45e57d4fb4
commit 77b59e955f
26 changed files with 5023 additions and 236 deletions

View File

@@ -1,6 +1,5 @@
FROM r-base:latest
RUN apt-get update
RUN apt-get install libssl-dev pandoc -y
RUN apt install build-essential libcurl4-gnutls-dev libxml2-dev libssl-dev -y
# RUN R -e 'rmarkdown::render_site(encoding = \'UTF-8\')'
RUN apt-get install libssl-dev pandoc build-essential libcurl4-gnutls-dev libxml2-dev libssl-dev -y
CMD Rscript builtit.R

View File

@@ -23,7 +23,6 @@
pre > code.sourceCode { white-space: pre; position: relative; }
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
pre > code.sourceCode > span:empty { height: 1.2em; }
.sourceCode { overflow: visible; }
code.sourceCode > span { color: inherit; text-decoration: inherit; }
div.sourceCode { margin: 1em 0; }
pre.sourceCode { margin: 0; }
@@ -2033,7 +2032,7 @@ code span.wa { color: #5e5e5e; font-style: italic; } /* Warning */
</script>
<!--/radix_placeholder_distill-->
<script src="site_libs/header-attrs-2.7/header-attrs.js"></script>
<script src="site_libs/header-attrs-2.10/header-attrs.js"></script>
<script src="site_libs/popper-2.6.0/popper.min.js"></script>
<link href="site_libs/tippy-6.2.7/tippy.css" rel="stylesheet" />
<link href="site_libs/tippy-6.2.7/tippy-light-border.css" rel="stylesheet" />

View File

@@ -24,7 +24,6 @@
pre > code.sourceCode { white-space: pre; position: relative; }
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
pre > code.sourceCode > span:empty { height: 1.2em; }
.sourceCode { overflow: visible; }
code.sourceCode > span { color: inherit; text-decoration: inherit; }
div.sourceCode { margin: 1em 0; }
pre.sourceCode { margin: 0; }
@@ -2031,7 +2030,7 @@ code span.wa { color: #5e5e5e; font-style: italic; } /* Warning */
</script>
<!--/radix_placeholder_distill-->
<script src="site_libs/header-attrs-2.7/header-attrs.js"></script>
<script src="site_libs/header-attrs-2.10/header-attrs.js"></script>
<script src="site_libs/popper-2.6.0/popper.min.js"></script>
<link href="site_libs/tippy-6.2.7/tippy.css" rel="stylesheet" />
<link href="site_libs/tippy-6.2.7/tippy-light-border.css" rel="stylesheet" />
@@ -2078,210 +2077,232 @@ code span.wa { color: #5e5e5e; font-style: italic; } /* Warning */
<!--/radix_placeholder_navigation_before_body-->
<!--radix_placeholder_site_before_body-->
<!--/radix_placeholder_site_before_body-->
<!--radix_placeholder_article_listing-->
<script type="application/javascript">
function init_posts_list() {
function load_image(img) {
var src = $(img).attr('data-src');
if (src) {
$(img).attr('src', src);
$(img).load(function() {
img.removeAttribute('data-src');
});
}
}
function set_posts_visible(posts, visible) {
if (visible) {
// show bottom border by default
$(posts).removeClass('post-preview-last');
// apply limits if need be
var max_posts = 25;
var apply_limits = $('.posts-container').hasClass('posts-apply-limit');
if (apply_limits && posts.length > max_posts) {
posts = $(posts).slice(0, max_posts);
} else {
$('.posts-more a').addClass('hidden');
}
// apply last style
$(posts.slice(-1)[0]).addClass('post-preview-last');
$(posts).removeClass('hidden');
$(posts).find('img[data-src]').each(function(i, img) {
load_image(img);
});
} else {
$(posts).addClass('hidden');
}
}
function apply_hash_filter() {
// clear active state
$('.categories .active').removeClass('active');
// mark all posts invisible to start
set_posts_visible($('.posts-list').children('a'), false);
// if we have a hash filter
if (window.location.hash && window.location.hash.startsWith("#category:")) {
// mark posts that match the category visible
var page_category = window.location.hash.replace(/^#category:/, "");
var posts = $('.post-metadata').map(function(idx, script) {
var metadata = $.parseJSON($(script).html());
var post = null;
$.each(metadata.categories, function(idx, category) {
category = category.replace(/ /g,"_");
if ((page_category || '').toLowerCase() === "articles" || category === page_category) {
post = $(script).parent().get();
return false;
}
});
return post;
});
set_posts_visible(posts, true);
// mark the hash active
$('.categories li>a[href="' + window.location.hash + '"]').addClass('active');
// update the list_caption
var list_caption = $('.posts-list-caption');
var caption = (page_category || '').toLowerCase() === "articles"
? list_caption.attr('data-caption')
: ('Category: ' + page_category.replace(/_/g," "));
list_caption.text(caption);
} else {
// no hash filter, make all posts visible (subject to max display)
set_posts_visible($('.posts-list').children(), true);
// reset list caption
var list_caption = $('.posts-list-caption');
list_caption.text(list_caption.attr('data-caption'));
}
}
// more articles
function apply_post_limits(apply) {
if (apply) {
$('.posts-container').addClass('posts-apply-limit');
$('.posts-more a').removeClass('hidden');
} else {
$('.posts-container').removeClass('posts-apply-limit');
$('.posts-more a').addClass('hidden');
}
}
// click handling for tags
$('.dt-tag').click(function(ev) {
window.location.hash = '#category:' + $(this).text().replace(/ /g, "_");
return false;
})
// hash filter handling
apply_hash_filter();
$(window).on('hashchange',function() {
apply_post_limits(true);
apply_hash_filter();
});
// more articles link
$('.posts-more a').click(function(e) {
e.preventDefault();
apply_post_limits(false);
apply_hash_filter();
return false;
});
}
</script>
<div class="posts-container posts-with-sidebar posts-apply-limit l-screen-inset">
<div class="posts-list">
<h1 class="posts-list-caption" data-caption="Anson&#39;s Projects">Anson's Projects</h1>
<a href="posts/2021-04-14-iss-eclipse-determination/" class="post-preview">
<script class="post-metadata" type="text/json">{"categories":["Julia","Astrodynamics"]}</script>
<div class="metadata">
<div class="publishedDate">May 1, 2021</div>
<div class="dt-authors">
<div class="dt-author">Anson Biggs</div>
</div>
</div>
<div class="thumbnail">
<img src="posts/2021-04-14-iss-eclipse-determination/preview.png"/>
</div>
<div class="description">
<h2>ISS Eclipse Determination</h2>
<div class="dt-tags">
<div class="dt-tag">Julia</div>
<div class="dt-tag">Astrodynamics</div>
</div>
<p>Determining how much sunlight a body orbiting a planet is receiving.</p>
</div>
</a>
<a href="posts/2021-04-01-air-propulsion-simulation/" class="post-preview">
<script class="post-metadata" type="text/json">{"categories":["Julia","Capstone"]}</script>
<div class="metadata">
<div class="publishedDate">April 1, 2021</div>
<div class="dt-authors">
<div class="dt-author">Anson Biggs</div>
</div>
</div>
<div class="thumbnail">
<img src="posts/2021-04-01-air-propulsion-simulation/air-propulsion-simulation_files/figure-html5/unnamed-chunk-7-J1.png"/>
</div>
<div class="description">
<h2>Air Propulsion Simulation</h2>
<div class="dt-tags">
<div class="dt-tag">Julia</div>
<div class="dt-tag">Capstone</div>
</div>
<p>Simulating the performance of an air propulsion system as an alternative to solid rocket motors.</p>
</div>
</a>
</div>
<div class="posts-sidebar">
<div class="sidebar-section categories">
<h3>Categories</h3>
<ul>
<li>
<a href="#category:Articles">Articles</a>
<span class="category-count">(2)</span>
</li>
<li>
<a href="#category:Astrodynamics">Astrodynamics</a>
<span class="category-count">(1)</span>
</li>
<li>
<a href="#category:Capstone">Capstone</a>
<span class="category-count">(1)</span>
</li>
<li>
<a href="#category:Julia">Julia</a>
<span class="category-count">(2)</span>
</li>
</ul>
</div>
</div>
<div class="posts-more">
<a href="#">More articles &raquo;</a>
</div>
</div>
<!--/radix_placeholder_article_listing-->
<!--radix_placeholder_article_listing-->
<script type="application/javascript">
function init_posts_list() {
function load_image(img) {
var src = $(img).attr('data-src');
if (src) {
$(img).attr('src', src);
$(img).load(function() {
img.removeAttribute('data-src');
});
}
}
function set_posts_visible(posts, visible) {
if (visible) {
// show bottom border by default
$(posts).removeClass('post-preview-last');
// apply limits if need be
var max_posts = 25;
var apply_limits = $('.posts-container').hasClass('posts-apply-limit');
if (apply_limits && posts.length > max_posts) {
posts = $(posts).slice(0, max_posts);
} else {
$('.posts-more a').addClass('hidden');
}
// apply last style
$(posts.slice(-1)[0]).addClass('post-preview-last');
$(posts).removeClass('hidden');
$(posts).find('img[data-src]').each(function(i, img) {
load_image(img);
});
} else {
$(posts).addClass('hidden');
}
}
function apply_hash_filter() {
// clear active state
$('.categories .active').removeClass('active');
// mark all posts invisible to start
set_posts_visible($('.posts-list').children('a'), false);
// if we have a hash filter
if (window.location.hash && window.location.hash.startsWith("#category:")) {
// mark posts that match the category visible
var page_category = window.location.hash.replace(/^#category:/, "");
var posts = $('.post-metadata').map(function(idx, script) {
var metadata = $.parseJSON($(script).html());
var post = null;
$.each(metadata.categories, function(idx, category) {
category = category.replace(/ /g,"_");
if ((page_category || '').toLowerCase() === "articles" || category === page_category) {
post = $(script).parent().get();
return false;
}
});
return post;
});
set_posts_visible(posts, true);
// mark the hash active
$('.categories li>a[href="' + window.location.hash + '"]').addClass('active');
// update the list_caption
var list_caption = $('.posts-list-caption');
var caption = (page_category || '').toLowerCase() === "articles"
? list_caption.attr('data-caption')
: ('Category: ' + page_category.replace(/_/g," "));
list_caption.text(caption);
} else {
// no hash filter, make all posts visible (subject to max display)
set_posts_visible($('.posts-list').children(), true);
// reset list caption
var list_caption = $('.posts-list-caption');
list_caption.text(list_caption.attr('data-caption'));
}
}
// more articles
function apply_post_limits(apply) {
if (apply) {
$('.posts-container').addClass('posts-apply-limit');
$('.posts-more a').removeClass('hidden');
} else {
$('.posts-container').removeClass('posts-apply-limit');
$('.posts-more a').addClass('hidden');
}
}
// click handling for tags
$('.dt-tag').click(function(ev) {
window.location.hash = '#category:' + $(this).text().replace(/ /g, "_");
return false;
})
// hash filter handling
apply_hash_filter();
$(window).on('hashchange',function() {
apply_post_limits(true);
apply_hash_filter();
});
// more articles link
$('.posts-more a').click(function(e) {
e.preventDefault();
apply_post_limits(false);
apply_hash_filter();
return false;
});
}
</script>
<div class="posts-container posts-with-sidebar posts-apply-limit l-screen-inset">
<div class="posts-list">
<h1 class="posts-list-caption" data-caption="Anson&#39;s Projects">Anson's Projects</h1>
<a href="posts/2021-08-24-julia-for-matlabbers/" class="post-preview">
<script class="post-metadata" type="text/json">{"categories":["Julia","Matlab"]}</script>
<div class="metadata">
<div class="publishedDate">Aug. 24, 2021</div>
<div class="dt-authors">
<div class="dt-author">Anson Biggs</div>
</div>
</div>
<div class="thumbnail"></div>
<div class="description">
<h2>Julia for Matlabbers</h2>
<div class="dt-tags">
<div class="dt-tag">Julia</div>
<div class="dt-tag">Matlab</div>
</div>
<p>Everything a Matlab programmer needs to know about Julia.</p>
</div>
</a>
<a href="posts/2021-04-14-iss-eclipse-determination/" class="post-preview">
<script class="post-metadata" type="text/json">{"categories":["Julia","Astrodynamics"]}</script>
<div class="metadata">
<div class="publishedDate">May 1, 2021</div>
<div class="dt-authors">
<div class="dt-author">Anson Biggs</div>
</div>
</div>
<div class="thumbnail">
<img src="posts/2021-04-14-iss-eclipse-determination/preview.png"/>
</div>
<div class="description">
<h2>ISS Eclipse Determination</h2>
<div class="dt-tags">
<div class="dt-tag">Julia</div>
<div class="dt-tag">Astrodynamics</div>
</div>
<p>Determining how much sunlight a body orbiting a planet is receiving.</p>
</div>
</a>
<a href="posts/2021-04-01-air-propulsion-simulation/" class="post-preview">
<script class="post-metadata" type="text/json">{"categories":["Julia","Capstone"]}</script>
<div class="metadata">
<div class="publishedDate">April 1, 2021</div>
<div class="dt-authors">
<div class="dt-author">Anson Biggs</div>
</div>
</div>
<div class="thumbnail">
<img src="posts/2021-04-01-air-propulsion-simulation/air-propulsion-simulation_files/figure-html5/unnamed-chunk-7-J1.png"/>
</div>
<div class="description">
<h2>Air Propulsion Simulation</h2>
<div class="dt-tags">
<div class="dt-tag">Julia</div>
<div class="dt-tag">Capstone</div>
</div>
<p>Simulating the performance of an air propulsion system as an alternative to solid rocket motors.</p>
</div>
</a>
</div>
<div class="posts-sidebar">
<div class="sidebar-section categories">
<h3>Categories</h3>
<ul>
<li>
<a href="#category:Articles">Articles</a>
<span class="category-count">(3)</span>
</li>
<li>
<a href="#category:Astrodynamics">Astrodynamics</a>
<span class="category-count">(1)</span>
</li>
<li>
<a href="#category:Capstone">Capstone</a>
<span class="category-count">(1)</span>
</li>
<li>
<a href="#category:Julia">Julia</a>
<span class="category-count">(3)</span>
</li>
<li>
<a href="#category:Matlab">Matlab</a>
<span class="category-count">(1)</span>
</li>
</ul>
</div>
</div>
<div class="posts-more">
<a href="#">More articles &raquo;</a>
</div>
</div>
<!--/radix_placeholder_article_listing-->

View File

@@ -7,7 +7,17 @@
<description>Anson's Projects
</description>
<generator>Distill</generator>
<lastBuildDate>Sat, 01 May 2021 00:00:00 +0000</lastBuildDate>
<lastBuildDate>Tue, 24 Aug 2021 00:00:00 +0000</lastBuildDate>
<item>
<title>Julia for Matlabbers</title>
<dc:creator>Anson Biggs</dc:creator>
<link>https://projects.ansonbiggs.com/posts/2021-08-24-julia-for-matlabbers</link>
<description>Everything a Matlab programmer needs to know about Julia.</description>
<category>Julia</category>
<category>Matlab</category>
<guid>https://projects.ansonbiggs.com/posts/2021-08-24-julia-for-matlabbers</guid>
<pubDate>Tue, 24 Aug 2021 00:00:00 +0000</pubDate>
</item>
<item>
<title>ISS Eclipse Determination</title>
<dc:creator>Anson Biggs</dc:creator>

View File

@@ -2082,7 +2082,7 @@ document.addEventListener('DOMContentLoaded', function() {
<!--radix_placeholder_front_matter-->
<script id="distill-front-matter" type="text/json">
{"title":"Air Propulsion Simulation","description":"Simulating the performance of an air propulsion system as an alternative to solid rocket motors.","authors":[{"author":"Anson Biggs","authorURL":"https://ansonbiggs.com","affiliation":"&nbsp;","affiliationURL":"#","orcidID":""}],"publishedDate":"2021-04-01T00:00:00.000-07:00","citationText":"Biggs, 2021"}
{"title":"Air Propulsion Simulation","description":"Simulating the performance of an air propulsion system as an alternative to solid rocket motors.","authors":[{"author":"Anson Biggs","authorURL":"https://ansonbiggs.com","affiliation":"&nbsp;","affiliationURL":"#","orcidID":""}],"publishedDate":"2021-04-01T00:00:00.000+00:00","citationText":"Biggs, 2021"}
</script>
<!--/radix_placeholder_front_matter-->

View File

@@ -2082,7 +2082,7 @@ document.addEventListener('DOMContentLoaded', function() {
<!--radix_placeholder_front_matter-->
<script id="distill-front-matter" type="text/json">
{"title":"ISS Eclipse Determination","description":"Determining how much sunlight a body orbiting a planet is receiving.","authors":[{"author":"Anson Biggs","authorURL":"https://ansonbiggs.com","affiliation":"&nbsp;","affiliationURL":"#","orcidID":""}],"publishedDate":"2021-05-01T00:00:00.000-07:00","citationText":"Biggs, 2021"}
{"title":"ISS Eclipse Determination","description":"Determining how much sunlight a body orbiting a planet is receiving.","authors":[{"author":"Anson Biggs","authorURL":"https://ansonbiggs.com","affiliation":"&nbsp;","affiliationURL":"#","orcidID":""}],"publishedDate":"2021-05-01T00:00:00.000+00:00","citationText":"Biggs, 2021"}
</script>
<!--/radix_placeholder_front_matter-->

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -6,14 +6,14 @@
"description": "I'm an Astronautical Engineer studying at Embry-Riddle Prescott.",
"author": [],
"contents": "\nI mostly write code, but sometimes I make 3D Models. This website is where I plan on breaking down some of my more interesting findings and sharing them with the World Wide Web. If you think I could be a could fit at your company then take a look at my Resume, otherwise you can reach me on Telegram or by Email.\n\n\n\n",
"last_modified": "2021-05-07T09:53:25-07:00"
"last_modified": "2021-08-24T09:05:51+00:00"
},
{
"path": "index.html",
"title": "Anson's Projects",
"author": [],
"contents": "\n\n\n\n",
"last_modified": "2021-05-07T09:53:25-07:00"
"last_modified": "2021-08-24T09:05:52+00:00"
}
],
"collections": ["posts/posts.json"]

View File

@@ -0,0 +1,12 @@
// Pandoc 2.9 adds attributes on both header and div. We remove the former (to
// be compatible with the behavior of Pandoc < 2.8).
document.addEventListener('DOMContentLoaded', function(e) {
var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
var i, h, a;
for (i = 0; i < hs.length; i++) {
h = hs[i];
if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
a = h.attributes;
while (a.length > 0) h.removeAttribute(a[0].name);
}
});

View File

@@ -2,18 +2,22 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" version="1.0">
<url>
<loc>https://projects.ansonbiggs.com/about.html</loc>
<lastmod>2021-05-03T19:29:58-07:00</lastmod>
<lastmod>2021-04-14T22:36:57-07:00</lastmod>
</url>
<url>
<loc>https://projects.ansonbiggs.com/</loc>
<lastmod>2021-04-01T20:38:43-07:00</lastmod>
<lastmod>2021-04-02T14:53:47-07:00</lastmod>
</url>
<url>
<loc>https://projects.ansonbiggs.com/posts/2021-08-24-julia-for-matlabbers/</loc>
<lastmod>2021-08-24T02:43:07-07:00</lastmod>
</url>
<url>
<loc>https://projects.ansonbiggs.com/posts/2021-04-14-iss-eclipse-determination/</loc>
<lastmod>2021-05-07T09:51:55-07:00</lastmod>
<lastmod>2021-08-24T06:53:55+00:00</lastmod>
</url>
<url>
<loc>https://projects.ansonbiggs.com/posts/2021-04-01-air-propulsion-simulation/</loc>
<lastmod>2021-05-07T08:51:19-07:00</lastmod>
<lastmod>2021-08-24T06:53:55+00:00</lastmod>
</url>
</urlset>