Commit 2a18d04e authored by John's avatar John

Site updated: 2018-04-30 01:06:16

parent e8f7a0cc
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<meta name="twitter:card" content="summary"> <meta name="twitter:card" content="summary">
<meta name="twitter:title" content="About Me"> <meta name="twitter:title" content="About Me">
<meta name="twitter:description" content="My name is John. I’m a Embedded Developer. Over the years I’ve dabbled in a lot of side projects. I have a deep interest in making IoT and…"> <meta name="twitter:description" content="My name is John. I’m a Embedded Developer. Over the years I’ve dabbled in a lot of side projects. I have a deep interest in making IoT and…">
<meta name="twitter:image" content="http://blog.thebestjohn.com/images/default.jpg"><link rel="icon" href="/images/icon.png"><link rel="alternate" href="/atom.xml" type="application/atom+xml" title="TheBestJohn"></head><body itemscope itemtype="https://schema.org/WebPage"><nav class="menu" id="menu"><div class="menu-inner"><div class="menu__left-area"><div class="menu__item"><a class="menu__item__link menu__item__link--brand" href="/" title="Home" rel="home"><img class="menu__item__link--brand__image" src="/images/icon.png" alt="TheBestJohn"><span class="menu__item__link--brand__label">TheBestJohn</span></a></div></div><div class="menu__right-area"><div class="menu__item"><a class="menu__item__link" href="http://blog.thebestjohn.com/">Home</a></div><div class="menu__item"><a class="menu__item__link" href="http://blog.thebestjohn.com/about">About</a></div><div class="menu__item"><a class="menu__item__link" href="http://blog.thebestjohn.com/archives">Archives</a></div></div></div></nav><div class="page-background"></div><div class="content-container"><div class="content-outer"><div class="content-inner" itemscope itemtype="https://schema.org/Blog"><article class="article" id="article" itemscope itemtype="https://schema.org/BlogPosting"><h1 class="article__title" itemprop="headline">About Me</h1><div class="article__meta"><time class="article__meta__time" datetime="2018-04-26T13:54:48.000Z" itemprop="datePublished">2018-04-26</time></div><hr><div class="article__contents"><p>My name is John. I’m a Embedded Developer. Over the years I’ve dabbled in a lot of side projects. I have a deep interest in making IoT and smart home systems, setting up offline backups of information/Digital archiving, and alternative network technologies.</p> <meta name="twitter:image" content="http://blog.thebestjohn.com/images/default.jpg"><link rel="icon" href="/images/icon.png"><link rel="alternate" href="/atom.xml" type="application/atom+xml" title="TheBestJohn"></head><body itemscope itemtype="https://schema.org/WebPage"><nav class="menu" id="menu"><div class="menu-inner"><div class="menu__left-area"><div class="menu__item"><a class="menu__item__link menu__item__link--brand" href="/" title="Home" rel="home"><img class="menu__item__link--brand__image" src="/images/icon.png" alt="TheBestJohn"><span class="menu__item__link--brand__label">TheBestJohn</span></a></div></div><div class="menu__right-area"><div class="menu__item"><a class="menu__item__link" href="http://blog.thebestjohn.com/">Home</a></div><div class="menu__item"><a class="menu__item__link" href="http://blog.thebestjohn.com/about">About</a></div><div class="menu__item"><a class="menu__item__link" href="http://blog.thebestjohn.com/archives">Archives</a></div></div></div></nav><div class="page-background"></div><div class="content-container"><div class="content-outer"><div class="content-inner" itemscope itemtype="https://schema.org/Blog"><article class="article" id="article" itemscope itemtype="https://schema.org/BlogPosting"><h1 class="article__title" itemprop="headline">About Me</h1><div class="article__meta"><time class="article__meta__time" datetime="2018-04-26T13:54:48.000Z" itemprop="datePublished">April 26th 2018</time></div><hr><div class="article__contents"><p>My name is John. I’m a Embedded Developer. Over the years I’ve dabbled in a lot of side projects. I have a deep interest in making IoT and smart home systems, setting up offline backups of information/Digital archiving, and alternative network technologies.</p>
<p>Contained within is my attempt to chronicle my efforts, share idea and projects, and at the end of the day, teach. I’ve always thought at some point I would like to teach. Lately I realized that there is no barrier to teaching other than what we impose on ourselves. I have a platform, It’s the internet. Please join me and feel free to ask some questions. I’d love to try to answer them, or at least point you in the right direction.</p> <p>Contained within is my attempt to chronicle my efforts, share idea and projects, and at the end of the day, teach. I’ve always thought at some point I would like to teach. Lately I realized that there is no barrier to teaching other than what we impose on ourselves. I have a platform, It’s the internet. Please join me and feel free to ask some questions. I’d love to try to answer them, or at least point you in the right direction.</p>
<p>–John</p> <p>–John</p>
</div><div class="article__author" itemscope itemprop="author" itemtype="https://schema.org/Person"><img class="article__author__image" src="/images/avatar.jpg" alt="TheBestJohn"><a class="article__author__link" title="About TheBestJohn" rel="author">TheBestJohn</a><p class="article__author__desc">Just a place to make stuff</p><div class="article__author__socials"><a class="article__author__socials__item" href="/atom.xml" title="rss" target="_blank"><i class="fa fa-rss"></i></a></div><meta itemprop="name" content="TheBestJohn"></div><div class="sharer" id="sharer"><div class="sharer-inner"><div class="sharer__right"><button class="sharer__item" id="sharer-facebook"><i class="fa fa-facebook-official"></i></button><button class="sharer__item" id="sharer-twitter"><i class="fa fa-twitter"></i></button><button class="sharer__item" id="sharer-pinterest"><i class="fa fa-pinterest"></i></button><button class="sharer__item" id="sharer-pocket"><i class="fa fa-get-pocket"></i></button></div></div></div><!-- Disqus Code--><div id="disqus_thread"></div><script>(function() { </div><div class="article__author" itemscope itemprop="author" itemtype="https://schema.org/Person"><img class="article__author__image" src="/images/avatar.jpg" alt="TheBestJohn"><a class="article__author__link" title="About TheBestJohn" rel="author">TheBestJohn</a><p class="article__author__desc">Just a place to make stuff</p><div class="article__author__socials"><a class="article__author__socials__item" href="/atom.xml" title="rss" target="_blank"><i class="fa fa-rss"></i></a></div><meta itemprop="name" content="TheBestJohn"></div><div class="sharer" id="sharer"><div class="sharer-inner"><div class="sharer__right"><button class="sharer__item" id="sharer-facebook"><i class="fa fa-facebook-official"></i></button><button class="sharer__item" id="sharer-twitter"><i class="fa fa-twitter"></i></button><button class="sharer__item" id="sharer-pinterest"><i class="fa fa-pinterest"></i></button><button class="sharer__item" id="sharer-pocket"><i class="fa fa-get-pocket"></i></button></div></div></div><!-- Disqus Code--><div id="disqus_thread"></div><script>(function() {
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<meta name="twitter:card" content="summary"> <meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Static Site what?!"> <meta name="twitter:title" content="Static Site what?!">
<meta name="twitter:description" content="Recently I’ve become disillusioned with most CMS options. They’re a pain to keep updated, plugins are constantly being abandoned, and…"> <meta name="twitter:description" content="Recently I’ve become disillusioned with most CMS options. They’re a pain to keep updated, plugins are constantly being abandoned, and…">
<meta name="twitter:image" content="http://blog.thebestjohn.com/images/default.jpg"><meta property="article:author" content="TheBestJohn"><meta property="twitter:label1" content="Published at"><meta property="twitter:data1" content="2018-04-27 17:40:00"><meta property="twitter:label2" content="Written by"><meta property="twitter:data2" content="TheBestJohn"><link rel="icon" href="/images/icon.png"><link rel="alternate" href="/atom.xml" type="application/atom+xml" title="TheBestJohn"></head><body itemscope itemtype="https://schema.org/WebPage"><nav class="menu" id="menu"><div class="menu-inner"><div class="menu__left-area"><div class="menu__item"><a class="menu__item__link menu__item__link--brand" href="/" title="Home" rel="home"><img class="menu__item__link--brand__image" src="/images/icon.png" alt="TheBestJohn"><span class="menu__item__link--brand__label">TheBestJohn</span></a></div></div><div class="menu__right-area"><div class="menu__item"><a class="menu__item__link" href="http://blog.thebestjohn.com/">Home</a></div><div class="menu__item"><a class="menu__item__link" href="http://blog.thebestjohn.com/about">About</a></div><div class="menu__item"><a class="menu__item__link" href="http://blog.thebestjohn.com/archives">Archives</a></div></div></div></nav><div class="page-background"></div><div class="content-container"><div class="content-outer"><div class="content-inner" itemscope itemtype="https://schema.org/Blog"><article class="article" id="article" itemscope itemtype="https://schema.org/BlogPosting"><h1 class="article__title" itemprop="headline">Static Site what?!</h1><div class="article__meta"><time class="article__meta__time" datetime="2018-04-27T17:40:00.000Z" itemprop="datePublished">2018-04-27</time><div class="article__meta__categories"><a class="article__meta__categories__item" href="/categories/Web-Dev/">Web Dev</a></div></div><hr><div class="article__contents"><p>Recently I’ve become disillusioned with most CMS options. They’re a pain to keep updated, plugins are constantly being abandoned, and they’re so prevalent in sites that they make a very attractive target for exploitation. In fact the first time I lost control of my server it was because of a bug in a themes use of timthumb.php. Basically, the attacker sent it an “image” file from a hosting website that had a php eval script hidden in it’s data. When accessed normally it showed an image but if they accessed the cached file that timthumb made, then the server treated it as a php file. From there they were able to install a remote shell, and own my server.</p> <meta name="twitter:image" content="http://blog.thebestjohn.com/images/default.jpg"><meta property="article:author" content="TheBestJohn"><meta property="twitter:label1" content="Published at"><meta property="twitter:data1" content="2018-04-27 17:40:00"><meta property="twitter:label2" content="Written by"><meta property="twitter:data2" content="TheBestJohn"><link rel="icon" href="/images/icon.png"><link rel="alternate" href="/atom.xml" type="application/atom+xml" title="TheBestJohn"></head><body itemscope itemtype="https://schema.org/WebPage"><nav class="menu" id="menu"><div class="menu-inner"><div class="menu__left-area"><div class="menu__item"><a class="menu__item__link menu__item__link--brand" href="/" title="Home" rel="home"><img class="menu__item__link--brand__image" src="/images/icon.png" alt="TheBestJohn"><span class="menu__item__link--brand__label">TheBestJohn</span></a></div></div><div class="menu__right-area"><div class="menu__item"><a class="menu__item__link" href="http://blog.thebestjohn.com/">Home</a></div><div class="menu__item"><a class="menu__item__link" href="http://blog.thebestjohn.com/about">About</a></div><div class="menu__item"><a class="menu__item__link" href="http://blog.thebestjohn.com/archives">Archives</a></div></div></div></nav><div class="page-background"></div><div class="content-container"><div class="content-outer"><div class="content-inner" itemscope itemtype="https://schema.org/Blog"><article class="article" id="article" itemscope itemtype="https://schema.org/BlogPosting"><h1 class="article__title" itemprop="headline">Static Site what?!</h1><div class="article__meta"><time class="article__meta__time" datetime="2018-04-27T17:40:00.000Z" itemprop="datePublished">April 27th 2018</time><div class="article__meta__categories"><a class="article__meta__categories__item" href="/categories/Web-Dev/">Web Dev</a></div></div><hr><div class="article__contents"><p>Recently I’ve become disillusioned with most CMS options. They’re a pain to keep updated, plugins are constantly being abandoned, and they’re so prevalent in sites that they make a very attractive target for exploitation. In fact the first time I lost control of my server it was because of a bug in a themes use of timthumb.php. Basically, the attacker sent it an “image” file from a hosting website that had a php eval script hidden in it’s data. When accessed normally it showed an image but if they accessed the cached file that timthumb made, then the server treated it as a php file. From there they were able to install a remote shell, and own my server.</p>
<h3 id="Static-site-generators"><a href="#Static-site-generators" class="headerlink" title="Static site generators"></a>Static site generators</h3><p>While the timthumb exploit was a pain in the ass, it was very interesting to me and made me seriously consider how I secure my systems. To that end I started reading into static site generators. Static site generators take your posts, usually formatted in some sort of markup, put them through a templating engine that outputs <code>.html</code> files, which you can then serve via the usual methods.</p> <h3 id="Static-site-generators"><a href="#Static-site-generators" class="headerlink" title="Static site generators"></a>Static site generators</h3><p>While the timthumb exploit was a pain in the ass, it was very interesting to me and made me seriously consider how I secure my systems. To that end I started reading into static site generators. Static site generators take your posts, usually formatted in some sort of markup, put them through a templating engine that outputs <code>.html</code> files, which you can then serve via the usual methods.</p>
<h3 id="Why-tho"><a href="#Why-tho" class="headerlink" title="Why tho?"></a>Why tho?</h3><p>The idea is that <em>most</em> sites don’t actually need to use dynamic code. Their content is, for the most, part static. Users aren’t interacting with the content (other than the comments sections and forms but we’ll talk about that later). They are, instead, just reading it. The only person who seems to be interacting with it is the person that owns the site. Even then, the owner isn’t actively interacting. They are writing a post, or updating a page. After that, everything stays the same.</p> <h3 id="Why-tho"><a href="#Why-tho" class="headerlink" title="Why tho?"></a>Why tho?</h3><p>The idea is that <em>most</em> sites don’t actually need to use dynamic code. Their content is, for the most, part static. Users aren’t interacting with the content (other than the comments sections and forms but we’ll talk about that later). They are, instead, just reading it. The only person who seems to be interacting with it is the person that owns the site. Even then, the owner isn’t actively interacting. They are writing a post, or updating a page. After that, everything stays the same.</p>
<p>All this is a “face-value” reason to move over to a static site. I have an even deeper reason for wanting to use a static site, portability. Static sites allow you to use a generic format for your posts. I write all my posts in markdown, a very common and widely used format. With this I can move from generator to generator without much change. If I were to make my blog in something like Wordpress, my post information would be locked into a <em>very</em> specific database format. If I, for some reason or another, decided I no longer wanted to use wordpress it would be a lot of work modifying all my posts to be compatible with the new platform.</p> <p>All this is a “face-value” reason to move over to a static site. I have an even deeper reason for wanting to use a static site, portability. Static sites allow you to use a generic format for your posts. I write all my posts in markdown, a very common and widely used format. With this I can move from generator to generator without much change. If I were to make my blog in something like Wordpress, my post information would be locked into a <em>very</em> specific database format. If I, for some reason or another, decided I no longer wanted to use wordpress it would be a lot of work modifying all my posts to be compatible with the new platform.</p>
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<meta name="twitter:card" content="summary"> <meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Table based design: Why I loathe it, and you should too!"> <meta name="twitter:title" content="Table based design: Why I loathe it, and you should too!">
<meta name="twitter:description" content="If there is one thing that grinds my gears it’s table based design and the “web development” companies that continue to use it. Web…"> <meta name="twitter:description" content="If there is one thing that grinds my gears it’s table based design and the “web development” companies that continue to use it. Web…">
<meta name="twitter:image" content="http://blog.thebestjohn.com/images/default.jpg"><meta property="article:author" content="TheBestJohn"><meta property="twitter:label1" content="Published at"><meta property="twitter:data1" content="2012-08-09 00:00:00"><meta property="twitter:label2" content="Written by"><meta property="twitter:data2" content="TheBestJohn"><link rel="icon" href="/images/icon.png"><link rel="alternate" href="/atom.xml" type="application/atom+xml" title="TheBestJohn"></head><body itemscope itemtype="https://schema.org/WebPage"><nav class="menu" id="menu"><div class="menu-inner"><div class="menu__left-area"><div class="menu__item"><a class="menu__item__link menu__item__link--brand" href="/" title="Home" rel="home"><img class="menu__item__link--brand__image" src="/images/icon.png" alt="TheBestJohn"><span class="menu__item__link--brand__label">TheBestJohn</span></a></div></div><div class="menu__right-area"><div class="menu__item"><a class="menu__item__link" href="http://blog.thebestjohn.com/">Home</a></div><div class="menu__item"><a class="menu__item__link" href="http://blog.thebestjohn.com/about">About</a></div><div class="menu__item"><a class="menu__item__link" href="http://blog.thebestjohn.com/archives">Archives</a></div></div></div></nav><div class="page-background"></div><div class="content-container"><div class="content-outer"><div class="content-inner" itemscope itemtype="https://schema.org/Blog"><article class="article" id="article" itemscope itemtype="https://schema.org/BlogPosting"><h1 class="article__title" itemprop="headline">Table based design: Why I loathe it, and you should too!</h1><div class="article__meta"><time class="article__meta__time" datetime="2012-08-09T00:00:00.000Z" itemprop="datePublished">2012-08-09</time><div class="article__meta__categories"><a class="article__meta__categories__item" href="/categories/Web-Dev/">Web Dev</a></div></div><hr><div class="article__contents"><p>If there is one thing that grinds my gears it’s table based design and the “web development” companies that continue to use it.</p> <meta name="twitter:image" content="http://blog.thebestjohn.com/images/default.jpg"><meta property="article:author" content="TheBestJohn"><meta property="twitter:label1" content="Published at"><meta property="twitter:data1" content="2012-08-09 00:00:00"><meta property="twitter:label2" content="Written by"><meta property="twitter:data2" content="TheBestJohn"><link rel="icon" href="/images/icon.png"><link rel="alternate" href="/atom.xml" type="application/atom+xml" title="TheBestJohn"></head><body itemscope itemtype="https://schema.org/WebPage"><nav class="menu" id="menu"><div class="menu-inner"><div class="menu__left-area"><div class="menu__item"><a class="menu__item__link menu__item__link--brand" href="/" title="Home" rel="home"><img class="menu__item__link--brand__image" src="/images/icon.png" alt="TheBestJohn"><span class="menu__item__link--brand__label">TheBestJohn</span></a></div></div><div class="menu__right-area"><div class="menu__item"><a class="menu__item__link" href="http://blog.thebestjohn.com/">Home</a></div><div class="menu__item"><a class="menu__item__link" href="http://blog.thebestjohn.com/about">About</a></div><div class="menu__item"><a class="menu__item__link" href="http://blog.thebestjohn.com/archives">Archives</a></div></div></div></nav><div class="page-background"></div><div class="content-container"><div class="content-outer"><div class="content-inner" itemscope itemtype="https://schema.org/Blog"><article class="article" id="article" itemscope itemtype="https://schema.org/BlogPosting"><h1 class="article__title" itemprop="headline">Table based design: Why I loathe it, and you should too!</h1><div class="article__meta"><time class="article__meta__time" datetime="2012-08-09T00:00:00.000Z" itemprop="datePublished">August 9th 2012</time><div class="article__meta__categories"><a class="article__meta__categories__item" href="/categories/Web-Dev/">Web Dev</a></div></div><hr><div class="article__contents"><p>If there is one thing that grinds my gears it’s table based design and the “web development” companies that continue to use it.</p>
<p>Web development is one heck of an industry. It changes, transforms, and adapts. I feel that in order for you to call yourself a web developer, or your company a web development company you need to develop with the web.</p> <p>Web development is one heck of an industry. It changes, transforms, and adapts. I feel that in order for you to call yourself a web developer, or your company a web development company you need to develop with the web.</p>
<p>Development as defined by dictionary.com is: the act or process of developing; growth; progress: child development; economic development.</p> <p>Development as defined by dictionary.com is: the act or process of developing; growth; progress: child development; economic development.</p>
<p>Growth, progress! Our job as web developers is to promote growth and progress of the web. We must adapt as the web adapts. When a “web development” agency provides it’s clients with old, outdated, un-accessible, table-based, web development they are not only stifling the growth of the internet they are literally taking money out of business’ pockets.</p> <p>Growth, progress! Our job as web developers is to promote growth and progress of the web. We must adapt as the web adapts. When a “web development” agency provides it’s clients with old, outdated, un-accessible, table-based, web development they are not only stifling the growth of the internet they are literally taking money out of business’ pockets.</p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment