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
| trigger: | |
| - firebase-demo | |
| pool: | |
| vmImage: 'windows-2019' | |
| steps: | |
| - task: NodeTool@0 |
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 | |
| export AnException=100 | |
| export AnotherException=101 | |
| # start with a try | |
| try | |
| ( # open a subshell !!! | |
| echo "do something" | |
| [ someErrorCondition ] && throw $AnException |
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
| import "package:flutter/material.dart"; | |
| void main() { | |
| runApp( | |
| const Center( | |
| child: Text( | |
| "Hello World!!!", | |
| textDirection: TextDirection.ltr, | |
| ), |
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
| 12345678 | |
| 123456789 | |
| 88888888 | |
| 99999999 | |
| 1234567890 | |
| 999999999 | |
| 11111111 | |
| khongbiet | |
| hoilamgi | |
| 66668888 |
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() { | |
| print(num.parse('-55554*'.replaceAll(new RegExp(r'[^0-9]+'), ''))); | |
| } |
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
| find app/src -name "*.js" -exec sh -c 'mv "$0" "${0%.js}.ts"' {} \; |
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
| var production = process.env.APP_ENV === "test"; | |
| var gulp = require('gulp'); | |
| var gutil = require('gulp-util'); | |
| var sass = require('gulp-sass'); | |
| var cssmin = require('gulp-minify-css'); | |
| var prefix = require('gulp-autoprefixer'); | |
| var newer = require('gulp-newer'); | |
| var print = require('gulp-print'); | |
| var notify = require('gulp-notify'); | |
| var batch = require('gulp-batch'); |