This file contains hidden or 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
| # install ubuntu in virtual machine | |
| # https://ubuntuforums.org/showthread.php?t=1481300 | |
| # Get arch type of ubuntu | |
| # i686 = 32 bit | |
| # x86_64 = 64 bit | |
| uname -m | |
| # download forticlient | |
| https://hadler.me/linux/forticlient-sslvpn-deb-packages |
This file contains hidden or 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
| \[Column\(\"(.+)\".+\"(.+)\"\)\]\n.+public.+\s(.+)\s\{.+\} | |
| modelBuilder.Property(e => e.$3)\n .HasColumnName("$1")\n .HasColumnType("$2"); |
This file contains hidden or 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; | |
| namespace PorExtenso | |
| { | |
| public class Program { | |
| public static void Main(){ | |
| decimal x = 10011.56m; | |
| Console.WriteLine(x.PorExtenso()); |
This file contains hidden or 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
| int size = 100000; | |
| long start; | |
| List<string> list = new List<string>(size); | |
| for(var i = 0; i < size; i++) | |
| list.Add($"string_{i}"); | |
| Console.WriteLine("Aggregate string:"); | |
| start = DateTime.Now.Ticks; |
This file contains hidden or 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
| -- Busca por nome de objeto | |
| SELECT | |
| cast( | |
| O.NAME as varchar | |
| ) AS NOME_OBJETO, | |
| cast( | |
| O.type_desc as varchar | |
| ) AS TIPO_OBJETO | |
| FROM | |
| SYS.OBJECTS O |
This file contains hidden or 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
| # pattern1 | |
| HasColumnType\("(.+)\(([0-9]+)\)"\) | |
| HasColumnType("$1").HasMaxLength($2) | |
| # pattern2 | |
| HasColumnType\("(.+)\(([0-9]+)\,\s*([0-9]+)\)"\) | |
| HasColumnType("$1").HasPrecision($2, $3) | |
| # pattern3 | |
| HasColumnType\("(.+)\(\,\s*([0-9]+)\)"\) | |
| HasColumnType("$1").HasPrecision(38, $2) |
This file contains hidden or 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
| dotnet publish -p:VersionPrefix=1.8.4 -p:VersionSuffix=rc1 -c Release -o staging/ Poc.IdentityServer.ApiA.csproj |
This file contains hidden or 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
| git log --pretty=format:" * [%h](https://gitlab.com/$(git remote get-url origin | sed -r 's/.*\:(.*)\.git.*/\1/')/commit/%h) %s" ^v1.0.2-rc1 HEAD |
This file contains hidden or 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
| jQuery._data( document.getElementById('btnPesquisaPickListGrid'), "events" ); |
This file contains hidden or 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
| xmllint --schema xsd/ACCC406.xsd ACCC406_92874270_20200331_00004.xml --noout |