Skip to content

Instantly share code, notes, and snippets.

Avatar

Stargator

  • Northern Virginia
View GitHub Profile
@Stargator
Stargator / master_output.txt
Last active Jul 12, 2018
Outputs for Propcheck Demo
View master_output.txt
$ dart example/demo.dart
unittest-suite-wait-for-done
PASS: smallcheck good
ERROR: smallcheck bad
Test failed: Caught falsified after 11 tests
argument 1: [true]
argument 2: [false]
package:propcheck/propcheck.dart 93:11 SmallCheck.check
example/demo.dart 40:26 main.<fn>.<fn>
@Stargator
Stargator / # git - 2018-06-29_17-15-35.txt
Created Jun 29, 2018
git on macOS 10.13.1 - Homebrew build logs
View # git - 2018-06-29_17-15-35.txt
Homebrew build logs for git on macOS 10.13.1
Build date: 2018-06-29 17:15:35
@Stargator
Stargator / Brewfile.after
Created Jun 29, 2018
June 29th Brewfiles
View Brewfile.after
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"
@Stargator
Stargator / # git - 2018-06-27_11-57-06.txt
Created Jun 29, 2018
git on macOS 10.13.1 - Homebrew build logs
View # git - 2018-06-27_11-57-06.txt
Homebrew build logs for git on macOS 10.13.1
Build date: 2018-06-27 11:57:06
@Stargator
Stargator / Brewfile.after
Last active Jun 29, 2018
Brewfiles Before and After
View Brewfile.after
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"
@Stargator
Stargator / # git - 2018-06-27_11-57-06.txt
Created Jun 29, 2018
git on macOS 10.13.1 - Homebrew build logs
View # git - 2018-06-27_11-57-06.txt
Homebrew build logs for git on macOS 10.13.1
Build date: 2018-06-27 11:57:06
@Stargator
Stargator / # git - 2018-06-25_11-59-45.txt
Created Jun 25, 2018
git on macOS 10.13.1 - Homebrew build logs
View # git - 2018-06-25_11-59-45.txt
Homebrew build logs for git on macOS 10.13.1
Build date: 2018-06-25 11:59:45
@Stargator
Stargator / # git - 2018-06-22_14-08-59.txt
Created Jun 25, 2018
git on macOS 10.13.1 - Homebrew build logs
View # git - 2018-06-22_14-08-59.txt
Homebrew build logs for git on macOS 10.13.1
Build date: 2018-06-22 14:08:59
View gist:8531db3b855bbbcd092faa16c1fd4908
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)');
@Stargator
Stargator / main.dart
Last active May 4, 2018
Lookbehind in Dart
View main.dart
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)');
You can’t perform that action at this time.