Skip to content

Commit

Permalink
preparing site for netlify archive
Browse files Browse the repository at this point in the history
  • Loading branch information
shiffman committed Apr 29, 2023
1 parent 756572e commit 1d117d3
Show file tree
Hide file tree
Showing 10 changed files with 122 additions and 118 deletions.
28 changes: 17 additions & 11 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
<footer class="left-container about out">
<div class="content-wrapper article">
<p>Source code for this website can be found on <a href="https://github.com/shiffman/shiffman.net/" target="_blank">Github</a>.</p>
</div>
<div class="content-wrapper article">
<p>Source code for this website can be found on <a href="https://github.com/shiffman/shiffman.net/" target="_blank">Github</a>.</p>
</div>
</footer>


<script>

(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
(i[r] =
i[r] ||
function () {
(i[r].q = i[r].q || []).push(arguments);
}),
(i[r].l = 1 * new Date());
(a = s.createElement(o)), (m = s.getElementsByTagName(o)[0]);
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m);
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');

ga('create', 'UA-94163-1', 'auto');
ga('send', 'pageview');

</script>
</script>
40 changes: 20 additions & 20 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{{ page.title }} | Daniel Shiffman</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="/css/main.css">
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.js"></script>
<script src="/js/main.js"></script>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-9064317682916014",
enable_page_level_ads: true
});
</script>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>{{ page.title }} | Daniel Shiffman</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" type="text/css" href="/css/main.css" />
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="manifest" href="/site.webmanifest" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.js"></script>
<script src="/js/main.js"></script>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: 'ca-pub-9064317682916014',
enable_page_level_ads: true,
});
</script>
</head>
9 changes: 7 additions & 2 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<p class="browsehappy">
You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your
experience.
</p>
<![endif]-->
<nav id="global-nav" aria-label="Main navigation">
<ul class="nav-links">
<li><a href="/" class="nav-logo">DANIEL <br>SHIFFMAN</a></li>
<li>
<a href="/" class="nav-logo">DANIEL <br />SHIFFMAN</a>
</li>
<span class="line-charm"></span>
<li><a href="/books/">BOOKS</a></li>
<li><a href="/videos/">VIDEOS</a></li>
Expand Down
15 changes: 9 additions & 6 deletions _includes/home-header.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<p class="browsehappy">
You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your
experience.
</p>
<![endif]-->
<nav id="global-nav">
<div class="logo-set-home">
Expand All @@ -8,10 +11,10 @@
</div>
<span class="line-charm"></span>
<ul class="nav-links">
<li><a href="/books/">BOOKS</a></li>
<li><a href="/videos/">VIDEOS</a></li>
<li><a href="/learning/">LEARNING</a></li>
<li><a href="/about/">ABOUT</a></li>
<li><a href="books/">BOOKS</a></li>
<li><a href="videos/">VIDEOS</a></li>
<li><a href="learning/">LEARNING</a></li>
<li><a href="about/">ABOUT</a></li>
<span class="line-charm"></span>
<li><a href="https://twitter.com/shiffman">TWITTER</a></li>
<li><a href="https://github.com/shiffman">GITHUB</a></li>
Expand All @@ -22,7 +25,7 @@
<div id="container">
<button aria-controls="global-nav" aria-haspopup="true" tabindex="2" id="menu-button">
<span class="menu-icon" aria-hidden="true">
<img src="/images/nav-btn.svg" alt="Menu toggle" />
<img src="images/nav-btn.svg" alt="Menu toggle" />
</span>
</button>
</div>
46 changes: 22 additions & 24 deletions _layouts/a2z-post.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,72 +2,70 @@
layout: default
---

<link rel="stylesheet" type="text/css" href="/css/prism.css">
<link rel="stylesheet" type="text/css" href="/css/highlight.css">
<link rel="stylesheet" type="text/css" href="/css/a2z.css">
<link rel="stylesheet" type="text/css" href="/css/prism.css" />
<link rel="stylesheet" type="text/css" href="/css/highlight.css" />
<link rel="stylesheet" type="text/css" href="/css/a2z.css" />
<script src="/js/blog.js"></script>
<script src="/js/prism.js"></script>

<section class="left-container out a2z">
<h1>Programming from A to Z</h1>
<p><br/>
<p>
<br />

<a href="/a2z/" class="body-link primary">about</a>
<a href="a2z/" class="body-link primary">about</a>
<a href="https://github.com/shiffman/A2Z-F16/blob/gh-pages/README.md" class="body-link primary">syllabus</a>
<a href="https://github.com/shiffman/A2Z-F16" class="body-link primary">All example source code</a>

