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
| 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, |
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 | |
| 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 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 | |
| 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 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
| void main() { | |
| // Lookbehind example | |
| final String phrase = "fooback"; | |
| final RegExp lookbehindPattern = new RegExp(r'(?<=foo)back'); | |
| print('Does lookbehind work? ${lookbehindPattern.hasMatch(phrase)}'); | |
| // Negative Lookbehind example | |
| // It would matched .text or text= but not Me.text or FtextABC | |
| final RegExp negativeLookbehind = new RegExp(r'(?<!(Me\.)|[frFR])(text)(?!\w)'); |
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
| void main() { | |
| // Lookbehind example | |
| final String phrase = "fooback"; | |
| final RegExp lookbehindPattern = new RegExp(r'(?<=foo)back'); | |
| print('Does lookbehind work? ${lookbehindPattern.hasMatch(phrase)}'); | |
| // Negative Lookbehind example | |
| // It would match .text or text= but not Me.text or FtextABC | |
| final RegExp negativeLookbehind = new RegExp(r'(?<!(Me\.)|[frFR])(text)(?!\w)'); |
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
| Homebrew build logs for git on macOS 10.13.1 | |
| Build date: 2018-06-22 14:08:59 |
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
| Homebrew build logs for git on macOS 10.13.1 | |
| Build date: 2018-06-25 11:59:45 |
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
| Homebrew build logs for git on macOS 10.13.1 | |
| Build date: 2018-06-27 11:57:06 |
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
| tap "homebrew/cask-versions" | |
| tap "homebrew/core" | |
| tap "homebrew/cask" | |
| tap "homebrew/bundle" | |
| tap "homebrew/services" | |
| tap "dart-lang/dart" | |
| cask "java" | |
| cask "osxfuse" | |
| brew "bash" | |
| brew "bash-completion@2" |
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
| Homebrew build logs for git on macOS 10.13.1 | |
| Build date: 2018-06-27 11:57:06 |
OlderNewer