vim /usr/share/applications/google-chrome.desktop
Exec=/opt/google/chrome/google-chrome --incognito --disable-web-security--disable-web-security is the key.
| <p class="note @((Foo == "Bar" ? "highlight" : ""))">This is a note</p> | |
| <!-- OR --> | |
| <p class="note @((Foo == Bar ? "highlight" : ""))">This is a note</p> | |
| @functions { | |
| private string Foo { get; set; } = "Bar"; | |
| private string Bar { get; set; } |
| public Evaluation GetEvaluationByCompany(string client, string company) | |
| { | |
| return DbSet.AsNoTracking().FirstOrDefault(c => c.Fk_Company == company && c.Client == client); | |
| } | |
| //EvaluationListViewModel | |
| public EvaluationListViewModel GetEvaluationListByCompany(string client, string company) | |
| { | |
| var result = DbSet.AsQueryable() |
| using System.Linq; | |
| using AvaliacoesEmpresas.Domain.Interfaces; | |
| using AvaliacoesEmpresas.Domain.Models; | |
| using AvaliacoesEmpresas.Infra.Data.Context; | |
| using Microsoft.EntityFrameworkCore; | |
| namespace AvaliacoesEmpresas.Infra.Data.Repository | |
| { | |
| public class EvaluationRepository : Repository<Evaluation>, IEvaluationRepository | |
| { |
| [HttpPost] | |
| [Route("{system}/{company}/{user}")] | |
| public IActionResult Post([FromBody] CompanyEvaluationViewModel companyEvaluationViewModel) | |
| { | |
| if (!ModelState.IsValid) | |
| { | |
| NotifyModelStateErrors(); | |
| return Response(companyEvaluationViewModel); | |
| } |
| class Board | |
| { | |
| ... | |
| String board() | |
| { | |
| StringBuffer buf = new StringBuffer(); | |
| for (int i = 0; i < 10; i++) | |
| { | |
| for (int j = 0; j < 10; j++) |
| class Board | |
| { | |
| ... | |
| String board() | |
| { | |
| StringBuffer buf = new StringBuffer(); | |
| collectRows(buf); | |
| return buf.toString(); | |
| } |
| if (status == DONE) | |
| { | |
| doSomething(); | |
| } | |
| else | |
| { | |
| ... | |
| } |
| const general = this.scheduleService.getQueryCollection(ref => ref | |
| .where('patientId', '==', uid) | |
| .orderBy('date', 'asc')); | |
| const appointments = this.scheduleService.getQueryCollection(ref => ref | |
| .where('patients', 'array-contains', uid) | |
| .orderBy('date', 'asc')); | |
| combineLatest([general, appointments]).pipe( | |
| map(arr => arr.reduce((acc, cur) => acc.concat(cur))), |
| Material( | |
| elevation: 15, | |
| shadowColor: Colors.black54, | |
| child: Column( | |
| children: <Widget>[ | |
| Container( | |
| decoration: BoxDecoration(color: Colors.white), | |
| child: Row( | |
| mainAxisAlignment: MainAxisAlignment.start, | |
| mainAxisSize: MainAxisSize.max, |