Skip to content

Instantly share code, notes, and snippets.

View scarmuega's full-sized avatar

Santiago Carmuega scarmuega

View GitHub Profile
@scarmuega
scarmuega / gist:1501587
Created December 20, 2011 13:35
Execute PowerShell cmdlet from C#
// First create a runspace
// You really only need to do this once. Each pipeline you create can run in this runspace.
RunspaceConfiguration psConfig = RunspaceConfiguration.Create();
var psRunspace = RunspaceFactory.CreateRunspace(psConfig);
psRunspace.Open();
// Now create a pipeline for the current cmdlet invocation
using ( Pipeline psPipeline = psRunspace.CreatePipeline() )
{
// Define the command to be executed in this pipeline
@scarmuega
scarmuega / 0_reuse_code.js
Created May 1, 2014 15:14
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@scarmuega
scarmuega / contract.json
Created June 8, 2022 01:46
CIP-057 - On-Chain Script Blueprint - Script Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$id": "https://raw.githubusercontent.com/cardano-foundation/CIPs/master/CIP-0057/v1/schemas/script",
"type": "object",
"$defs": {
"uriReferenceString": {
"type": "string",
"format": "uri-reference"
},
"blueprintInfo": {
@scarmuega
scarmuega / README.md
Last active August 26, 2023 20:58
Workshop Cryptopall - Programación Simplificada de Smart Contracts

Programación Simplificada de Smart Contracts

Para crear un entorno de trabajao comenzar por Demeter.run

El repositorio git para clonar es Marlowe Starter Kit

Los slides del workshop se encuentran disponibles aqui

Recursos Extra Marlowe