Skip to content

Instantly share code, notes, and snippets.

View hexagon6's full-sized avatar

hexagon6

View GitHub Profile
@hexagon6
hexagon6 / collatz.rs
Last active August 7, 2021 14:59 — forked from rust-play/playground.rs
recursive collatz in rust
fn collatz(num: i64, list: &mut Vec<i64>) {
let exists: bool = list.contains(&num);
match exists {
true => {}
false => {
list.push(num);
let even: bool = num % 2 == 0;
match even {
true => collatz(num / 2, list),
false => collatz(3 * num + 1, list),
@hexagon6
hexagon6 / hackathon_how_to.md
Created October 3, 2018 09:00 — forked from sergmetelin/hackathon_how_to.md
Hackathon Getting Started guide

Important Note before you start

As the EOSIO V1.3 was released this week we strongly do not recommend to use it for the hackathon. Please use EOSIO V1.2.5 to build your applications. To setup your EOSIO Developer Portal for correct version for the event, please click the following link: https://developers.eos.io/eosio-nodeos/v1.2.0/docs/?hackathon It will setup a special cookie in your browser making some modifications to the Developer Portal to make it suitable to work with EOSIO V1.2.5. If you done everything right, you will see an "#eoshackathon" label under the Developer Portal logo: logo.png

About EOSIO

The EOS.IO software introduces a new blockchain architecture designed to enable vertical and horizontal scaling of decentralized applications. This is achieved by creating an operating system-like construct upon which applications can be built. The software prov