<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.7.4">Jekyll</generator><link href="https://pulamusic.github.io/Moon/Moon/feed.xml" rel="self" type="application/atom+xml" /><link href="https://pulamusic.github.io/Moon/Moon/" rel="alternate" type="text/html" /><updated>2018-11-29T20:20:08+00:00</updated><id>https://pulamusic.github.io/Moon/Moon/feed.xml</id><title type="html">moonBlog</title><subtitle>This is a test site using Taylan Tatli's Moon theme</subtitle><entry><title type="html">more JavaScript algorithms</title><link href="https://pulamusic.github.io/Moon/Moon/more-javascript-algorithms/" rel="alternate" type="text/html" title="more JavaScript algorithms" /><published>2018-11-29T15:14:00+00:00</published><updated>2018-11-29T15:14:00+00:00</updated><id>https://pulamusic.github.io/Moon/Moon/more-javascript-algorithms</id><content type="html" xml:base="https://pulamusic.github.io/Moon/Moon/more-javascript-algorithms/">&lt;h2 id=&quot;i-have-posted-this-info-on-my-freewriting-blog-but-i-thought-i-might-put-it-here-as-well-please-pardon-the-copy-and-paste-laziness-involved-in-doing-this-but-the-original-post-represents-quite-a-bit-of-work&quot;&gt;I have posted this info on my freewriting blog, but I thought I might put it here as well. Please pardon the copy-and-paste laziness involved in doing this, but the original post represents quite a bit of work.&lt;/h2&gt;
&lt;p&gt;Here is another list of JavaScript algorithms I have coded out on Repl.it, all taken from the &lt;a href=&quot;https://learn.freecodecamp.org/&quot;&gt;freeCodeCamp curriculum&lt;/a&gt;. Each of these algorithms is a discrete problem that can be solved in a number of ways using any of a number of programming languages. In my case, I have put a bunch of effort into learning JavaScript since it is the so-called “language of the internet.” At some point it may be worth my while to re-do these algorithms in either Python or C - they really aren’t specific to any one language.&lt;/p&gt;

&lt;p&gt;In any event, here they are to look at, consider, re-factor, and re-do. Almost all of the algorithm files include a detailed description of the requirements, and this is why I haven’t written a description of each algorithm in this blog post.&lt;/p&gt;

