Skip to content

Instantly share code, notes, and snippets.

View daksis's full-sized avatar

R daksis

View GitHub Profile
@daksis
daksis / ble.md
Created May 27, 2020 13:55 — forked from fhunleth/ble.md
Bluetooth with Nerves notes

This is a braindump of my progress over the weekend to look into Bluetooth support on Nerves. While Bluetooth has a lot of specs, supporting a subset of BLE that makes it easy for Nerves devices to communicate with cell phones and back would be generally useful.

There are two options for BLE support on Nerves:

  1. Make a custom Nerves system that uses bluez
  2. Use Harald

bluez is a fairly complete stack that doesn't integrate well with Nerves and is hard to debug when things go wrong.

Keybase proof

I hereby claim:

  • I am daksis on github.
  • I am daksis (https://keybase.io/daksis) on keybase.
  • I have a public key whose fingerprint is 5AB1 38C2 C149 1B86 29D8 A67C 3982 2152 8424 86D0

To claim this, I am signing this object:

@daksis
daksis / complex_map_matching.md
Last active April 9, 2018 13:11
Elixir: matching on deeply nested maps

How do we deal with complex structures when we want to assign items at different levels inside the structure? (Lets skip if this muddies the intent of the code or not and just deal with how it can be done ;) )

# Build up a map
m = %{ r: %{foo: "foo", bar: "bar", baz: %{qux: "qiz wiz"}}}
@daksis
daksis / hitchhikers-guide-to-machine-learning.md
Created September 15, 2017 20:48
Hitchhikers Guide to Machine Learning Resources

Hitchhikers Guide to Machine Learning Resources

Reference Sources

  1. Project Rhea — online learning community where students teach other students. The tutorials here vary in detail and quality. Generally they are more that a definition at mathworld, less than a step by step. Good for getting the highlights on an unfamiliar topic
  2. Wolfram Mathworld — Like wikipedia, but only for Math. Go here when you have no idea what an "Isotopic Kernel is or why you would care. Mathworld will give you 80+ entries that are linked.
  3. Wikipedia Math Portal — the place to find everything math related on Wikipedia.

Math References

@daksis
daksis / AirportWhisky
Created October 21, 2011 21:19
Airport Whisky Lists
Most Duty free bottles are 1L in size - plan accordingly :)
Further more there are a few that are only sold in Duty Free:
Highland Park 16 Year (Airport Only)
Laphroaig Tripple Wood 1L (Mostly Airport in 1L)
Johnny Walker Double Black (Airport only)
Ardbeg's that are hard to find in the US
@daksis
daksis / Raw Links
Created June 17, 2011 15:04
Bayesian Network Resources
.../inception (127)%make
gcc -g -Wall -m32 -c -o inception.o inception.c
gcc -g -Wall -m32 -g -o inception inception.o -lpthread
~/tmp/inception %./inception
Dreamer [Fischer], level [1], priority [19], policy [OTHER]
Dreamer [Cobb], level [1], priority [19], policy [OTHER]
Dreamer [Ariadne], level [1], priority [19], policy [OTHER]
Dreamer [Arthur], level [1], priority [19], policy [OTHER]
Dreamer [Eames], level [1], priority [19], policy [OTHER]
Dreamer [Yusuf], level [1], priority [19], policy [OTHER]
Getting Started with R.
I'll update this as I keep adding information.
Just to play around with R. There's a great PDF built into the environment
Download R: http://www.r-project.org/ Install the R Package
Once you fire up the R Shell (installed in /Applications by default)