This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// To run: copy this file (or open it using the "Raw" button in the right-hand corner) and save it as linkedList.js | |
// Then in the terminal, run `node linkedList.js | less` to view output and compare expected to actual values. | |
class LinkedList { | |
constructor(firstItem) { | |
this.list = { | |
data: firstItem, | |
link: {} | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script creates a new post or draft in jekyll with pre-filled front matter. | |
# Run `./script <some title for your post>` to generate a post. | |
# Use `-d` option (BEFORE your post title) for a draft. | |
FILEDIR="_posts/" | |
ISDRAFT=false | |
while getopts "d" opt; do | |
case $opt in |
OlderNewer