&lt;h4 id=&quot;basic-algorithms&quot;&gt;Basic Algorithms&lt;/h4&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/celsiusToFahrenheit?language=javascript&quot;&gt;Convert Celsius to Fahrenheit&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/reverseString?language=javascript&quot;&gt;Reverse a String&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/factorializeNumber?language=javascript&quot;&gt;Factorialize a Number&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/longestWord&quot;&gt;Find the Longest Word in a String&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/largestNumbersInArrays&quot;&gt;Return Largest Numbers in Arrays&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/confirmEnding&quot;&gt;Confirm the Ending&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/repeatAString?language=javascript&quot;&gt;Repeat a String Repeat a String&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/truncateString&quot;&gt;Truncate a String&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/findersKeepers&quot;&gt;Finders Keepers&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/booWho&quot;&gt;Boo who&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/titleCaseSentence&quot;&gt;Title Case a Sentence&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/sliceAndSplice&quot;&gt;Slice and Splice&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/falsyBouncer&quot;&gt;Falsy Bouncer&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/whereDoIBelong&quot;&gt;Where do I Belong&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/mutations&quot;&gt;Mutations&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/chunkyMonkey&quot;&gt;Chunky Monkey&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&quot;intermediate-algorithms&quot;&gt;Intermediate Algorithms&lt;/h4&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/sumAllInRange&quot;&gt;Sum All Numbers in a Range&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/diffTwoArrays&quot;&gt;Diff Two Arrays&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/seekAndDestroy&quot;&gt;Seek and Destroy&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/whereforeArtThou&quot;&gt;Wherefore art thou&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/spinalTapCase&quot;&gt;Spinal Tap Case&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/pigLatin&quot;&gt;Pig Latin&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/searchAndReplace&quot;&gt;Search and Replace&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/DNAPairing&quot;&gt;DNA Pairing&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/missingLetters&quot;&gt;Missing letters&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/sortedUnion&quot;&gt;Sorted Union&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/convertHTMLEntities&quot;&gt;Convert HTML Entities&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/sumOddFibonacci&quot;&gt;Sum All Odd Fibonacci Numbers&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/sumAllPrimes&quot;&gt;Sum All Primes&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/smallestCommonMultiple&quot;&gt;Smallest Common Multiple&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/dropIt&quot;&gt;Drop it&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/steamroller&quot;&gt;Steamroller&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/binaryAgents&quot;&gt;Binary Agents&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/everythingBeTrue&quot;&gt;Everything Be True&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/argumentsOptional&quot;&gt;Arguments Optional&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/makeAPerson&quot;&gt;Make a Person&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/mapTheDebris&quot;&gt;Map the Debris&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&quot;algorithm-projects&quot;&gt;Algorithm projects&lt;/h4&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/palindrome&quot;&gt;Palindrome Checker&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/romanNumeralConverter&quot;&gt;Roman Numeral Converter&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/caesarCipher2&quot;&gt;Caesars Cipher&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/telephoneNumberValidator&quot;&gt;Telephone Number Validator&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/cashRegister&quot;&gt;Cash Register&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content><author><name></name></author><category term="coding" /><summary type="html">More JavaScript algorithms to ponder.</summary></entry><entry><title type="html">organizing my notes on coding</title><link href="https://pulamusic.github.io/Moon/Moon/organizing-coding-notes/" rel="alternate" type="text/html" title="organizing my notes on coding" /><published>2018-03-04T15:02:00+00:00</published><updated>2018-03-04T15:02:00+00:00</updated><id>https://pulamusic.github.io/Moon/Moon/organizing-coding-notes</id><content type="html" xml:base="https://pulamusic.github.io/Moon/Moon/organizing-coding-notes/">&lt;p&gt;I’ve been working for the past few days to reorganize all my notes on various coding tutorials, creating &lt;code class=&quot;highlighter-rouge&quot;&gt;README&lt;/code&gt; files and making sure all the repositories are up and running. Let me list and link all the repos here so I have a central listing of all the code and coding notes I have written.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/pulamusic/advanced-css-course&quot;&gt;Advanced CSS Course&lt;/a&gt;: A forked repo associated with a Udemy course on advanced CSS.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/pulamusic/Airspace&quot;&gt;Airspace - a tutorial project&lt;/a&gt;: A project for a &lt;a href=&quot;https://www.udemy.com/static-website-generator-fast-secure-sites-blogs-with-jekyll/learn/v4/overview&quot;&gt;Udemy tutorial on Jekyll development&lt;/a&gt;. Deployed to &lt;a href=&quot;https://pulamusic.github.io/Airspace/&quot;&gt;GitHub Pages&lt;/a&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/pulamusic/skill-sample-nodejs-howto&quot;&gt;Alexa Skills Development&lt;/a&gt;: A tutorial from the Alexa development team on how to create Alexa skills.
    &lt;ul&gt;
      &lt;li&gt;I’vs also been working on a &lt;a href=&quot;https://www.udemy.com/comprehensive-alexa-skill-development-course/learn/v4/overview&quot;&gt;Udemy tutorial regarding Alexa skills development&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/pulamusic/javascriptPractice/tree/master/Algorithms&quot;&gt;Algorithms&lt;/a&gt;: A bunch of JavaScript algorithms that are often used as technical questions for web development job interviews.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/pulamusic/bootstrapProjects&quot;&gt;Bootstrap 4&lt;/a&gt;: I haven’t gotten far with this particular &lt;a href=&quot;https://www.udemy.com/bootstrap-4-beta-ultimate-projects-course/learn/v4/overview&quot;&gt;Udemy tutorial&lt;/a&gt;, but I will get back to it when I can.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/pulamusic/codingInterviewQuestions&quot;&gt;Coding Interview Questions&lt;/a&gt;: A bunch of algorithms and coding interview questions for practice.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;&quot;&gt;CoffeeShop - a tutorial project&lt;/a&gt;: &lt;strong&gt;NOTE&lt;/strong&gt; - this project has not been uploaded to GitHub. Yet.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/pulamusic/javascriptPractice/tree/master/completeJavaScriptCourse&quot;&gt;Complete JavaScript Course&lt;/a&gt;: Notes and files for a &lt;a href=&quot;https://www.udemy.com/the-complete-javascript-course/learn/v4/overview&quot;&gt;Udemy tutorial on JavaScript&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/pulamusic/webDevelProjects&quot;&gt;Complete Web Developer in 2018 - From Zero to Mastery&lt;/a&gt;: This is a catch-all course that has me ranging into React development as well as AJAX and Node.js.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/pulamusic/travel-site&quot;&gt;Git a Web Development Job&lt;/a&gt;: &lt;strong&gt;NOTE&lt;/strong&gt; - These notes and files are associated with the one major project having to do with a Udemy tutorial on modern web development. It has also been &lt;a href=&quot;https://pulamusic.github.io/travel-site/&quot;&gt;deployed to GitHub Pages&lt;/a&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/pulamusic/gulpProjects&quot;&gt;Gulp Projects&lt;/a&gt;: Notes and files related to a Udemy tutorial on using Gulp as a development tool.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;&quot;&gt;JavaScript &amp;amp; jQuery Projects&lt;/a&gt;: &lt;strong&gt;NOTE&lt;/strong&gt; - These files have not been pushed to GitHub. Yet.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/pulamusic/jQueryPractice&quot;&gt;jQuery practice&lt;/a&gt;: Notes and files associated with a Udemy tutorial on jQuery.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/pulamusic/modernJavascriptDevel&quot;&gt;Modern JavaScript Development&lt;/a&gt;: A project-based tutorial on modern JavaScript development.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/pulamusic/modernJavascriptToday&quot;&gt;Modern JavaScript Today&lt;/a&gt;: A tutorial on writing JavaScript using modern tools.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/pulamusic/Natours&quot;&gt;Natours - a tutorial project&lt;/a&gt;: This project is related to the advanced CSS course listed above. It is in a separate repository so I can &lt;a href=&quot;https://pulamusic.github.io/Natours/&quot;&gt;deploy it with GitHub Pages&lt;/a&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/pulamusic/newsworthy&quot;&gt;Newsworthy - a tutorial project&lt;/a&gt;: These files are associated with a Codecademy tutorial on JavaScript development. It has also been &lt;a href=&quot;https://pulamusic.github.io/newsworthy/&quot;&gt;deployed to GitHub Pages&lt;/a&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;&quot;&gt;Wordpress Development&lt;/a&gt;: &lt;strong&gt;NOTE&lt;/strong&gt; - These notes and files have not yet been uploaded to GitHub Pages.&lt;/li&gt;
&lt;/ul&gt;</content><author><name></name></author><category term="coding" /><summary type="html">Organizing my coding notes into one central place.</summary></entry><entry><title type="html">notes for coding interviews</title><link href="https://pulamusic.github.io/Moon/Moon/coding-interviews/" rel="alternate" type="text/html" title="notes for coding interviews" /><published>2018-02-24T13:52:00+00:00</published><updated>2018-02-24T13:52:00+00:00</updated><id>https://pulamusic.github.io/Moon/Moon/coding-interviews</id><content type="html" xml:base="https://pulamusic.github.io/Moon/Moon/coding-interviews/">&lt;p&gt;I thought I might as well blog this. These are notes for a Udemy course titled &lt;a href=&quot;https://www.udemy.com/javascript-interview-prep/learn/v4/content&quot;&gt;JavaScript Interview Prep&lt;/a&gt;. The answers below are coded out on the Repl.it and Codepen websites. I have added hyperlinks to each of the code examples.&lt;/p&gt;