</p>
<span class="line-charm first"></span>
<div class="content-wrapper article a2z">
{{ content }}
</div>
<div class="content-wrapper article a2z">{{ content }}</div>
</section>
<button class="mobile-quick-links" aria-controls="quicklinks-section" aria-haspopup="true" id="quicklinks-btn">VIEW QUICK LINKS</button>
<aside class="right-container quick-links out" id="quicklinks-section">
<div class="quick-link">
<a href="/a2z/" class="secondary">About the course</a>
<a href="a2z/" class="secondary">About the course</a>
</div>
<h3>Tutorials</h3>
<div class="quick-link">
<a href="/a2z/intro" class="secondary">Introduction - p5.js, JavaScript, and Strings</a>
<a href="a2z/intro" class="secondary">Introduction - p5.js, JavaScript, and Strings</a>
</div>
<div class="quick-link">
<a href="/a2z/regex" class="secondary">Regular Expressions</a>
<a href="a2z/regex" class="secondary">Regular Expressions</a>
</div>
<div class="quick-link">
<a href="/a2z/closures" class="secondary">Closures</a>
<a href="a2z/closures" class="secondary">Closures</a>
</div>
<div class="quick-link">
<a href="/a2z/data-apis" class="secondary">Libraries, Data, and APIs</a>
<a href="a2z/data-apis" class="secondary">Libraries, Data, and APIs</a>
</div>
<div class="quick-link">
<a href="/a2z/server-node" class="secondary">Server-side programming with node.js</a>
<a href="a2z/server-node" class="secondary">Server-side programming with node.js</a>
</div>
<div class="quick-link">
<a href="/a2z/twitter-bots" class="secondary">Twitter API and bots with node.js</a>
<a href="a2z/twitter-bots" class="secondary">Twitter API and bots with node.js</a>
</div>
<div class="quick-link">
<a href="/a2z/bot-ec2" class="secondary">Deploy Bot to Amazon EC2</a>
<a href="a2z/bot-ec2" class="secondary">Deploy Bot to Amazon EC2</a>
</div>
<div class="quick-link">
<a href="/a2z/bot-heroku" class="secondary">Deploy Bot to Heroku</a>
<a href="a2z/bot-heroku" class="secondary">Deploy Bot to Heroku</a>
</div>
<div class="quick-link">
<a href="/a2z/text-analysis" class="secondary">Text Analysis</a>
<a href="a2z/text-analysis" class="secondary">Text Analysis</a>
</div>
<div class="quick-link">
<a href="/a2z/markov" class="secondary">N-Grams and Markov Chains</a>
<a href="a2z/markov" class="secondary">N-Grams and Markov Chains</a>
</div>
<div class="quick-link">
<a href="/a2z/cfg" class="secondary">Context-Free Grammar</a>
<a href="a2z/cfg" class="secondary">Context-Free Grammar</a>
</div>
<div class="quick-link">
<a href="/a2z/node-api" class="secondary">Creating an API in Node</a>
<a href="a2z/node-api" class="secondary">Creating an API in Node</a>
</div>
<div class="quick-link">
<a href="/a2z/firebase" class="secondary">Database as Service: Firebase</a>
<a href="a2z/firebase" class="secondary">Database as Service: Firebase</a>
</div>
<div class="quick-link">
<a href="/a2z/chrome-ext" class="secondary">Chrome Extensions</a>
<a href="a2z/chrome-ext" class="secondary">Chrome Extensions</a>
</div>
</aside>
10 changes: 1 addition & 9 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
<!DOCTYPE html>
<html lang="en">

{% include head.html %}

<body>

{% include header.html %}

{{ content }}

{% include footer.html %}

{% include header.html %} {{ content }} {% include footer.html %}
</body>

</html>
10 changes: 1 addition & 9 deletions _layouts/home.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
<!DOCTYPE html>
<html lang="en">

{% include head.html %}

<body>

{% include home-header.html %}

{{ content }}

{% include footer.html %}

{% include home-header.html %} {{ content }} {% include footer.html %}
</body>

</html>
7 changes: 2 additions & 5 deletions _layouts/page.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
---
layout: default
---
<div class="post">

<div class="post">
<header class="post-header">
<h1 class="post-title">{{ page.title }}</h1>
</header>

<article class="post-content">
{{ content }}
</article>

<article class="post-content">{{ content }}</article>
</div>
23 changes: 10 additions & 13 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,26 @@
layout: default
---

<link rel="stylesheet" type="text/css" href="/css/prism.css">
<link rel="stylesheet" type="text/css" href="/css/highlight.css">
<link rel="stylesheet" type="text/css" href="css/prism.css" />
<link rel="stylesheet" type="text/css" href="css/highlight.css" />

<main class="left-container out blog">
<div class="content-wrapper article blog">

<span class="line-charm first"></span>
<p class="date">{{ page.date | date: "%b %d, %Y" }}</p>
<h1 class="no-btm">{{ page.title }}</h1>
{{ content }}

