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
# The following types define the data model of the example service | |
# based on which the GraphQL API is generated | |
type User @model { | |
id: ID! @isUnique | |
name: String | |
dateOfBirth: DateTime | |
# Uncomment below - you can declare relations between models like this |
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
// Vanilla JS | |
document.getElementsByTagName('video').playbackRate = 5; |
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
<table border="1"> | |
<tr> | |
<th>Nome</th> | |
<th>caracteristicas</th> | |
<th>detalhes</th> | |
</tr> | |
<c:forEach items="${produtos}" var="produto"> | |
<tr> | |
<td>${produto.nome}</td> |
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
const students = [ | |
{ name: 'Anna', grade: 6 }, | |
{ name: 'John', grade: 4 }, | |
{ name: 'Maria', grade: 9 } | |
]; | |
const teachers = [ | |
{ name: 'Mark', salary: 2500 }, | |
{ name: 'Todd', salary: 3700 }, | |
{ name: 'Angela', salary: 1900 } |
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
using System; | |
using System.ComponentModel; | |
using System.Runtime.CompilerServices; | |
using System.Windows.Input; | |
using Xamarin.Forms; | |
namespace FiapCoin.ViewModel | |
{ | |
public class LoginViewModel : INotifyPropertyChanged | |
{ |
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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', |
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
.container{ | |
width: 100%; | |
} | |
.foo{ | |
width: auto; | |
position: absolute; | |
left: 50%; | |
top: 50%; | |
transform: translate(-50%,-50%) !important; |
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
module.exports = { | |
username: "morcegos", | |
password: "morcegos123" | |
} |
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
this[temp + 'GridData'] = _.clone(this[temp + 'FilterArray']); | |
if (getTerm !== null && getTerm !== '') { | |
for (let i = 0; i < this[temp + 'GridData'].length; i++) { | |
if (this[temp + 'GridData'][i].Name.toLowerCase().indexOf(getTerm.toLowerCase()) !== -1) { | |
tempArray.push(this[temp + 'GridData'][i]); | |
} | |
if (this.isByChain && this[temp + 'GridData'][i]['PropertyName']) { | |
if (this[temp + 'GridData'][i]['PropertyName'].toLowerCase().indexOf(getTerm.toLowerCase()) !== -1) { |
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
$("a").on("click", function(event) { | |
if (this.hash !== "") { | |
event.preventDefault(); | |
var hash = this.hash; | |
$("html, body").animate( | |
{ | |
scrollTop: $(hash).offset().top | |
}, |