&lt;p&gt;Also check out the following resources for practice algorithms: &lt;a href=&quot;https://thatjsdude.com/interview/js1.html&quot;&gt;JS: Interview Algorithm&lt;/a&gt;; &lt;a href=&quot;https://www.udemy.com/learning-algorithms-in-javascript-from-scratch/learn/v4/overview&quot;&gt;Learning Algorithms in Javascript From Scratch&lt;/a&gt;; &lt;a href=&quot;https://coderbyte.com/challenges&quot;&gt;Coderbyte challenges&lt;/a&gt;; &lt;a href=&quot;http://khan4019.github.io/front-end-Interview-Questions/sort.html&quot;&gt;Khan Academy JS interview questions&lt;/a&gt;; &lt;a href=&quot;https://github.com/pulamusic/tech-interview-handbook&quot;&gt;Tech Interview Handbook&lt;/a&gt;; etc. Also check out &lt;a href=&quot;https://www.freecodecamp.org&quot;&gt;freeCodeCamp.org&lt;/a&gt; for a whole bunch of algorithm challenges, or for a &lt;a href=&quot;https://guide.freecodecamp.org/algorithms/&quot;&gt;pretty good overview of algorithms in computer science&lt;/a&gt;.&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/tripleAddFunction&quot;&gt;Triple Add Function&lt;/a&gt;: tripleAdd(10)(20)(30) // returns total of all 3 numbers added together&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/exampleIIFE&quot;&gt;What is an IIFE, and why are they used?&lt;/a&gt;: Immediately invoked function expression. It declares a function and then calls it immediately. Used to take advantage of the local scope of variables inside the function. Example in Repl.it&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://codepen.io/pulamusic/pen/YeYvVp?editors=1010&quot;&gt;Source code guessing&lt;/a&gt;: Given some source code, guess what will happen when the various buttons are pushed.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/closures&quot;&gt;Closures&lt;/a&gt;: What is a closure? Code out an example of a closure. &lt;em&gt;My Answer&lt;/em&gt;: a closure defines a function in a specific scope so that it explicitly has access to that scope. &lt;em&gt;Instructor’s Answer&lt;/em&gt;: A closure is an inner function that has access to the scope of an enclosed function.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/thisKeyword&quot;&gt;‘This’ keyword&lt;/a&gt;: What is the ‘this’ keyword in JavaScript, and how is it used? &lt;em&gt;My Answer&lt;/em&gt;: The ‘this’ keyword relates to functions that are properties of objects.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/hoisting&quot;&gt;Hoisting&lt;/a&gt;: Describe what variable and function hoisting is and how it works. &lt;em&gt;Answer&lt;/em&gt;: Variables and functions are hoisted to the top of the scope in which they are declared. Essentially, you can’t call or log out a variable or function before it is defined. Also, bear in mind that &lt;code class=&quot;highlighter-rouge&quot;&gt;let&lt;/code&gt; and &lt;code class=&quot;highlighter-rouge&quot;&gt;const&lt;/code&gt; are block scoped, not function or global scoped.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/scopeAndSelf&quot;&gt;Scope and ‘self’ question&lt;/a&gt;: Look at the given code and guess at what is logged out to the console. &lt;em&gt;NOTE&lt;/em&gt;: The code explains it all.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/vs&quot;&gt;== vs ===&lt;/a&gt;: What is the difference between &lt;code class=&quot;highlighter-rouge&quot;&gt;==&lt;/code&gt; and &lt;code class=&quot;highlighter-rouge&quot;&gt;===&lt;/code&gt;? &lt;em&gt;Answer&lt;/em&gt;: &lt;code class=&quot;highlighter-rouge&quot;&gt;==&lt;/code&gt; stands for ‘equals’ and tests for abstract equality (doesn’t test for data type), whereas &lt;code class=&quot;highlighter-rouge&quot;&gt;===&lt;/code&gt; stands for ‘strict equals’ and tests for strict equality (tests for data type).&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/logNumberFunction&quot;&gt;Log number function&lt;/a&gt;: Look at the given source code and determine what will be logged to the console. &lt;em&gt;Answer&lt;/em&gt;: It logs as undefined, probably because of the keyword &lt;code class=&quot;highlighter-rouge&quot;&gt;var&lt;/code&gt; being used twice. The second &lt;code class=&quot;highlighter-rouge&quot;&gt;var&lt;/code&gt; is function scoped, so &lt;code class=&quot;highlighter-rouge&quot;&gt;var num&lt;/code&gt; is hoisted to the top of the function, but not defined until after the &lt;code class=&quot;highlighter-rouge&quot;&gt;console.log&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/useStrict&quot;&gt;Use strict&lt;/a&gt;: What does &lt;code class=&quot;highlighter-rouge&quot;&gt;use strict&lt;/code&gt; do to code, and what are the benefits of using it? &lt;em&gt;Answer&lt;/em&gt;: Enforces stricter parsing and error handling in the code. It prevents the use of global variables; enforces that all function parameters must be unique; prevents deleting Object properties that are important. Essentially, &lt;code class=&quot;highlighter-rouge&quot;&gt;use strict&lt;/code&gt; throws errors when we do bad stuff with our code, informing us early of errors that could throw off our code later.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/curryFunction&quot;&gt;Curry function&lt;/a&gt;: Given some starter code, curry the function. &lt;em&gt;Answer&lt;/em&gt;: Function with multiple parameters should be re-written as multiple, embedded functions with one parameter each.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/counterFunction&quot;&gt;Counter function&lt;/a&gt;: Write a function that keeps track of how many times it was called and returns the number. &lt;em&gt;Answer in the code&lt;/em&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/loggingXAndY&quot;&gt;Logging X and Y&lt;/a&gt;: Looking at the example code, what are the values of &lt;code class=&quot;highlighter-rouge&quot;&gt;X&lt;/code&gt; and &lt;code class=&quot;highlighter-rouge&quot;&gt;Y&lt;/code&gt; when they are logged out? &lt;em&gt;Answer is in the code example&lt;/em&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/callAndApplyMethods&quot;&gt;Call &amp;amp; apply methods&lt;/a&gt;: Describe the JavaScript &lt;code class=&quot;highlighter-rouge&quot;&gt;call()&lt;/code&gt; and &lt;code class=&quot;highlighter-rouge&quot;&gt;apply()&lt;/code&gt; methods. How do they function? What arguments do they take? How are they different? &lt;em&gt;Answers&lt;/em&gt;: Both are predefined JavaScript methods. The &lt;code class=&quot;highlighter-rouge&quot;&gt;call()&lt;/code&gt; method can be used to call a function with an object as an argument. The &lt;code class=&quot;highlighter-rouge&quot;&gt;apply()&lt;/code&gt; method is similar, but it takes an array as an argument.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/list2&quot;&gt;Determine ‘list2’&lt;/a&gt;: Look at example code, and determine what &lt;code class=&quot;highlighter-rouge&quot;&gt;list2&lt;/code&gt; will contain when it is logged to the console. Then, determine how &lt;code class=&quot;highlighter-rouge&quot;&gt;list2&lt;/code&gt; can refer to &lt;code class=&quot;highlighter-rouge&quot;&gt;list1&lt;/code&gt; without the extra elements added by the &lt;code class=&quot;highlighter-rouge&quot;&gt;push()&lt;/code&gt; method.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/singleAndDoubleInvokedFunctions&quot;&gt;Singly and doubly invoked functions&lt;/a&gt;: create a function (see source code) that can be either singly invoked or doubly invoked. &lt;em&gt;Answer in the code&lt;/em&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/JSONdata&quot;&gt;JSON data&lt;/a&gt;: Describe what JSON format is. Given source code, delete the data types not permitted in JSON, and replace placeholder text with the corresponding data type, properly formatted as JSON. &lt;em&gt;Answer in the code&lt;/em&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/orderLoggedOut&quot;&gt;Order logged out&lt;/a&gt;: Given source code, determine in what order the numbers 1, 2, 3, 4 will be logged. &lt;em&gt;Answer in the code&lt;/em&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/makingAnObject&quot;&gt;Making an object&lt;/a&gt;: List and describe three different ways of making an object. &lt;em&gt;Answer in the code&lt;/em&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/constructorFunctions&quot;&gt;Constructor functions&lt;/a&gt;: This isn’t a separate question, but, rather, a continuation of notes from the last question. Check it out.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/typeOfDataTypes&quot;&gt;Type of data types&lt;/a&gt;: Given some source code, determine what will be logged out for each &lt;code class=&quot;highlighter-rouge&quot;&gt;console.log&lt;/code&gt; statement. &lt;em&gt;Answer in the code&lt;/em&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/bindMethod&quot;&gt;Bind method&lt;/a&gt;: Describe the &lt;code class=&quot;highlighter-rouge&quot;&gt;bind()&lt;/code&gt; function method. How does it work? What parameters does it take? Code out an example of how it is used. &lt;em&gt;Answers&lt;/em&gt;: From &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind&quot;&gt;MDN&lt;/a&gt;, “The &lt;code class=&quot;highlighter-rouge&quot;&gt;bind()&lt;/code&gt; method creates a new function that, when called, has its &lt;code class=&quot;highlighter-rouge&quot;&gt;this&lt;/code&gt; keyword set to the provided value, with a given sequence of arguments preceding any provided when the new function is called.” &lt;em&gt;See code example&lt;/em&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/twoObjects&quot;&gt;Two Objects&lt;/a&gt;: Given source code, determine what is logged out at the bottom. &lt;em&gt;Answer in the code&lt;/em&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/arrayConstructor&quot;&gt;Array constructor&lt;/a&gt;: Given source code, determine what is logged out for each of the constructor statements. &lt;em&gt;Answer in the code&lt;/em&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/arrayIndexOf&quot;&gt;Array indexOf&lt;/a&gt;: Given source code which uses the &lt;code class=&quot;highlighter-rouge&quot;&gt;indexOf()&lt;/code&gt; function, determine what will be logged out to the screen for each &lt;code class=&quot;highlighter-rouge&quot;&gt;console.log()&lt;/code&gt;. &lt;em&gt;Answers in the code&lt;/em&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/equivalentNumbers&quot;&gt;Equivalent numbers&lt;/a&gt;: Given source code, determine what will be logged out to the console. &lt;em&gt;Answer in the code&lt;/em&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/objectsAndStrings&quot;&gt;Objects and strings&lt;/a&gt;: Given source code, determine what is logged out. &lt;em&gt;Answer in the code&lt;/em&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/stringsAndArrays&quot;&gt;Strings and arrays&lt;/a&gt;: Given source code, determine what will be logged out at the bottom. &lt;em&gt;Answers in the code&lt;/em&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/objectProperties&quot;&gt;Object properties&lt;/a&gt;: &lt;strong&gt;Note that this is a very common interview question&lt;/strong&gt;. Given source code, determine what will be logged out at the bottom. &lt;em&gt;Answers in the code&lt;/em&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/XandY&quot;&gt;X and Y&lt;/a&gt;: Given source code, determine what will be logged out at the bottom. &lt;em&gt;Answers in the code&lt;/em&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://repl.it/@jgCarroll/withdrawFromAccount&quot;&gt;Withdraw from account&lt;/a&gt;: Given source code, determine what will be logged out at the bottom. &lt;em&gt;Answers in the code&lt;/em&gt;.&lt;/li&gt;
&lt;/ol&gt;</content><author><name></name></author><category term="coding" /><category term="algorithms" /><summary type="html">Notes from a Udemy tutorial on preparing for coding interviews.</summary></entry><entry><title type="html">a video on coding a Jekyll site</title><link href="https://pulamusic.github.io/Moon/Moon/jekyll-coding-video/" rel="alternate" type="text/html" title="a video on coding a Jekyll site" /><published>2018-02-08T13:30:00+00:00</published><updated>2018-02-08T13:30:00+00:00</updated><id>https://pulamusic.github.io/Moon/Moon/jekyll-coding-video</id><content type="html" xml:base="https://pulamusic.github.io/Moon/Moon/jekyll-coding-video/">&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/iWowJBRMtpc&quot; frameborder=&quot;0&quot; allowfullscreen=&quot;&quot;&gt;&lt;/iframe&gt;

&lt;p&gt;This is a bit of an experiment to see if I can get a video to embed in a markdown post. It should work.&lt;/p&gt;

&lt;p&gt;This video is fairly basic, but it highlights exactly how to generate a static site using Jekyll. Jekyll takes only a bit of getting used to before it becomes apparent how dead simple it can be to generate a blog site. Jekyll also works for static page sites, but it really shines for blogs.&lt;/p&gt;</content><author><name></name></author><category term="coding" /><category term="post" /><category term="video" /><summary type="html">A video tutorial on how to use the Jekyll static site generator.</summary></entry><entry><title type="html">we live in a wobbly democracy</title><link href="https://pulamusic.github.io/Moon/Moon/wobbly-democracy/" rel="alternate" type="text/html" title="we live in a wobbly democracy" /><published>2018-01-28T18:21:00+00:00</published><updated>2018-01-28T18:21:00+00:00</updated><id>https://pulamusic.github.io/Moon/Moon/wobbly-democracy</id><content type="html" xml:base="https://pulamusic.github.io/Moon/Moon/wobbly-democracy/">&lt;h3 id=&quot;how-wobbly-is-our-democracy&quot;&gt;&lt;a href=&quot;https://www.nytimes.com/2018/01/27/opinion/sunday/democracy-polarization.html?rref=collection%2Fsectioncollection%2Fopinion&amp;amp;action=click&amp;amp;contentCollection=opinion&amp;amp;region=rank&amp;amp;module=package&amp;amp;version=highlights&amp;amp;contentPlacement=1&amp;amp;pgtype=sectionfront&quot;&gt;How Wobbly Is Our Democracy?&lt;/a&gt;&lt;/h3&gt;
&lt;h5 id=&quot;by-steven-levitsky-and-daniel-ziblatt&quot;&gt;by Steven Levitsky and Daniel Ziblatt&lt;/h5&gt;

