This file contains 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
#load "../.paket/load/net5.0/main.group.fsx" | |
open Fable.React | |
open Nethereum.Web3 | |
printfn "Fable compiled this" | |
let account = Web3.GetAddressFromPrivateKey("3a4f9a5f5350caf50ad4a9c7b87b01d095a70af3d8f6fdb7b314ce0b3b13711f") | |
This file contains 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
#!/usr/bin/env bash | |
# Usage: ./bump_version.sh <major|minor|patch> - Increments the relevant version part by one. | |
# | |
# Usage 2: ./bump_version.sh <version-from> <version-to> | |
# e.g: ./bump_version.sh 1.1.1 2.0 | |
set -e | |
# Define which files to update and the pattern to look for |
This file contains 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
#!/usr/bin/env bash | |
# Usage: ./bump_version.sh <major|minor|patch> - Increments the relevant version part by one. | |
# | |
# Usage 2: ./bump_version.sh <version-from> <version-to> | |
# e.g: ./bump_version.sh 1.1.1 2.0 | |
set -e | |
# Define which files to update and the pattern to look for |
This file contains 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
Func<UnverifiedAccountDetails, Task<VerifiedAccountDetails> | |
Task<VerifiedAccountDetails> VerifyAccount(UnverifiedAccountDetails details); | |
Func<UnverifiedAccountDetails, Task<VerifiedAccountDetails>> | |
public delegate Task<VerifiedAccountDetails> VerifyAccount(UnverifiedAccountDetails details); | |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="Discogs Listings"> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>Discogs</title> | |
<style type="text/css"> | |
.listItem { | |
background-color: #ccc; |
This file contains 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 void Save(Hospital hospital) | |
{ | |
int numberOfRecordsAffected = 0; | |
using (var connection = new SqlConnection(_applicationSettings.ConnectionString)) | |
{ | |
var command = connection.CreateCommand(); | |
command.CommandText = _UpdateSQL; | |
command.Parameters.Add(new SqlParameter("@Id", hospital.Id)); |
This file contains 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; | |
using System.Collections.Generic; | |
namespace Eope.Model.Aegises | |
{ | |
public class AegisType | |
{ | |
private readonly List<AegisType> _aegisTypes = new List<AegisType> | |
{ | |
new AegisType("Συνέδριο"), |
This file contains 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
%% Based on code from | |
%% Erlang Programming | |
%% Francecso Cesarini and Simon Thompson | |
%% O'Reilly, 2008 | |
%% http://oreilly.com/catalog/9780596518189/ | |
%% http://www.erlangprogramming.org/ | |
%% (c) Francesco Cesarini and Simon Thompson | |
-module(frequency). | |
-export([start/0,allocate/0,deallocate/1,stop/0]). |
This file contains 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
-module(index). | |
-export([get_file_contents/1,show_file_contents/1,split/1]). | |
% -------------------------------------------------- | |
% !!! IMPORTANT !!! | |
% -------------------------------------------------- | |
% Haven't finished the "Indexing a file" | |
% JUST broke the lines into words and numbered them. | |
% -------------------------------------------------- |
This file contains 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
-module(index). | |
-export([get_file_contents/1,show_file_contents/1 | |
,split/1 | |
]). | |
% Used to read a file into a list of lines. | |
% Example files available in: | |
% gettysburg-address.txt (short) | |
% dickens-christmas.txt (long) | |
NewerOlder