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
| # Eliminar ultimo commit remoto local | |
| git reset --hard HEAD^ | |
| # Actualizar código sin el ultimo commit | |
| git push origin -f | |
| # Estos comandos deben de ejecutarse de forma independiente |
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
| public bool EnviarTodo(string llavePrivada, string destino, string mensaje) | |
| { | |
| Key privateKey = Key.Parse(llavePrivada); | |
| BitcoinSecret bitcoinPrivateKey = new BitcoinSecret(llavePrivada); | |
| BitcoinAddress address = bitcoinPrivateKey.GetAddress(ScriptPubKeyType.Legacy); | |
| QBitNinjaClient client = new QBitNinjaClient(Network.Main); | |
| uint256 transactionId = uint256.Parse("42119368712db98a8fb75763fd9158848dc37ff5b180413e30a5063113b4aaa1"); | |
| GetTransactionResponse transactionResponse = client.GetTransaction(transactionId).Result; | |
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
| // Leonardo Chuello - [email protected] | |
| using MailKit.Net.Smtp; | |
| using MailKit.Security; | |
| using MimeKit; | |
| namespace Test | |
| { | |
| public class Email | |
| { |
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
| .crop-image { | |
| display: block; | |
| height: 300px; | |
| width: 100%; | |
| img { | |
| object-fit: contain; | |
| height: 100%; | |
| width: 100%; | |
| object-position: center; | |
| } |
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
| { | |
| "CartaDinagrafica": { | |
| "SurfaceCardPosition": [ | |
| 0.063974, | |
| 0.221548, | |
| 0.40837, | |
| 0.575877, | |
| 0.75933, | |
| 0.942007, | |
| 1.125695, |
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
| curl --location --request POST 'https://dpsos.entecprois.com/api/v1/cartadinagrafica/' \ | |
| --header 'Content-Type: application/json' \ | |
| --data-raw '{ | |
| "CartaDinagrafica": { | |
| "SurfaceCardPosition": [ | |
| 0.091543, | |
| 0.271862, | |
| 0.578872, | |
| 0.90781, | |
| 1.236326, |
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
| // Parametro | |
| string parametro = "ljchuello"; | |
| // CLiente | |
| AmazonLambdaClient lambdaClient = new AmazonLambdaClient("AccesKey", "SecretKey", RegionEndpoint.USEast1); | |
| // Contecto | |
| InvokeRequest invokeRequest = new InvokeRequest | |
| { | |
| FunctionName = "Test_Lambda", |
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.Diagnostics; | |
| namespace Prueba | |
| { | |
| internal class Program | |
| { | |
| public class MemoryMetrics | |
| { | |
| public double Total; | |
| public double Used; |
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.Diagnostics; | |
| using System.Net.NetworkInformation; | |
| namespace Prueba | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { |
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
| wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh | |
| chmod +x ./dotnet-install.sh | |
| ./dotnet-install.sh --channel LTS | |
| export DOTNET_ROOT=$HOME/.dotnet | |
| export PATH=$PATH:$HOME/.dotnet:$HOME/.dotnet/tools |
OlderNewer