&lt;p&gt;I don’t have anything all that profound to say about this essay. Essentially, the authors argue that our politics have become so polarized over the past 20 years that we are in danger of damaging our democracy. No argument from me.&lt;/p&gt;

&lt;p&gt;While our country has been in worse shape - I’m thinking of c.1850 through the Civil War - the past 20 years of politics have been increasingly partisan, to the point where we no longer trust members of the other party. I can’t say I trust Republicans at all, especially since Trump was elected to office. According the the authors, while 50 years ago roughly 5% of Democrats and Republicans claimed they didn’t trust members of the other party, today 49% of Republicans and 33% of Democrats say the same. This is ludicrous.&lt;/p&gt;</content><author><name></name></author><category term="news" /><category term="NYTimes" /><category term="politics" /><summary type="html">A NYTimes op-ed piece on the wobbliness of our democracy.</summary></entry><entry><title type="html">another post</title><link href="https://pulamusic.github.io/Moon/Moon/another-post/" rel="alternate" type="text/html" title="another post" /><published>2018-01-28T15:26:00+00:00</published><updated>2018-01-28T15:26:00+00:00</updated><id>https://pulamusic.github.io/Moon/Moon/another-post</id><content type="html" xml:base="https://pulamusic.github.io/Moon/Moon/another-post/">&lt;h3 id=&quot;thinking-through-the-blog&quot;&gt;Thinking through the blog&lt;/h3&gt;

&lt;p&gt;This is a second post I have written for a blog that, as yet, has no particular direction. What I think I will do is to spend this post meditating a bit on some objectives and goals for the blog, though I am loathe to spell it our too clearly. I don’t want to get uptight about blogging in general, so I would rather craft a few ideas that might help me to keep this blog on track without spelling it out in too much detail.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;This is not a freewriting blog&lt;/strong&gt;. One of my other blogs is entirely made up of freewritten posts, so this blog really should be written in a more substantive style. That being said, I really don’t want to spend a ton of energy writing this blog. I’ll need to give this point some more thought.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;I need to leave the example pages in place&lt;/strong&gt;. One thing that attracted me to this Jekyll theme was that the example pages are very useful for sparking layout ideas. I’ll leave them in place for now, or I can possibly move them to a different folder. Ultimately, this blog should be populated with my posts, but let me leave the designer’s examples where they are until I can think of some other appropriate solution.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Perhaps this can be a writing outlet for my news reading&lt;/strong&gt;. Or it can be an outlet for reading in general. Academic reading always causes me to write, so it may be good to have this blog as an outlet for that kind of writing. The freewriting blog has helped me with my writing fluency, but a blog that comments on my reading would be very useful. It would also encourage me to read more.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;I may need to promote this blog&lt;/strong&gt;. I have been resistant to promoting my work on social media in the past, but if this blog is going to be written more substantially I should get in the habit of posting them to Facebook and Twitter. I should also make sure people can subscribe to the blog, either by email, or Atom, or both.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;thinking-beyond-the-blog&quot;&gt;Thinking beyond the blog&lt;/h3&gt;

&lt;p&gt;What I really need to be writing is my book manuscript, so if I could use this blog to help me with the book project that would be most helpful. Ultimately, any sort of blog I write should be a part of my professional portfolio, so I do need to keep at least one blog focused on my academic pursuits. My number one professional goal is to land a substantial teaching gig, and a decent blog - as well as a published book - would help me to achieve that goal. Let me ponder the deeper purposes of writing in my life and see if I can get this blog to align with it even just a little bit. Writing is the cornerstone of good teaching, after all.&lt;/p&gt;</content><author><name></name></author><category term="sample post" /><category term="test" /><category term="image" /><category term="feature" /><summary type="html">A second post for a blog that has no particular direction.</summary></entry><entry><title type="html">Coding</title><link href="https://pulamusic.github.io/Moon/Moon/coding/" rel="alternate" type="text/html" title="Coding" /><published>2018-01-27T00:00:00+00:00</published><updated>2018-01-27T00:00:00+00:00</updated><id>https://pulamusic.github.io/Moon/Moon/coding</id><content type="html" xml:base="https://pulamusic.github.io/Moon/Moon/coding/">&lt;p&gt;I have been learning to code for only a short while, but I have been developing a portfolio of projects as I go along. Here is a list of some of the better projects I have done so far. I will add to the list from time to time as I finish various projects.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;A &lt;a href=&quot;https://pulamusic.github.io/AJAXRequestPractice/index.html&quot;&gt;URL shortener/lengthener app&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;A &lt;a href=&quot;https://codepen.io/pulamusic/full/gmevav/&quot;&gt;Wikipedia Search Page&lt;/a&gt; (on CodePen)&lt;/li&gt;
  &lt;li&gt;A &lt;a href=&quot;https://pulamusic.github.io/weatherApp/&quot;&gt;weather &amp;amp; travel app&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;A &lt;a href=&quot;https://pulamusic.github.io/newsworthy/&quot;&gt;news streaming app&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;A &lt;a href=&quot;https://pulamusic.github.io/diceGame/&quot;&gt;dice rolling game&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;A &lt;a href=&quot;https://pulamusic.github.io/youTubeSearch/&quot;&gt;YouTube search app&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;A &lt;a href=&quot;https://pulamusic.github.io/travel-site/&quot;&gt;demo web page&lt;/a&gt; with some cool but subtle JavaScript features&lt;/li&gt;
  &lt;li&gt;A &lt;a href=&quot;https://pulamusic.github.io/budgety/&quot;&gt;simple budget app&lt;/a&gt; created from a Udemy.com JavaScript tutorial&lt;/li&gt;
&lt;/ul&gt;</content><author><name></name></author><category term="jekyll" /><category term="coding" /><category term="JavaScript" /><category term="HTML" /><category term="CSS" /><summary type="html">Examples of my coding projects.</summary></entry><entry><title type="html">first post</title><link href="https://pulamusic.github.io/Moon/Moon/first-post/" rel="alternate" type="text/html" title="first post" /><published>2018-01-27T00:00:00+00:00</published><updated>2018-01-27T00:00:00+00:00</updated><id>https://pulamusic.github.io/Moon/Moon/first-post</id><content type="html" xml:base="https://pulamusic.github.io/Moon/Moon/first-post/">&lt;p&gt;This is my first post with the new blog format. I don’t have much to say so let me just add some dummy text.&lt;/p&gt;

&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam gravida eros tempus, sodales enim quis, bibendum libero. Mauris dictum blandit ligula. Vivamus quis erat nec mi sodales rhoncus. Praesent auctor vel turpis vel elementum. Aliquam condimentum nulla eu dolor aliquam, ut dictum lectus lacinia. Suspendisse sit amet lorem enim. Vivamus erat purus, ullamcorper ut ipsum vitae, mollis efficitur nibh. Proin rutrum sed sem quis suscipit.&lt;/p&gt;

&lt;p&gt;Nullam non arcu magna. Aliquam scelerisque et urna in blandit. Curabitur augue dui, gravida sed mi nec, tempus hendrerit tortor. Nunc finibus purus at arcu mattis, eu fermentum eros consequat. Maecenas sollicitudin nibh at justo finibus tempus. Praesent ut feugiat metus. Proin sed ornare enim, sed varius neque.&lt;/p&gt;

&lt;p&gt;Sed imperdiet orci est, at sagittis diam finibus at. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Praesent faucibus orci enim, ac convallis urna aliquam eu. Aenean vehicula mi eleifend, fermentum magna sed, viverra mauris. Ut commodo, dui a ullamcorper sodales, ante leo blandit ipsum, vitae pharetra nisl ipsum ac enim. Phasellus ut scelerisque lorem, fringilla dictum nisi. Donec vehicula rutrum convallis. Maecenas ut libero posuere, pellentesque leo sed, aliquam sem. Nullam posuere interdum nisi in rhoncus. Proin quis leo id ex pretium tempus eget ullamcorper nisl. Proin pulvinar condimentum sem, et laoreet tellus rhoncus non. Praesent metus nulla, rutrum id tellus eget, commodo tempus neque. Fusce libero ante, sagittis ac sollicitudin et, mattis quis dolor.&lt;/p&gt;</content><author><name></name></author><category term="sample post" /><category term="test" /><summary type="html">My first post with this new blog format.</summary></entry><entry><title type="html">Moon Jekyll Theme</title><link href="https://pulamusic.github.io/Moon/Moon/moon-theme/" rel="alternate" type="text/html" title="Moon Jekyll Theme" /><published>2016-04-06T00:00:00+00:00</published><updated>2016-04-06T00:00:00+00:00</updated><id>https://pulamusic.github.io/Moon/Moon/moon-theme</id><content type="html" xml:base="https://pulamusic.github.io/Moon/Moon/moon-theme/">&lt;p&gt;&lt;img src=&quot;https://cloud.githubusercontent.com/assets/754514/14509720/61c61058-01d6-11e6-93ab-0918515ecd56.png&quot; alt=&quot;Moon Homepage&quot; /&gt;&lt;/p&gt;

&lt;center&gt;&lt;b&gt;Moon&lt;/b&gt; is a minimal, one column jekyll theme.&lt;/center&gt;

&lt;p&gt;I’m not a developer or designer. And I don’t add footer to show who did this theme. If you like this theme or using it, please give a &lt;strong&gt;star&lt;/strong&gt; for motivation, It makes me happy.&lt;/p&gt;

&lt;iframe src=&quot;https://ghbtns.com/github-btn.html?user=TaylanTatli&amp;amp;repo=Moon&amp;amp;type=star&amp;amp;count=true&amp;amp;size=large&quot; frameborder=&quot;0&quot; scrolling=&quot;0&quot; width=&quot;160px&quot; height=&quot;30px&quot;&gt;&lt;/iframe&gt;

&lt;h2 id=&quot;installation&quot;&gt;Installation&lt;/h2&gt;
&lt;ul&gt;
  &lt;li&gt;Fork the &lt;a href=&quot;https://github.com/TaylanTatli/Moon/fork&quot;&gt;Moon repo&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;Edit &lt;code class=&quot;highlighter-rouge&quot;&gt;_config.yml&lt;/code&gt; file.&lt;/li&gt;
  &lt;li&gt;Remove sample posts from &lt;code class=&quot;highlighter-rouge&quot;&gt;_posts&lt;/code&gt; folder and add yours.&lt;/li&gt;
  &lt;li&gt;Edit &lt;code class=&quot;highlighter-rouge&quot;&gt;index.md&lt;/code&gt; file in &lt;code class=&quot;highlighter-rouge&quot;&gt;about&lt;/code&gt; folder.&lt;/li&gt;
  &lt;li&gt;Change repo name to &lt;code class=&quot;highlighter-rouge&quot;&gt;YourUserName.github.io&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That’s all.&lt;/p&gt;

&lt;h2 id=&quot;preview&quot;&gt;Preview&lt;/h2&gt;

&lt;figure class=&quot;third&quot;&gt;
    
    &lt;a href=&quot;https://cloud.githubusercontent.com/assets/754514/14509716/61ac6c8e-01d6-11e6-879f-8308883de790.png&quot;&gt;&lt;img src=&quot;https://cloud.githubusercontent.com/assets/754514/14509716/61ac6c8e-01d6-11e6-879f-8308883de790.png&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
    
    &lt;a href=&quot;https://cloud.githubusercontent.com/assets/754514/14509717/61ad05ae-01d6-11e6-85ae-5a817dd8763b.png&quot;&gt;&lt;img src=&quot;https://cloud.githubusercontent.com/assets/754514/14509717/61ad05ae-01d6-11e6-85ae-5a817dd8763b.png&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
    
    &lt;a href=&quot;https://cloud.githubusercontent.com/assets/754514/14509714/61a89708-01d6-11e6-8fcd-74b002a060df.png&quot;&gt;&lt;img src=&quot;https://cloud.githubusercontent.com/assets/754514/14509714/61a89708-01d6-11e6-8fcd-74b002a060df.png&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
    
    &lt;figcaption&gt;Screenshots of Moon Theme&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;hr /&gt;

&lt;figure class=&quot;half&quot;&gt;
    
    &lt;a href=&quot;https://cloud.githubusercontent.com/assets/754514/14509718/61b09a20-01d6-11e6-8da1-4202ae4d83cd.png&quot;&gt;&lt;img src=&quot;https://cloud.githubusercontent.com/assets/754514/14509718/61b09a20-01d6-11e6-8da1-4202ae4d83cd.png&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
    
    &lt;a href=&quot;https://cloud.githubusercontent.com/assets/754514/14509715/61aa9d00-01d6-11e6-81a6-c6837edf2e84.png&quot;&gt;&lt;img src=&quot;https://cloud.githubusercontent.com/assets/754514/14509715/61aa9d00-01d6-11e6-81a6-c6837edf2e84.png&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
    
    &lt;figcaption&gt;Moon Theme on Small Screen Size&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;See a &lt;a href=&quot;http://taylantatli.github.io/Moon&quot;&gt;live version of Moon&lt;/a&gt; hosted on GitHub.&lt;/p&gt;

&lt;h2 id=&quot;site-setup&quot;&gt;Site Setup&lt;/h2&gt;
&lt;p&gt;A quick checklist of the files you’ll want to edit to get up and running.&lt;/p&gt;

&lt;h3 id=&quot;site-wide-configuration&quot;&gt;Site Wide Configuration&lt;/h3&gt;
&lt;p&gt;&lt;code class=&quot;highlighter-rouge&quot;&gt;_config.yml&lt;/code&gt; is your friend. Open it up and personalize it. Most variables are self explanatory but here’s an explanation of each if needed:&lt;/p&gt;

&lt;h4 id=&quot;title&quot;&gt;title&lt;/h4&gt;

&lt;p&gt;The title of your site… shocker!&lt;/p&gt;

&lt;p&gt;Example &lt;code class=&quot;highlighter-rouge&quot;&gt;title: My Awesome Site&lt;/code&gt;&lt;/p&gt;

&lt;h4 id=&quot;bio&quot;&gt;bio&lt;/h4&gt;

&lt;p&gt;The description to show on your homepage.&lt;/p&gt;

&lt;h4 id=&quot;description&quot;&gt;description&lt;/h4&gt;

&lt;p&gt;The description to use for meta tags and navigation menu.&lt;/p&gt;

&lt;h4 id=&quot;url&quot;&gt;url&lt;/h4&gt;

&lt;p&gt;Used to generate absolute urls in &lt;code class=&quot;highlighter-rouge&quot;&gt;sitemap.xml&lt;/code&gt;, &lt;code class=&quot;highlighter-rouge&quot;&gt;feed.xml&lt;/code&gt;, and for generating canonical URLs in &lt;code class=&quot;highlighter-rouge&quot;&gt;&amp;lt;head&amp;gt;&lt;/code&gt;. When developing locally either comment this out or use something like &lt;code class=&quot;highlighter-rouge&quot;&gt;http://localhost:4000&lt;/code&gt; so all assets load properly. &lt;em&gt;Don’t include a trailing &lt;code class=&quot;highlighter-rouge&quot;&gt;/&lt;/code&gt;&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;Examples:&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-yaml&quot; data-lang=&quot;yaml&quot;&gt;&lt;span class=&quot;na&quot;&gt;url&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;http://taylantatli.me/Moon&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;url&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;http://localhost:4000&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;url&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;//cooldude.github.io&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;url&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;h4 id=&quot;reading_time&quot;&gt;reading_time&lt;/h4&gt;

&lt;p&gt;Set true to show reading time for posts. And set &lt;code class=&quot;highlighter-rouge&quot;&gt;words_per_minute&lt;/code&gt;, default is 200.&lt;/p&gt;

&lt;h4 id=&quot;logo&quot;&gt;logo&lt;/h4&gt;
&lt;p&gt;Your site’s logo. It will show on homepage and navigation menu. Also used for twitter meta tags.&lt;/p&gt;

&lt;h4 id=&quot;background&quot;&gt;background&lt;/h4&gt;
&lt;p&gt;Image for background. If you don’t set it, color will be used as a background.&lt;/p&gt;

&lt;h4 id=&quot;google-analytics-and-webmaster-tools&quot;&gt;Google Analytics and Webmaster Tools&lt;/h4&gt;

&lt;p&gt;Google Analytics UA and Webmaster Tool verification tags can be entered in &lt;code class=&quot;highlighter-rouge&quot;&gt;_config.yml&lt;/code&gt;. For more information on obtaining these meta tags check &lt;a href=&quot;http://support.google.com/webmasters/bin/answer.py?hl=en&amp;amp;answer=35179&quot;&gt;Google Webmaster Tools&lt;/a&gt; and &lt;a href=&quot;https://ssl.bing.com/webmaster/configure/verify/ownership&quot;&gt;Bing Webmaster Tools&lt;/a&gt; support.&lt;/p&gt;

