Snippets of the day – Thursday, October 09, 2014

Posted on Posted in Snippets

orange-multi-toolHere are some of the most recently published snippets!

field base sample array

Drupal 7 programmatically-added field base array

Open the snippet

Author: bertelsen.kyle

map, reduce, flter….. MY WAY

funky functions that operate iteratively against an array or something similar

Open the snippet

Author: sTiLL-iLL

Java: read from USB using RXTX library

This is a well-tested class to read from USB device using RXTX library. First of all place (or rxtxSerial.dll) in the classpath. The received bytes are stored in a queue called “receivedBytes”. This queue is filled by the serialEvent() callback called by RXTX framework. Users of this class should retrieve the ready data from “receivedBytes” queue.

Open the snippet

Author: cghersi

Leave a Reply

Your email address will not be published. Required fields are marked *