Skip to content

Instantly share code, notes, and snippets.

View jpizarrom's full-sized avatar

Juan Pizarro jpizarrom

View GitHub Profile
@jpizarrom
jpizarrom / bson2rec.py
Last active October 25, 2017 07:17
python bson2rec.py --num-thread 16 --quality 100 /mnt/batch/tasks/shared/data/train-all /mnt/batch/tasks/shared/data/train.bson
# coding: utf-8
# https://github.com/fchollet/keras/blob/master/tests/keras/utils/data_utils_test.py
# In[ ]:
import mxnet as mx
import os
@jpizarrom
jpizarrom / generate_df_lambda_package.sh
Created July 1, 2017 03:34 — forked from profjsb/generate_df_lambda_package.sh
Serverless Distributed Decision Forests with AWS Lambda
# build the environment ... this will take awhile
docker run -v $(pwd):/outputs -it amazonlinux:2016.09 /bin/bash /outputs/build.sh
# should end with something like "venv compressed size 51M"
# unpackage that environment
unzip venv.zip -d ve_package/
import unittest
import sys
class Board():
def __init__(self, x, y, o):
self.x = x
self.y = y
self.o = o
def get_position(self):
/**************************************************************************************************
* Filename: RemoTI_RNP_SPI_BBB.cfg
* Revised: $Date: 2012-03-21 17:37:33 -0700 (Wed, 21 Mar 2012) $
* Revision: $Revision: 246 $
*
* Description: This file contains Linux platform specific RemoTI (RTI) RNP
* Hardware configuration. Modify this file to adapt to your
* own system. This file also choose what serial interface to
* use; I2C, SPI or UART
*
@jpizarrom
jpizarrom / designer.html
Last active August 29, 2015 14:06
designer
<link href="../core-scaffold/core-scaffold.html" rel="import">
<link href="../core-header-panel/core-header-panel.html" rel="import">
<link href="../core-menu/core-menu.html" rel="import">
<link href="../core-item/core-item.html" rel="import">
<link href="../core-icon-button/core-icon-button.html" rel="import">
<link href="../core-toolbar/core-toolbar.html" rel="import">
<link href="../core-menu/core-submenu.html" rel="import">
<polymer-element name="my-element">
@jpizarrom
jpizarrom / designer.html
Last active August 29, 2015 14:05
designer
<link href="../core-scaffold/core-scaffold.html" rel="import">
<link href="../core-header-panel/core-header-panel.html" rel="import">
<link href="../core-menu/core-menu.html" rel="import">
<link href="../core-item/core-item.html" rel="import">
<link href="../core-icon-button/core-icon-button.html" rel="import">
<link href="../core-toolbar/core-toolbar.html" rel="import">
<link href="../core-field/core-field.html" rel="import">
<link href="../core-icon/core-icon.html" rel="import">
<link href="../core-input/core-input.html" rel="import">
<link href="../core-icons/core-icons.html" rel="import">
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../paper-toast/paper-toast.html">
<link rel="import" href="../cool-clock/cool-clock.html">
<link rel="import" href="../google-map/google-map-directions.html">
<link rel="import" href="../components/polymer/polymer.html">
<link rel="import" href="http://www.polymer-project.org/components/core-ajax/core-ajax.html">
<polymer-element name="my-element">
<core-ajax auto url="http://gdata.youtube.com/feeds/api/videos/"
params='{"alt":"json", "q":"chrome"}'
handleAs="json"></core-ajax>
<template repeat="{{response.feed.entry}}">
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-field/core-field.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../core-icons/core-icons.html">
diff --git a/drivers/net/ieee802154/Kconfig b/drivers/net/ieee802154/Kconfig
index 08ae465..c982fa8 100644
--- a/drivers/net/ieee802154/Kconfig
+++ b/drivers/net/ieee802154/Kconfig
@@ -45,3 +45,7 @@ config IEEE802154_MRF24J40
This driver can also be built as a module. To do so, say M here.
the module will be called 'mrf24j40'.
+
+config IEEE802154_SERIAL