&lt;h4 id=&quot;mathjax&quot;&gt;MathJax&lt;/h4&gt;
&lt;p&gt;It’s enabled. But if you don’t want to use it. Set it false in  &lt;code class=&quot;highlighter-rouge&quot;&gt;_config.yml&lt;/code&gt;.&lt;/p&gt;

&lt;h4 id=&quot;disqus-comments&quot;&gt;Disqus Comments&lt;/h4&gt;
&lt;p&gt;Set your disqus shortname in &lt;code class=&quot;highlighter-rouge&quot;&gt;_config.yml&lt;/code&gt; to use comments.&lt;/p&gt;

&lt;hr /&gt;

&lt;h3 id=&quot;navigation-links&quot;&gt;Navigation Links&lt;/h3&gt;

&lt;p&gt;To set what links appear in the top navigation edit &lt;code class=&quot;highlighter-rouge&quot;&gt;_data/navigation.yml&lt;/code&gt;. Use the following format to set the URL and title for as many links as you’d like. &lt;em&gt;External links will open in a new window.&lt;/em&gt;&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-yaml&quot; data-lang=&quot;yaml&quot;&gt;&lt;span class=&quot;pi&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;Home&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;url&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;/&lt;/span&gt;

&lt;span class=&quot;pi&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;Blog&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;url&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;/blog/&lt;/span&gt;

&lt;span class=&quot;pi&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;Projects&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;url&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;/projects/&lt;/span&gt;

&lt;span class=&quot;pi&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;About&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;url&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;/about/&lt;/span&gt;

&lt;span class=&quot;pi&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;Moon&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;url&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;http://taylantatli.me/Moon&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;hr /&gt;

&lt;h2 id=&quot;layouts-and-content&quot;&gt;Layouts and Content&lt;/h2&gt;

&lt;p&gt;Moon Theme use &lt;a href=&quot;https://github.com/penibelst/jekyll-compress-html&quot;&gt;Jekyll Compress&lt;/a&gt; to compress html output. But it can cause errors if you use “linenos” (line numbers). I suggest don’t use line numbers for codes, because it won’t look good with this theme, also i didn’t give a proper style for them. If you insist to use line numbers, just remove &lt;code class=&quot;highlighter-rouge&quot;&gt;layout: compress&lt;/code&gt; string from layouts. It will disable compressing.&lt;/p&gt;

&lt;h3 id=&quot;feature-image&quot;&gt;Feature Image&lt;/h3&gt;

&lt;p&gt;You can set feature image per post. Just add &lt;code class=&quot;highlighter-rouge&quot;&gt;feature: some link&lt;/code&gt; to your post’s front matter.&lt;/p&gt;

&lt;div class=&quot;highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;feature: /assets/img/some-image.png
or
feaure: http://example.com/some-image.png
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This also will be used for twitter card:&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://cloud.githubusercontent.com/assets/754514/14509719/61c5751c-01d6-11e6-8c29-ce8ccad149bf.png&quot; alt=&quot;Moon Twitter Card&quot; /&gt;&lt;/p&gt;

&lt;h3 id=&quot;comments&quot;&gt;Comments&lt;/h3&gt;
&lt;p&gt;To show disqus comments for your post add &lt;code class=&quot;highlighter-rouge&quot;&gt;comments: true&lt;/code&gt; to your post’s front matter.&lt;/p&gt;

&lt;hr /&gt;

&lt;h2 id=&quot;questions&quot;&gt;Questions?&lt;/h2&gt;

&lt;p&gt;Found a bug or aren’t quite sure how something works? By all means &lt;a href=&quot;https://github.com/TaylanTatli/Moon/issues/new&quot;&gt;file a GitHub Issue&lt;/a&gt;. And if you make something cool with this theme feel free to let me know.&lt;/p&gt;

&lt;hr /&gt;

&lt;h2 id=&quot;license&quot;&gt;License&lt;/h2&gt;

&lt;p&gt;This theme is free and open source software, distributed under the MIT License. So feel free to use this Jekyll theme on your site without linking back to me or including a disclaimer.&lt;/p&gt;</content><author><name></name></author><category term="jekyll" /><category term="moon" /><category term="blog" /><category term="about" /><category term="theme" /><summary type="html">Minimal, one column Jekyll theme for your blog.</summary></entry><entry><title type="html">A Post with a Video</title><link href="https://pulamusic.github.io/Moon/Moon/video-post/" rel="alternate" type="text/html" title="A Post with a Video" /><published>2016-03-15T00:00:00+00:00</published><updated>2016-03-15T00:00:00+00:00</updated><id>https://pulamusic.github.io/Moon/Moon/video-post</id><content type="html" xml:base="https://pulamusic.github.io/Moon/Moon/video-post/">&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;//www.youtube.com/embed/SU3kYxJmWuQ&quot; frameborder=&quot;0&quot;&gt; &lt;/iframe&gt;

&lt;p&gt;Video embeds are responsive and scale with the width of the main content block with the help of &lt;a href=&quot;http://fitvidsjs.com/&quot;&gt;FitVids&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Not sure if this only effects Kramdown or if it’s an issue with Markdown in general. But adding YouTube video embeds causes errors when building your Jekyll site. To fix add a space between the &lt;code class=&quot;highlighter-rouge&quot;&gt;&amp;lt;iframe&amp;gt;&lt;/code&gt; tags and remove &lt;code class=&quot;highlighter-rouge&quot;&gt;allowfullscreen&lt;/code&gt;. Example below:&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-html&quot; data-lang=&quot;html&quot;&gt;&lt;span class=&quot;nt&quot;&gt;&amp;lt;iframe&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;width=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;560&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;height=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;315&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;src=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;//www.youtube.com/embed/SU3kYxJmWuQ&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;frameborder=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;0&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;&amp;lt;/iframe&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;</content><author><name></name></author><category term="sample" /><category term="post" /><category term="video" /><summary type="html">Custom written post descriptions are the way to go... if you're not lazy.</summary></entry></feed>