Bin e padrões para validação de cartão de crédito.
| Bandeira | Começa com | Máximo de número | Máximo de número cvc |
|---|---|---|---|
| Visa | 4 | 13,16 | 3 |
| Mastercard | 5 | 16 | 3 |
| <?xml version="1.0" encoding="utf-8"?> | |
| <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
| <PropertyGroup> | |
| <!-- snip --> | |
| <PackageDir>Package\$(Configuration)</PackageDir> | |
| </PropertyGroup> | |
| <!-- snip --> | |
| <Target Name="AfterBuild"> | |
| <!-- Load up the information from the assembly --> | |
| <GetAssemblyIdentity AssemblyFiles="$(OutputPath)$(AssemblyName).dll"> |
| /// <summary> | |
| /// A <see cref="Lazy"/> object that implements <see cref="IDisposable"/>. | |
| /// </summary> | |
| /// <typeparam name="T"> | |
| /// The object being lazily created. | |
| /// </typeparam> | |
| public class LazyDisposable<T> : Lazy<T>, IDisposable where T: IDisposable | |
| { | |
| /// <summary> |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
|---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
This was taken from http://rxwiki.wikidot.com/101samples, because I wanted to be able to read it more comfortable with syntax highlighting.
Here's the unedited original, translated to Github Markdown glory:
| using UnityEngine; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System; | |
| public class PriorityList<T> : IEnumerable<T> where T : IComparable<T> { | |
| private List<T> data; | |
| public PriorityList() { | |
| this.data = new List<T>(); |
| var jwtPrivateKey = `-----BEGIN RSA PRIVATE KEY----- | |
| ... | |
| -----END RSA PRIVATE KEY-----`; | |
| // Set headers for JWT | |
| var header = { | |
| 'alg': 'RS256', | |
| 'typ': 'JWT' | |
| }; |
| { | |
| "$schema": "https://schema.management.azure.com/schemas/2019-08-01/deploymentTemplate.json#", | |
| "contentVersion": "1.0.0.0", | |
| "parameters": { | |
| "location": { | |
| "defaultValue": "canadacentral", | |
| "type": "String" | |
| }, | |
| "environment_name": { | |
| "defaultValue": "containerapps-env", |
| #!/usr/bin/env python3 | |
| # $ pip install pandas playwright tabulate && python -m playwright install --with-deps webkit | |
| # $ GITHUB_REPOSITORY_OWNER=octocat python playwright_github_stars_lists.py | |
| import asyncio | |
| import os | |
| from contextlib import asynccontextmanager | |
| import pandas as pd | |
| from playwright.async_api import async_playwright | |
| from playwright.async_api._generated import Browser, Locator |