This file contains 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 | |
name=JohnnyFive | |
email=five@johnny.alive | |
if [ -z ${1+x} ]; then | |
echo "No arguments passed, using version default values"; | |
else | |
name=$1; |
This file contains 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 | |
set -euo pipefail | |
gitVersion=2.20.1 | |
directory=/home/user | |
if [ -z ${1+x} ]; then echo "No argument passed, using version $gitVersion"; else gitVersion=$1; fi | |
# Install dependencies on CentOS/Red Hat | |
sudo yum install gcc autoconf automake expat-devel gettext-devel libcurl-devel openssl-devel perl-CPAN perl-devel zlib-devel asciidoc |
This file contains 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
require_relative "test_helper" | |
require "open-uri" | |
require "net/http" | |
class EmojiTest < Blog::Test | |
def test_no_emoji | |
posts.each do |post| | |
content = File.read(post) | |
refute_match /:[a-zA-Z0-9_]+:/, content, |
NewerOlder