</div>
<div class="content-wrapper article blog">
<span class="line-charm first"></span>
<p class="date">{{ page.date | date: "%b %d, %Y" }}</p>
<h1 class="no-btm">{{ page.title }}</h1>
{{ content }}
</div>
</main>

<aside class="right-container quick-links out">
<h5>HIGHLIGHTED TUTORIALS</h5>

<div class="quick-link">
<a href="/p5/kinect/" class="secondary">Microsoft Kinect with Processing</a>
<a href="p5/kinect/" class="secondary">Microsoft Kinect with Processing</a>
</div>


<!-- <h5>LATEST POSTS</h5>
<!-- <h5>LATEST POSTS</h5>
{% for post in site.posts limit:25 %}
<div class="quick-link">
<a href="{{ post.url }}" class="secondary">{{ post.title }}</a>
Expand Down
52 changes: 33 additions & 19 deletions about.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,39 @@
---

<main class="left-container about out">
<div class="logo-set">
<h1>About Daniel Shiffman</h1>
</div>
<div class="content-wrapper article">
<br><br>
<img src="/images/shiffman_rainbow.png" class="img-responsive"/>
<p>Daniel Shiffman works as an Associate Arts Professor at the <a href="https://itp.nyu.edu/" target="_blank">Interactive Telecommunications Program</a> at NYU’s <a href="https://www.tisch.nyu.edu/page/home" target="_blank">Tisch School of the Arts</a>.
<p>Originally from Baltimore, Daniel received a BA in Mathematics and Philosophy from <a href="https://www.yale.edu/" target="_blank">Yale University</a> and a Master’s Degree from the <a href="http://itp.nyu.edu/" target="_blank">ITP</a>. He is a director of <a href="https://processingfoundation.org">The Processing Foundation</a> and develops tutorials, examples, and libraries for <a href="https://www.processing.org/" target="_blank">Processing</a> and <a href="https://p5js.org">p5.js</a>. He is the author of <a href="http://www.learningprocessing.com/">Learning Processing: A Beginner’s Guide to Programming Images, Animation, and Interaction</a> and <a href="http://natureofcode.com/">The Nature of Code</a> (self-published via Kickstarter), an open source book about simulating natural phenomenon in Processing. He can be found <a href="https://youtube.com/user/shiffman">talking incessantly on the YouTube</a> about programming.</p>


</div>
<div class="logo-set">
<h1>About Daniel Shiffman</h1>
</div>
<div class="content-wrapper article">
<br /><br />
<img src="/images/shiffman_rainbow.png" class="img-responsive" />
<p>
Daniel Shiffman works as an Associate Arts Professor at the
<a href="https://itp.nyu.edu/" target="_blank">Interactive Telecommunications Program</a> at NYU’s
<a href="https://www.tisch.nyu.edu/page/home" target="_blank">Tisch School of the Arts</a>.
</p>
<p>
Originally from Baltimore, Daniel received a BA in Mathematics and Philosophy from
<a href="https://www.yale.edu/" target="_blank">Yale University</a> and a Master’s Degree from the
<a href="http://itp.nyu.edu/" target="_blank">ITP</a>. He is a director of
<a href="https://processingfoundation.org">The Processing Foundation</a> and develops tutorials, examples, and libraries for
<a href="https://www.processing.org/" target="_blank">Processing</a> and <a href="https://p5js.org">p5.js</a>. He is the author of
<a href="http://www.learningprocessing.com/"
>Learning Processing: A Beginner’s Guide to Programming Images, Animation, and Interaction</a
>
and <a href="http://natureofcode.com/">The Nature of Code</a> (self-published via Kickstarter), an open source book about simulating
natural phenomenon in Processing. He can be found
<a href="https://youtube.com/user/shiffman">talking incessantly on the YouTube</a> about programming.
</p>
</div>
</main>
<button class="mobile-quick-links" aria-controls="quicklinks-section" aria-haspopup="true" id="quicklinks-btn"></button>
<button class="mobile-quick-links" aria-controls="quicklinks-section" aria-haspopup="true" id="quicklinks-btn"></button>
<aside class="right-container quick-links out" id="quicklinks-section">
<h3>QUICK LINKS</h3>
<div class="quick-link">
<a href="https://twitter.com/shiffman" target="_blank" class="secondary">Shiffman on Twitter</a>
</div>
<div class="quick-link">
<a href="https://github.com/shiffman" target="_blank" class="secondary">Shiffman on Github</a>
</div>
<h3>QUICK LINKS</h3>
<div class="quick-link">
<a href="https://twitter.com/shiffman" target="_blank" class="secondary">Shiffman on Twitter</a>
</div>
<div class="quick-link">
<a href="https://github.com/shiffman" target="_blank" class="secondary">Shiffman on Github</a>
</div>
</aside>

0 comments on commit 1d117d3

Please sign in to comment.