• Stars
    star
    13
  • Rank 1,512,713 (Top 30 %)
  • Language
    Elixir
  • License
    MIT License
  • Created over 10 years ago
  • Updated about 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A playground for data structures in Elixir

Structurez

A playground for data structures

Treeset

An ordered set wrapping :gb_sets

AgentDict

A dict backed by an Agent. WARNING: This should make you cringe. It's essentially a mutable Dict. Only use this when you need concurrent access. There are a lot of other terrible ways to use it.

TCPClient.stream/1

Streamz.Net.TCPClient.stream/1 accepts a keyword list with :host and :port set. It will connect the the host and port and supports Enumerable and Collectable. This enables a bunch of cool things.

Connecting:

n = TCPClient.stream([host: "localhost", port: 4444])

Reading data:

n |> Enum.each &IO.inspect(&1)

Writing data:

["Hello", "World"] |> Enum.into(n)

Echo Client (writes any data it receives back to the server):

n |> Enum.into(n)

Up Next

There are tons of possibilities. Here's what is on the current radar.

  • TCPServer/1 - A server version of TCPClient
  • UDPClient/1 - A UDP version of TCPClient
  • UDPServer/1 - A server version of UDPClient
  • WebSockets.stream/1 - Bidirection stream for a websocket connection.

More Repositories

1

rethinkdb-elixir

Rethinkdb client in pure elixir (JSON protocol)
Elixir
498
star
2

MongoLiteDB

An embeddable file based Mongo compatible database. Think SQLite for NoSQL.
Ruby
90
star
3

rethinkdb_changefeed

Supervised Changefeeds for RethinkDB and Elixir
Elixir
30
star
4

rethinkdb_ecto

Shim library for using Ecto with RethinkDB. Not a full adapter.
Elixir
24
star
5

streamz

Elixir Streams and Utilities for Streaming.
Elixir
24
star
6

reduce_comprehensions

Reduce comprehensions for Elixir
Elixir
5
star
7

friends-demo

Demo of RethinkDB Elixir Change Feeds
Elixir
5
star
8

flaky_connection

A TCP proxy that allows you to drop connections at will. Useful for testing network libraries.
Elixir
4
star
9

personal_twitter_bot

A twitter bot with a web UI. Built on the REEP stack (RethinkDB Elixir Elm Phoenix).
Elixir
4
star
10

RaphaelBackboneDemo

A quick demo of RapahelBackbone
Ruby
3
star
11

Rails-Jquery-Sass-Haml-Drag-n-Drop-Demo

A demo of how to do drag and drop ajax calls with Rails/Sass/Haml
Ruby
3
star
12

systemex

System monitoring tool written in Elixir
Elixir
2
star
13

artos

A Real Time Operating System for Arduino
Java
2
star
14

RailsTutorial

Rails Tutorial
Ruby
1
star
15

draftex

Script for fantasy football draft
Elixir
1
star
16

Be-Kind

A javascript and rails solution to replaying mouse movements
Ruby
1
star
17

ashes

A Phoenix server for building and packaging Elixir applications
Elixir
1
star
18

Ourtoss

An RTOS written for the 8086. Not currently fit for hardware, but tested in an emulator.
C
1
star
19

MealTracker

A meal tracker that calculates the ingredient cost on a per meal basis
Python
1
star
20

sharpened_saw

A collection of elixir exercises for learning functional programming
Elixir
1
star
21

Contraction-Timer

A simple CLI timer for pregency contractions.
Python
1
star