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 class="columns is-mobile is-multiline is-gapless"> | |
<div class="column animated fadeIn" *ngFor="let media of medias; let i = index" [ngClass]="{'is-half':medias.length>1&&i!=2}"><mat-card [ngStyle]="{'background-image':'url('+media.base64+')'}" (tap)="removeMedia(media)"><div class="placeholder"><mat-spinner diameter="16" *ngIf="!media.base64"></mat-spinner></div></mat-card></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
// An autoresize directive that works with ion-textarea in Ionic 2 | |
// Usage example: <ion-textarea autoresize [(ngModel)]="body"></ion-textarea> | |
// Usage example: <ion-textarea autoresize="100" [(ngModel)]="body"></ion-textarea> | |
// Based on https://www.npmjs.com/package/angular2-autosize | |
import { Directive, HostListener, ElementRef, Input } from "@angular/core"; | |
@Directive({ | |
selector: "ion-textarea[autoresize]" // Attribute selector | |
}) |
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
{ | |
"_id" : ObjectId("5ab57fee3a8c50989a1d806b"), | |
"currency" : "BTC", | |
"amount" : 0.00281219, | |
"type" : "buy", | |
"subtype" : "limited", | |
"unit_price" : 29500, | |
"variance" : { | |
"price" : 29500, | |
"percent" : 1.03, |
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
{message: "", exception: "Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException",…} | |
exception | |
: | |
"Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException" | |
file | |
: | |
"/var/app/current/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php" | |
line | |
: | |
255 |
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
public distanceTo = function(endLat, endLon, startLat, startLon){ | |
endLat = Number(endLat); | |
endLon = Number(endLon); | |
startLat = Number(startLat); | |
startLon = Number(startLon); | |
var R = 6371e3; // metres | |
var φ1 = startLat * Math.PI / 180; |
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 { RouterModule, Routes } from '@angular/router'; | |
import { HomePageComponent } from "app/pages/home-page/home-page.component"; | |
import { ProductsPageComponent } from "app/pages/products-page/products-page.component"; | |
import { ProductPageComponent } from "app/pages/product-page/product-page.component"; | |
import { Error404PageComponent } from "app/pages/error-404-page/error-404-page.component"; | |
const routes: Routes = [ | |
// home | |
{ | |
path: '', |
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
@SUCCESS: S3 cache cleaned | |
@SUCCESS: https://stewan.io/?_escaped_fragment_= | |
@SUCCESS: https://stewan.io/blog?_escaped_fragment_= | |
@SUCCESS: https://stewan.io/cursos?_escaped_fragment_= | |
@SUCCESS: https://stewan.io/about?_escaped_fragment_= | |
@SUCCESS: https://stewan.io/contact?_escaped_fragment_= | |
@SUCCESS: https://stewan.io/ebooks/guia-definitivo-do-angular?_escaped_fragment_= | |
@SUCCESS: https://stewan.io/blog/boas-praticas/5-erros-de-padrao-ao-desenvolver-com-angular-js-dicas-para-iniciantes-em-angular/9c9d38ab?_escaped_fragment_= | |
@SUCCESS: https://stewan.io/blog/tutorial/como-realizar-teste-unitario-de-servico-com-mocha-js-e-angular-js-guia-simples-para-entendimento-sobre-testes-unitarios/a1e01180?_escaped_fragment_= | |
@SUCCESS: https://stewan.io/blog/comunidade/angular-morris-charts-conquista-100-estrelas-no-github/a865bc0f?_escaped_fragment_= |
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
::-webkit-scrollbar { | |
height: 16px; | |
overflow: visible; | |
width: 12px; | |
} | |
::-webkit-scrollbar-button { | |
height: 0; | |
width: 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
$breakpoint-alpha: 800px; | |
.table-search { | |
display: flex; | |
padding: 1.3em 1.6em; | |
input { | |
font-size: 14px; | |
flex: 1 1 100%; | |
box-sizing: border-box; | |
-webkit-box-flex: 1; | |
border: none; |