(note: replace ORGANIZATION and PROJECT)
git clone git clone [email protected]:ORGANIZATION/PROJECT.git my-repository
cd my-repository
git branch repository| import 'dart:async'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:bloc/bloc.dart'; | |
| import 'package:flutter_bloc/flutter_bloc.dart'; | |
| void main() => runApp(MyApp()); | |
| class MyApp extends StatelessWidget { |
(note: replace ORGANIZATION and PROJECT)
git clone git clone [email protected]:ORGANIZATION/PROJECT.git my-repository
cd my-repository
git branch repository| studio3t() { | |
| nohup java -XstartOnFirstThread -cp /Applications/Studio\ 3T.app/Contents/Resources/app/data-man-mongodb-ent-2019.6.0.jar t3.dataman.mongodb.app.ad >/dev/null 2>&1 & | |
| disown | |
| } |
| # import config. | |
| # You can change the default config with `make cnf="config_special.env" build` | |
| cnf ?= config.env | |
| include $(cnf) | |
| export $(shell sed 's/=.*//' $(cnf)) | |
| # import deploy config | |
| # You can change the default deploy config with `make cnf="deploy_special.env" release` | |
| dpl ?= deploy.env | |
| include $(dpl) |
| #!/usr/bin/env zsh | |
| vared -p 'Project Name?: [hello-world] ' -c NMR_SCALA_PROJECT_NAME | |
| vared -p 'Organization version?: [info.nmrony] ' -c NMR_SCALA_PROJECT_ORG | |
| vared -p 'Project version?: [v1.0.0-SNAPSHOT] ' -c NMR_SCALA_PROJECT_VERSION | |
| vared -p 'Scala version?: [2.13.1] ' -c NMR_SCALA_PROJECT_SCALA_VERSION | |
| NMR_SCALA_PROJECT_NAME=${NMR_SCALA_PROJECT_NAME:-hello-world} | |
| NMR_SCALA_PROJECT_ORG=${NMR_SCALA_PROJECT_ORG:-info.nmrony} | |
| NMR_SCALA_PROJECT_VERSION=${NMR_SCALA_PROJECT_VERSION:-v1.0.0-SNAPSHOT} | |
| NMR_SCALA_PROJECT_SCALA_VERSION=${NMR_SCALA_PROJECT_SCALA_VERSION:-2.13.1} | |
| if [ -d "$NMR_SCALA_PROJECT_NAME" ] ; then |
Example on how to run locally an AWS Lambda via API Gateway using localstack.
Based on...
$ uname -r
As pointed out by @johntyree in the comments, using git reflog is easier and more reliable. Thanks for the suggestion!
$ git reflog
1ed7510 HEAD@{1}: checkout: moving from develop to 1ed7510
3970d09 HEAD@{2}: checkout: moving from b-fix-build to develop
1ed7510 HEAD@{3}: commit: got everything working the way I want
70b3696 HEAD@{4}: commit: upgrade rails, do some refactoring
| import 'package:flutter/foundation.dart' show ValueListenable; // should be exported by widgets | |
| import 'package:flutter/material.dart'; | |
| import 'package:provider/provider.dart'; | |
| void main() { | |
| runApp(Provider<LoginApi>( | |
| value: LoginApiImpl(), | |
| child: TestApp(), | |
| )); | |
| } |