I hereby claim:
- I am akamud on github.
- I am akamud (https://keybase.io/akamud) on keybase.
- I have a public key ASAD_Afzhz3Z7R0j1SSfF7BZuidUaGaAt6TMCoiX3jEAPwo
To claim this, I am signing this object:
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| var listaGrande = Enumerable.Range(1, 100); | |
| foreach (var lote in listaGrande.Chunk(10)) | |
| { | |
| // Cada lote aqui tem no máximo 10 itens | |
| Acao(lote.ToList()); | |
| } |
| using System; | |
| namespace Projeto | |
| { | |
| public class MinhaClasse | |
| { | |
| private Random _random; | |
| public MinhaClasse() | |
| { |
| public class EndiannessAwareBinaryReader : BinaryReader | |
| { | |
| public enum Endianness | |
| { | |
| Little, | |
| Big, | |
| } | |
| private readonly Endianness _endianness = Endianness.Little; |
| /** GET **/ | |
| // Jeito antigo | |
| public async Task<Usuário> ObterUsuário(string uri) | |
| => JsonConvert.DeserializeObject<Usuário>(await httpClient.GetStringAsync(uri)); | |
| // Com System.Net.Http.Json | |
| public async Task<Usuário> ObterUsuário(string uri) | |
| => await httpClient.GetFromJsonAsync<Usuário>(uri); | |
| /** POST **/ |
| # copy the replace-everything.ps1 to the folder | |
| # run | |
| .\replace-everything.ps1 -Folder . -FilePattern *.cs -TextToChange "from" -NewText "To" |
| Livro | Autor | |
|---|---|---|
| Mastering Vim Quickly | Jovica Ilic | |
| Domain-Driven Design: Tackling Complexity in the Heart of Software | Eric Evans | |
| Building Microservices | Sam Newman | |
| Cracking the Coding Interview | Gayle Laakmann McDowell | |
| Art of Scalability: Scalable Web Architecture, Processes, and Organizations for the Modern Enterprise | Martin L. Abbott, Michael T. Fisher | |
| Building Microservices with ASP.NET Core: Develop, Test, and Deploy Cross-Platform Services in the Cloud | Kevin Hoffman | |
| Kotlin in Action | Dmitry Jemerov, Svetlana Isakova | |
| xUnit Test Patterns: Refactoring Test Code | Gerard Meszaros | |
| Reactive Design Patterns | Roland Kuhn Dr., Brian Hanafee, Jamie Allen |
| open "`xcrun simctl get_app_container booted com.company.yourapp data`" |
| set clipboard=unnamed | |
| imap jj <ESC> | |
| nnoremap <Leader>s :%s/\<<C-r><C-w>\>/ | |
| nnoremap <Leader>a :noh<CR> | |
| nnoremap <Leader>c *Nciw | |
| nnoremap <Leader>f :/\%<c-r>=line('.')<cr>l | |
| nnoremap <CR> o<ESC> |
| public static class ColorExtensions | |
| { | |
| public static UIColor ToCorrectUIColor(this Color color) | |
| { | |
| return new UIColor(new CGColor(CGColorSpace.CreateSrgb(), new nfloat[] { (float)color.R, (float)color.G, (float)color.B, (float)color.A })); | |
| } | |
| public static CGColor ToCorrectCGColor(this Color color) | |
| { | |
| return new CGColor(CGColorSpace.CreateSrgb(), new nfloat[] { (float)color.R, (float)color.G, (float)color.B, (float)color.A }); |
I hereby claim:
To claim this, I am signing this object: