VUETIFY do not suport decimal places
Using as base vue-jquery-mask
Dependencies => Jquery and jquery-mask-plugin
VUETIFY do not suport decimal places
Using as base vue-jquery-mask
Dependencies => Jquery and jquery-mask-plugin
| Regex.Replace("SELECT X WHERE X = 1 ORDER BY B", "(order by .*)", string.Empty, RegexOptions.IgnoreCase) |
| public object[] OldValues(object entity) | |
| { | |
| ISessionImplementor sessionImpl = session.GetSessionImplementation(); | |
| IPersistenceContext persistenceContext = sessionImpl.PersistenceContext; | |
| EntityEntry oldEntry = persistenceContext.GetEntry(entity); | |
| string className = oldEntry.EntityName; |
| var xml = XDocument.Load(new XmlNodeReader(...)); | |
| byte[] bytes = null; | |
| using (var ms = new MemoryStream()) | |
| { | |
| xml.Save(ms); | |
| ms.Position = 0; | |
| bytes = ms.ToArray(); | |
| } |
| <div id="app"> | |
| <v-app id="inspire"> | |
| <v-card> | |
| <div class="container-fluid"> | |
| <div class="row"> | |
| <v-flex class="col-xs-12 col-md-6"> | |
| <v-form ref="form" lazy-validation> | |
| <v-text-field :value="salarioBruto" @change="value => salarioBruto = value" | |
| label="Salário bruto" required outline :rules="salarioRules" |
| ///REF=>https://github.com/aspnet/AspNetWebOptimization/blob/master/src/System.Web.Optimization/CssMinify.cs | |
| ///Install-Package NUglify -Version 1.5.12 | |
| public class CustomBundle : Bundle | |
| { | |
| public CustomBundle(string virtualPath) : base(virtualPath, new MyCssMinify()) | |
| { | |
| } | |
| public CustomBundle(string virtualPath, string cdnPath) : base(virtualPath, cdnPath, new MyCssMinify()) |
| static void Main(string[] args) | |
| { | |
| var a = "TESTE :P0 :P1 :P12 :P13 :P2 :P21"; | |
| var matches = Regex.Matches(a, ":P[0-9]+($|\\s)"); | |
| foreach (var match in matches) | |
| { | |
| a = a.Replace(match.ToString(), "'PPPP' "); |
| const { schema } = normalizr; | |
| const A = new schema.Entity( | |
| "A", | |
| {}, | |
| { | |
| idAttribute: (entity, parent) => entity.IdColeta | |
| } | |
| ); | |
| const B = new schema.Entity( |
| [AssertThat("IsCPF(Cpf)", ErrorMessage = "CPF inválido.")] | |
| [AssertThat("IsCNPJ(Cnpj)", ErrorMessage = "CNPJ inválido.")] | |
| public bool EhCnpj(string cnpj) | |
| { | |
| return VO.Brasil.Documentos.Cnpj.EhValido(cnpj); | |
| } | |
| public bool EhCpf(string cpf) | |
| { |
| namespace ModelosMarcas | |
| { | |
| using Newtonsoft.Json; | |
| using System; | |
| using System.Collections.Generic; | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { |