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
| import Web3 | |
| struct ERC20 { | |
| let address: EthereumAddress | |
| let reading: Reading | |
| let writing: Writing | |
| init(contractAddress: EthereumAddress) { |
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
| 0xF0c945ffEa28766B784D9FfB7DC305Fb02C5A9A4 |
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
| import java.util.*; | |
| public class SongBookApp { | |
| /* | |
| Aufgabe: Umgang mit Klassen und Objekten, sowie vorgefertigten Datenstrukturen. | |
| Ergänzen Sie fehlende Teile der Klassen Melody und SongBook entsprechend den Kommentaren | |
| an den mit TODO gekennzeichneten Stellen. | |
| Sonstige Anforderungen: Es sollen keine zusätzlichen Methoden oder Objektvariablen |
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
| source "https://rubygems.org" | |
| gem "whatever" | |
| # Load minitest and red-green | |
| group :minitest do | |
| gem "minitest" | |
| gem "minitest-rg" | |
| end |
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
| require 'sinatra' | |
| get '/long_process' do | |
| child_pid = Process.fork do | |
| # hard work is done here... | |
| sleep 10 | |
| Process.exit | |
| end | |