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 { Component, OnInit } from '@angular/core'; | |
import { MatSnackBar } from '@angular/material'; | |
@Component({ | |
selector: 'app-toast', | |
templateUrl: './toast.component.html', | |
styleUrls: ['./toast.component.scss'] | |
}) | |
export class Toast implements OnInit { |
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
<div fxLayout="row wrap"> | |
<div fxFlex="100" fxFlex.gt-sm="25" fxFlex.sm="50"> | |
<mat-card> | |
<mat-card-title> | |
<small class="text-muted">Despesas Fixas</small> | |
<span fxFlex></span> | |
<mat-chip class="icon-chip" color="accent" selected="true"> | |
<mat-icon>trending_up</mat-icon>10% | |
</mat-chip> | |
</mat-card-title> |
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
<ngx-datatable #table class="material ml-0 mr-0 mb-5" [rows]="rows" [columnMode]="'flex'" [headerHeight]="50" [footerHeight]="50" | |
[limit]="10" [rowHeight]="'auto'" [sorts]="[{prop: 'name', dir: 'desc'}]" [loadingIndicator]="loadingIndicator"> | |
<ngx-datatable-column name="Avatar" prop="avatar" [flexGrow]="0.5"> | |
<ng-template ngx-datatable-cell-template let-rowIndex="rowIndex" let-row="row"> | |
<img src="{{row?.avatar}}" alt="" class="avatar-img"> | |
</ng-template> | |
</ngx-datatable-column> | |
<ngx-datatable-column name="Nome" prop="name" [flexGrow]="2"> | |
<ng-template ngx-datatable-cell-template let-rowIndex="rowIndex" let-row="row"> | |
{{ row?.name }} |
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
<div id="app-fab"> | |
<div class="handle"> | |
<button mat-fab color="primary" (click)="fabClick()"> | |
<mat-icon>person_add</mat-icon> | |
</button> | |
</div> | |
</div> |
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
Weight (Kg) | Height (cm) | Result | Conclusion | Correct Prediction? | |
---|---|---|---|---|---|
94 | 182 | -0.00157233 | Male | Yes | |
56 | 172 | 0.69436113 | Female | No | |
98 | 187 | -0.07898268 | Male | Yes | |
65 | 172 | 0.59412349 | Female | Yes | |
87 | 175 | 0.02263017 | Male | Yes | |
50 | 160 | 0.80293757 | Female | Yes |
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
Height (cm) | Weight (kg) | Sex (m/f) | |
---|---|---|---|
172 | 62 | Male | |
187 | 98 | Male | |
153 | 70 | Female | |
183 | 90 | Male | |
173 | 68 | Female | |
173 | 53 | Female | |
176 | 52 | Female | |
173 | 56 | Female | |
160 | 50 | Female |
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
package <your_package>; | |
import android.support.test.espresso.intent.rule.IntentsTestRule; | |
import android.support.test.runner.AndroidJUnit4; | |
import android.test.suitebuilder.annotation.LargeTest; | |
import org.junit.After; | |
import org.junit.Rule; | |
import org.junit.Test; | |
import org.junit.runner.RunWith; |
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 org.junit.Before; | |
import org.junit.Test; | |
import br.techhit.scanydrive.helpers.LoginHelper; | |
import static org.junit.Assert.*; | |
public class LoginHelperTest { | |
LoginHelper loginHelper; |
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
# Deletes the Name Column | |
del df['name'] |