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
class MyFile{ | |
int? index; | |
String name; | |
String path; | |
MyFile({required this.name, required this.path, this.index}); | |
Map<String, dynamic> toJson() => { | |
'name': name, | |
'path': path |
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
npm install -g @ionic/cli | |
ionic start app1 blank --capacitor --type angular | |
ionic start app2 blank --capacitor --type angular | |
npm init stencil (responses: component/shared-components) | |
cd shared-components | |
npm install | |
npm run build | |
cd .. |
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
import { LoadingInterceptorModule } from './loading-interceptor.module'; | |
@NgModule({ | |
imports: [ | |
... | |
LoadingInterceptorModule | |
... | |
], |
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "java", | |
"name": "Debug", | |
"request": "attach", | |
"hostName": "localhost", | |
"port": 5005, | |
"preLaunchTask": "mvnDebug" |
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "java", | |
"name": "Debug", | |
"request": "attach", | |
"hostName": "localhost", | |
"port": 8000, | |
"preLaunchTask": "mvnDebug" |
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
#GITHUB_TOKEN must be a github access token or must be a variabled defined by github actions. | |
GITHUB_OWNER= | |
GITHUB_REPO= | |
FILE_NAME=name-version | |
FILE=name-version.tar.gz | |
echo "Check tag $FILE_NAME" | |
release_id=$(curl -s -X GET -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/repos/$GITHUB_OWNER/$GITHUB_REPO/releases/tags/$FILE_NAME|jq -r '.id') | |
if [ "$release_id" == "null" ] |
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
<!--View the errors of a field--> | |
<form-error [form]="formu" [field]="'email'" [i18n-field-page]="'consumerPage'" [view-errors]="viewErrorsOnInit"></form-error> | |
... | |
<!--View the errors of all fields--> | |
<div *ngIf="verErrores"> | |
<div *ngFor="let field of formu.controls | keyvalue"> | |
<form-error [form]="formu" [field]="field.key" [i18n-field-page]="'consumerPage'" [view-errors]="viewErrorsOnInit"></form-error> | |
</div> |
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
import { PopoverModule } from './components/popover/popover.module'; | |
@NgModule({ | |
imports: [ | |
... | |
PopoverModule | |
... | |
] |
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
'use strict'; | |
const platform = process.env.PLATFORM || "chrome"; | |
const mainAppTag = "/html/body/main-app"; | |
import {Promise} from 'bluebird'; | |
import {until, WebElementCondition} from 'selenium-webdriver'; | |
import fs from 'fs'; | |
import path from 'path'; | |
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
<button mdl-button mdl-button-type="fab" mdl-colored="primary" mdl-ripple #myButton style="margin-top:-20px;margin-left:300px"> | |
<mdl-icon>add</mdl-icon> | |
</button> | |
<tap-target | |
width="600" | |
title="Create a new test project" | |
content="" | |
titleMarginLeft="150px" | |
titleMarginTop="50px" |